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 @@