From 57f968af42c04881a39a42ec77bad94b49c115a1 Mon Sep 17 00:00:00 2001 From: z_yu <1534695664@qq.com> Date: Fri, 22 Jul 2022 14:55:55 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E5=A4=87=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/storeManage/deviceManage/device.js | 17 +++- .../deviceManage/module/bindParams.vue | 19 +++-- .../deviceManage/module/deviceDetail.vue | 82 ++++++++++--------- 3 files changed, 71 insertions(+), 47 deletions(-) diff --git a/src/api/storeManage/deviceManage/device.js b/src/api/storeManage/deviceManage/device.js index 3d0de99..689cb12 100644 --- a/src/api/storeManage/deviceManage/device.js +++ b/src/api/storeManage/deviceManage/device.js @@ -47,6 +47,21 @@ export function getDeviceById(params) { params }) } +export function getDesecabinetById(params) { + return request({ + url: 'api/desecabinet/query', + method: 'get', + params + }) +} + +export function getRotarycabinetById(params) { + return request({ + url: 'api/rotarycabinet/query', + method: 'get', + params + }) +} function getUrl(data, optTYpe) { let url = 'api/desecabinet/' @@ -69,4 +84,4 @@ function getUrl(data, optTYpe) { return url } -export default { add, edit, del, getSupplier, getDeviceType } +export default { add, edit, del, getSupplier, getDeviceType, getDeviceById, getDesecabinetById, getRotarycabinetById } diff --git a/src/views/storeManage/deviceManage/module/bindParams.vue b/src/views/storeManage/deviceManage/module/bindParams.vue index fda0d71..fa74e0b 100644 --- a/src/views/storeManage/deviceManage/module/bindParams.vue +++ b/src/views/storeManage/deviceManage/module/bindParams.vue @@ -1,7 +1,7 @@