From 5c4a983d822a48f535952f5d1a69287d3bc0918f Mon Sep 17 00:00:00 2001 From: yangzongjia Date: Thu, 8 Jun 2023 18:56:29 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E8=AE=BE=E5=A4=87=E7=BB=B4?= =?UTF-8?q?=E4=BF=AE=E7=8E=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/device/device.js | 8 +- .../shebeitaizhang/shebeitaizhangAdd.vue | 45 ++++++---- .../shebeitaizhang/shebeitaizhangList.vue | 84 +++++++++++++------ 3 files changed, 97 insertions(+), 40 deletions(-) diff --git a/src/api/device/device.js b/src/api/device/device.js index a527ca9..f992a7c 100644 --- a/src/api/device/device.js +++ b/src/api/device/device.js @@ -39,9 +39,15 @@ export function getInfoById(data) { // 获取摄像头列表 export function getOtherList(data) { - return request({ url: '/device/getOtherList', method: 'GET',params:data }) + return request({ url: '/device/getOtherList', method: 'GET', params: data }) } +// 获取状态列表 +export function getStatusList(data) { + return request({ url: '/device/getStatusList', method: 'GET' }) +} + + /******************************************************************************************************************************************** */ diff --git a/src/views/shebeitaizhang/shebeitaizhangAdd.vue b/src/views/shebeitaizhang/shebeitaizhangAdd.vue index 6e20699..90f83cc 100644 --- a/src/views/shebeitaizhang/shebeitaizhangAdd.vue +++ b/src/views/shebeitaizhang/shebeitaizhangAdd.vue @@ -72,6 +72,19 @@ clearable /> + + 维修状态 + + + + + + + + + + 上偏移 @@ -80,6 +93,17 @@ + + 请选择所属Nvr + + + + + + + + 仓库 @@ -116,21 +140,7 @@ - - 请选择所属Nvr - - - - - - - - - + @@ -180,6 +190,11 @@ export default { { name: '机器人', id: '4' }, { name: '网络录像机', id: '5' } ], + maintenanceList: [ + { name: '完好', id: '1' }, + { name: '维修', id: '2' }, + { name: '损坏', id: '3' }, + ], addForm: {}, baseManufacturerBankDto: [], rules: { diff --git a/src/views/shebeitaizhang/shebeitaizhangList.vue b/src/views/shebeitaizhang/shebeitaizhangList.vue index a9f91af..c2fa939 100644 --- a/src/views/shebeitaizhang/shebeitaizhangList.vue +++ b/src/views/shebeitaizhang/shebeitaizhangList.vue @@ -106,6 +106,16 @@ {{ getCkTitle(scope.row.ckId) }} + + +