diff --git a/openhis-ui-vue3/src/views/doctorstation/index.vue b/openhis-ui-vue3/src/views/doctorstation/index.vue index a3ae3866..0ed248c2 100644 --- a/openhis-ui-vue3/src/views/doctorstation/index.vue +++ b/openhis-ui-vue3/src/views/doctorstation/index.vue @@ -415,9 +415,7 @@ function handleCardClick(item, index) { }); patientInfo.value = item; - // 检查患者历史记录以确定初诊/复诊 - checkPatientHistory(item); - // 直接使用数据库中保存的初复诊值,而不是重新判断 + // 优先使用数据库中保存的初复诊值 if (item.visitType) { visitType.value = item.visitType; // 已完诊的记录禁用修改 @@ -427,7 +425,7 @@ function handleCardClick(item, index) { firstVisitDate.value = item.firstVisitDate; } } else { - // 对于没有初复诊记录的患者,仍使用原有的判断逻辑 + // 对于没有初复诊记录的患者,才使用原有的判断逻辑 checkPatientHistory(item); } activeTab.value = 'emr';