|
@@ -3,6 +3,24 @@
|
|
|
<template #header>
|
|
|
<div style="padding: 6px 4px; background-color: white; border-radius: 4px">
|
|
|
<CyDateRange/>
|
|
|
+ <el-select
|
|
|
+ v-model="auditInquiryRequest.deptList"
|
|
|
+ placeholder="出院科室"
|
|
|
+ multiple
|
|
|
+ collapse-tags
|
|
|
+ collapse-tags-tooltip
|
|
|
+ filterable
|
|
|
+ clearable
|
|
|
+ style="width: 200px"
|
|
|
+ @change="handleStateChanged"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in allSmallDept"
|
|
|
+ :key="item.code"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.code"
|
|
|
+ />
|
|
|
+ </el-select>
|
|
|
<el-select
|
|
|
v-model="auditInquiryRequest.state"
|
|
|
@change="handleStateChanged"
|
|
@@ -33,7 +51,7 @@
|
|
|
<CyVxeTable>
|
|
|
<VxeColumn title="姓名" width="80">
|
|
|
<template #default="{row}">
|
|
|
- <img :src="row.patGender === 'MALE' ? maleIcon : femaleIcon" class="sex-icon"/>
|
|
|
+ <img :src="row.patGender === 'MALE' ? maleIcon : femaleIcon" class="sex-icon" alt=""/>
|
|
|
{{ row.patName }}
|
|
|
</template>
|
|
|
</VxeColumn>
|
|
@@ -45,7 +63,7 @@
|
|
|
</VxeColumn>
|
|
|
<VxeColumn title="医生" field="doctorName" width="70"></VxeColumn>
|
|
|
<VxeColumn title="申请时间" field="applicationTime" width="135"></VxeColumn>
|
|
|
- <VxeColumn v-if="auditInquiryRequest.state !== 'INITIAL' " width="50">
|
|
|
+ <VxeColumn width="50">
|
|
|
<template #default="{row}">
|
|
|
<el-button
|
|
|
icon="Clock"
|
|
@@ -103,6 +121,7 @@ import {
|
|
|
fetchQualityVerifications,
|
|
|
getAllDictionary,
|
|
|
getSheetInfo,
|
|
|
+ getAllSmallDept
|
|
|
} from '@/api/case-front-sheet'
|
|
|
import maleIcon from '@/assets/male-icon.png'
|
|
|
import femaleIcon from '@/assets/female-icon.png'
|
|
@@ -126,7 +145,11 @@ const userName = store.state.user.info.name
|
|
|
const tableHeight = windowSize.h
|
|
|
|
|
|
const {CyDateRange, dateRange} = useDateRange({shortcutsIndex: 1, clearable: false})
|
|
|
+
|
|
|
+const allSmallDept = ref([])
|
|
|
+
|
|
|
const auditInquiryRequest = reactive({
|
|
|
+ deptList: [],
|
|
|
state: 'INITIAL',
|
|
|
patNo: ''
|
|
|
})
|
|
@@ -142,7 +165,8 @@ const {CyVxeTable, querySearch} = useVxeTable<{
|
|
|
start: dateRange.value.start,
|
|
|
end: dateRange.value.end,
|
|
|
state: auditInquiryRequest.state,
|
|
|
- patNo: auditInquiryRequest.patNo
|
|
|
+ patNo: auditInquiryRequest.patNo,
|
|
|
+ deptList: auditInquiryRequest.deptList
|
|
|
}),
|
|
|
tableProps: {
|
|
|
onCellClick: ({row}) => {
|
|
@@ -263,6 +287,9 @@ function viewAuditHistory(row) {
|
|
|
}
|
|
|
|
|
|
onMounted(() => {
|
|
|
+ getAllSmallDept().then(res=> {
|
|
|
+ allSmallDept.value = res
|
|
|
+ })
|
|
|
getAllDictionary().then((res) => {
|
|
|
res.getOperations = operations
|
|
|
res.getYesOrNo = yesOrNo
|