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() {