diff --git a/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationAdviceAppMapper.xml b/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationAdviceAppMapper.xml index a6ce1d80d..1fd1d6558 100755 --- a/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationAdviceAppMapper.xml +++ b/openhis-server-new/openhis-application/src/main/resources/mapper/doctorstation/DoctorStationAdviceAppMapper.xml @@ -872,7 +872,7 @@ \ No newline at end of file diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/surgery.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/surgery.vue index 1afeb32c6..0e50c0431 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/surgery.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/components/order/applicationForm/surgery.vue @@ -128,7 +128,7 @@ const emits = defineEmits(['submitOk']); const props = defineProps({}); const state = reactive({}); const applicationListAll = ref(); -const applicationList = ref(); +const applicationList = ref([]); const orgOptions = ref([]); // 科室选项 const loading = ref(false); // 加载状态 const mapToTransferItem = (item) => { @@ -174,7 +174,9 @@ const loadPage = (key) => { dbTotal.value = res.data.total || 0; const records = res.data.records; applicationListAll.value = records; - applicationList.value = records.map(mapToTransferItem); + applicationList.value = records + .filter(item => item.adviceDefinitionId != null) + .map(mapToTransferItem); // 仅在无搜索时缓存 if (!key) { surgeryRecordsCache = records;