From ba31371b6f9282cbd0a5e7b3331eeecbdbc7a432 Mon Sep 17 00:00:00 2001 From: HuangShun <148689675+huabuweixin@users.noreply.github.com> Date: Wed, 28 Jan 2026 09:38:00 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D124=20=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E7=AE=A1=E7=90=86-=E3=80=8B=E4=B8=9A=E5=8A=A1=E8=A7=84?= =?UTF-8?q?=E5=88=99=E9=85=8D=E7=BD=AE-=E3=80=8B=E6=89=A7=E8=A1=8C?= =?UTF-8?q?=E7=A7=91=E5=AE=A4=E9=85=8D=E7=BD=AE=EF=BC=9A=E9=A1=B9=E7=9B=AE?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E6=98=BE=E7=A4=BA=E6=95=B0=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/basicmanage/implementDepartment/index.vue | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/openhis-ui-vue3/src/views/basicmanage/implementDepartment/index.vue b/openhis-ui-vue3/src/views/basicmanage/implementDepartment/index.vue index aa16cfa1..60881b37 100644 --- a/openhis-ui-vue3/src/views/basicmanage/implementDepartment/index.vue +++ b/openhis-ui-vue3/src/views/basicmanage/implementDepartment/index.vue @@ -225,7 +225,15 @@ function getList() { loading.value = true; getDiagnosisTreatmentList(queryParams.value).then((res) => { loading.value = false; - catagoryList.value = res.data.records; + catagoryList.value = res.data.records.map(record => { + // 为每一行初始化 filteredOptions,确保显示框能正确显示项目名称 + const filteredOptions = allImplementDepartmentList.value.slice(0, 100); + return { + ...record, + loading: false, + filteredOptions: filteredOptions + }; + }); total.value = res.data.total; }); }