From 9bd5caaa1ba75c3d28dae55f8c5e8a7a174d8e6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=89=E7=8B=BB=E7=8C=8A?= Date: Tue, 27 Jan 2026 18:41:29 +0800 Subject: [PATCH] =?UTF-8?q?Fix=20=E4=BD=8F=E9=99=A2=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E7=AB=99=E4=B8=AD=EF=BC=8C=E4=BD=8F=E9=99=A2=E7=97=85=E5=8E=86?= =?UTF-8?q?=E7=9A=84=E5=85=A5=E9=99=A2=E8=AE=B0=E5=BD=95=E4=B8=8D=E5=90=BB?= =?UTF-8?q?=E5=90=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inpatientDoctor/home/emr/components/history.vue | 2 +- .../src/views/inpatientDoctor/home/emr/index.vue | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/components/history.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/components/history.vue index 97ee519f..d636913e 100644 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/components/history.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/components/history.vue @@ -103,7 +103,7 @@ const handleDelete = async (item) => { await deleteRecord([item.id]); ElMessage.success('删除成功'); - queryList(); + await queryList(); } catch (error) { ElMessage.error('删除失败'); } diff --git a/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/index.vue b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/index.vue index cda79d62..1f558900 100644 --- a/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/index.vue +++ b/openhis-ui-vue3/src/views/inpatientDoctor/home/emr/index.vue @@ -560,12 +560,12 @@ const loadLatestMedicalRecord = async () => { loading.value = true; try { // 获取患者的历史病历记录 - const res = await getRecordByEncounterIdList({ - isPage: 0, - encounterId: patientInfo.value.encounterId, - patientId: patientInfo.value.patientId, - definitionId: currentSelectTemplate.value.id, - }); + // const res = await getRecordByEncounterIdList({ + // isPage: 0, + // encounterId: patientInfo.value.encounterId, + // patientId: patientInfo.value.patientId, + // definitionId: currentSelectTemplate.value.id, + // }); const historyRecords = res.data || []; if (historyRecords.length > 0) {