From 89862878b58cc3261919907f6364f4231f5116f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E9=94=A6=E6=B6=9B?= <26050301730@qq.com> Date: Tue, 18 Nov 2025 17:23:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=80=97=E6=9D=90=E7=9B=AE?= =?UTF-8?q?=E5=BD=95=E5=9C=B0=E7=82=B9=E7=9A=84=E7=BC=BA=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/catalog/device/components/deviceDialog.vue | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/openhis-ui-vue3/src/views/catalog/device/components/deviceDialog.vue b/openhis-ui-vue3/src/views/catalog/device/components/deviceDialog.vue index 49039725..cf8c5fa6 100644 --- a/openhis-ui-vue3/src/views/catalog/device/components/deviceDialog.vue +++ b/openhis-ui-vue3/src/views/catalog/device/components/deviceDialog.vue @@ -496,11 +496,12 @@ function getDeptTree() { } /** 查询地点下拉树结构 */ -function getLocationTree() { - locationTreeSelect({ formList: '11,16' }).then((response) => { - console.log(response, 'response查询部门下拉树结构'); - locationOptions.value = response.data.records; - }); +const getLocationTree = () => { + locationTreeSelect({ formList: '11,16,17' }).then((res) => { + if (res.data && res.data.records) { + locationOptions.value = res.data.records + } + }) } // 显示弹框 function edit() {