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) }} + + +