From dfe35bb7f01b229b78d3ce86199bc72936c9a5d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=B6=E9=94=A6=E6=B6=9B?= <26050301730@qq.com> Date: Wed, 19 Nov 2025 16:33:12 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=80=97=E6=9D=90/=E8=AF=8A?= =?UTF-8?q?=E7=96=97=E7=BB=91=E5=AE=9A=EF=BC=8C=E8=80=97=E6=9D=90=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E8=8D=AF=E5=93=81=E7=9A=84=E7=BC=BA=E5=A4=B1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../consumablesBinding/components/api.js | 11 ++++++++- .../components/deviceList.vue | 24 ++++++++++++------- .../device/components/deviceDialog.vue | 11 ++++----- 3 files changed, 30 insertions(+), 16 deletions(-) diff --git a/openhis-ui-vue3/src/views/basicmanage/consumablesBinding/components/api.js b/openhis-ui-vue3/src/views/basicmanage/consumablesBinding/components/api.js index 4c5dc02f..c6f30349 100644 --- a/openhis-ui-vue3/src/views/basicmanage/consumablesBinding/components/api.js +++ b/openhis-ui-vue3/src/views/basicmanage/consumablesBinding/components/api.js @@ -18,7 +18,7 @@ export function getBindList(queryParams) { }) } -// 获取耗材列表 +// 获取耗材列表(受限制的API,只返回单次消耗类耗材) export function getDeviceList(queryParams) { return request({ url: '/personalization/activity-device/device-page', @@ -27,6 +27,15 @@ export function getDeviceList(queryParams) { }) } +// 获取完整的器材目录列表(使用原始API,不限制categoryCode) +export function getFullDeviceList(queryParams) { + return request({ + url: '/data-dictionary/device/information-page', + method: 'get', + params: queryParams + }) +} + // 获取耗材列表 export function init() { return request({ diff --git a/openhis-ui-vue3/src/views/basicmanage/consumablesBinding/components/deviceList.vue b/openhis-ui-vue3/src/views/basicmanage/consumablesBinding/components/deviceList.vue index ba53fe3f..69486feb 100644 --- a/openhis-ui-vue3/src/views/basicmanage/consumablesBinding/components/deviceList.vue +++ b/openhis-ui-vue3/src/views/basicmanage/consumablesBinding/components/deviceList.vue @@ -16,7 +16,7 @@