From 5eb9b62d32d371674b7977c347e8daebbcdcda5f Mon Sep 17 00:00:00 2001 From: chenqi Date: Wed, 17 Jun 2026 15:23:22 +0800 Subject: [PATCH] =?UTF-8?q?fix(medicine):=20=E7=A7=BB=E9=99=A4=E6=9C=AA?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E7=9A=84=E5=93=8D=E5=BA=94=E5=BC=8F=E5=8F=98?= =?UTF-8?q?=E9=87=8F=E5=B9=B6=E4=BF=AE=E5=A4=8D=E4=BC=9A=E8=AF=8A=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 移除了 medicineDialog.vue 中未使用的 supplierListOptions、statusRestrictedOptions、 partAttributeEnumOptions 和 tempOrderSplitPropertyOptions 响应式变量 - 修复了 consultationconfirmation/index.vue 中加载会诊意见时缺少 consultationId 验证的问题 - 防止在会诊 ID 不存在时尝试加载会诊意见导致的潜在错误 --- .../src/views/catalog/medicine/components/medicineDialog.vue | 4 ---- .../consultationmanagement/consultationconfirmation/index.vue | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/healthlink-his-ui/src/views/catalog/medicine/components/medicineDialog.vue b/healthlink-his-ui/src/views/catalog/medicine/components/medicineDialog.vue index 2ef011fd6..600c808f8 100755 --- a/healthlink-his-ui/src/views/catalog/medicine/components/medicineDialog.vue +++ b/healthlink-his-ui/src/views/catalog/medicine/components/medicineDialog.vue @@ -1020,10 +1020,6 @@ const statusFlagOptions = ref(undefined); const domainEnumOptions = ref(undefined); const deptOptions = ref(undefined); // 部门树选项 const locationOptions = ref(undefined); // 地点树选项 -const supplierListOptions = ref(undefined); // 供应商列表选项 -const statusRestrictedOptions = ref(undefined); // 权限级别选项 -const partAttributeEnumOptions = ref(undefined); // 部位属性选项 -const tempOrderSplitPropertyOptions = ref(undefined); // 临时订单拆分属性选项 const activeName = ref('basic'); const data = reactive({ form: {}, diff --git a/healthlink-his-ui/src/views/consultationmanagement/consultationconfirmation/index.vue b/healthlink-his-ui/src/views/consultationmanagement/consultationconfirmation/index.vue index d4ffa4e20..6bfd1fdd8 100755 --- a/healthlink-his-ui/src/views/consultationmanagement/consultationconfirmation/index.vue +++ b/healthlink-his-ui/src/views/consultationmanagement/consultationconfirmation/index.vue @@ -554,7 +554,7 @@ const handleRowChange = async (row) => { currentRow.value = row // 先加载会诊意见列表 - if (row) { + if (row && row.consultationId) { await loadConsultationOpinions(row.consultationId) } else { opinionList.value = []