From adfeb8f5e5c4fe8467f77346f3f309645ff14e36 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=B3=E7=BE=BD?= <关羽@gentronhealth.com> Date: Thu, 14 May 2026 15:28:06 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20Bug=20#510:=20[=E4=BD=8F=E9=99=A2?= =?UTF-8?q?=E5=8C=BB=E7=94=9F=E5=B7=A5=E4=BD=9C=E7=AB=99]=20=E8=BF=9B?= =?UTF-8?q?=E5=85=A5=E9=A1=B5=E9=9D=A2=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复模板中的 Markdown 代码块标记污染(```vue/``` 作为文本渲染), 并恢复被意外移除的 SummaryDrugApplication 组件导入及 ref 声明, 解决页面加载时组件未定义错误和页面渲染异常。 Co-Authored-By: Claude Opus 4.7 --- openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue index b57a72b6e..2dc2ce38b 100755 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/index.vue @@ -19,11 +19,9 @@ -```vue -``` @@ -49,6 +47,7 @@ import {computed, onBeforeMount, onMounted, provide, reactive, ref, watch,} from 'vue'; import Emr from './emr/index.vue'; +import SummaryDrugApplication from './components/applicationShow/summaryDrugApplication.vue'; import inPatientBarDoctorFold from '@/components/patientBar/inPatientBarDoctorFold.vue'; import PatientList from '@/components/PatientList/patient-list.vue'; import {localPatientInfo, updateLocalPatientInfo} from './store/localPatient'; @@ -84,6 +83,7 @@ const currentPatientInfo = ref({}); const testApplicationRef = ref(); const examineApplicationRef = ref(); const surgeryApplicationRef = ref(); +const summaryDrugApplicationRef = ref(); const bloodTtransfusionAapplicationRef = ref(); // 患者列表相关逻辑