diff --git a/src/api/ems/base/baseMonitorInfo.js b/src/api/ems/base/baseMonitorInfo.js index 8f4a96f..466f5a3 100644 --- a/src/api/ems/base/baseMonitorInfo.js +++ b/src/api/ems/base/baseMonitorInfo.js @@ -42,3 +42,12 @@ export function delBaseMonitorInfo(objId) { method: 'delete' }) } + +// 查询计量设备信息下拉树结构 +export function getMonitorInfoTree(data) { + return request({ + url: '/ems/base/baseMonitorInfo/monitorInfoTree', + method: 'post', + data: data + }) +} diff --git a/src/api/ems/record/recordWaterInstant.js b/src/api/ems/record/recordWaterInstant.js new file mode 100644 index 0000000..04b99e9 --- /dev/null +++ b/src/api/ems/record/recordWaterInstant.js @@ -0,0 +1,44 @@ +import request from '@/utils/request' + +// 查询水实时数据列表 +export function listRecordWaterInstant(query) { + return request({ + url: '/ems/record/recordWaterInstant/list', + method: 'get', + params: query + }) +} + +// 查询水实时数据详细 +export function getRecordWaterInstant(objId) { + return request({ + url: '/ems/record/recordWaterInstant/' + objId, + method: 'get' + }) +} + +// 新增水实时数据 +export function addRecordWaterInstant(data) { + return request({ + url: '/ems/record/recordWaterInstant', + method: 'post', + data: data + }) +} + +// 修改水实时数据 +export function updateRecordWaterInstant(data) { + return request({ + url: '/ems/record/recordWaterInstant', + method: 'put', + data: data + }) +} + +// 删除水实时数据 +export function delRecordWaterInstant(objId) { + return request({ + url: '/ems/record/recordWaterInstant/' + objId, + method: 'delete' + }) +} diff --git a/src/api/mes/prod/prodBomInfo.js b/src/api/mes/prod/prodBomInfo.js index c935aaa..cec3309 100644 --- a/src/api/mes/prod/prodBomInfo.js +++ b/src/api/mes/prod/prodBomInfo.js @@ -51,12 +51,3 @@ export function findOrderBomList(query) { params: query }) } - -// 查询生产BOM树列表 -export function productionBomTreeList(query) { - return request({ - url: '/mes/prod/prodBomInfo/productionBomTreeList', - method: 'get', - params: query - }) -} diff --git a/src/views/ems/base/baseMonitorInfo/index.vue b/src/views/ems/base/baseMonitorInfo/index.vue index 816579d..f0583dd 100644 --- a/src/views/ems/base/baseMonitorInfo/index.vue +++ b/src/views/ems/base/baseMonitorInfo/index.vue @@ -94,14 +94,12 @@ - - @@ -157,7 +155,7 @@ - + @@ -262,7 +260,7 @@ export default { monitorCode: null, monitorName: null, monitorAddr: null, - monitorType: null, + monitorType: 2, monitorStatus: null, collectDeviceId: null, ancestors: null, @@ -364,7 +362,7 @@ export default { monitorCode: null, monitorName: null, monitorAddr: null, - monitorType: null, + monitorType: 2, monitorStatus: null, collectDeviceId: null, ancestors: null, diff --git a/src/views/ems/base/baseMonitorInfoGas/index.vue b/src/views/ems/base/baseMonitorInfoGas/index.vue new file mode 100644 index 0000000..87a1090 --- /dev/null +++ b/src/views/ems/base/baseMonitorInfoGas/index.vue @@ -0,0 +1,452 @@ + + + diff --git a/src/views/ems/base/baseMonitorInfoWater/index.vue b/src/views/ems/base/baseMonitorInfoWater/index.vue new file mode 100644 index 0000000..3622752 --- /dev/null +++ b/src/views/ems/base/baseMonitorInfoWater/index.vue @@ -0,0 +1,453 @@ + + + diff --git a/src/views/ems/base/baseMonitorWorkUnit/index.vue b/src/views/ems/base/baseMonitorWorkUnit/index.vue index 37e6a6b..267c710 100644 --- a/src/views/ems/base/baseMonitorWorkUnit/index.vue +++ b/src/views/ems/base/baseMonitorWorkUnit/index.vue @@ -39,6 +39,7 @@ @keyup.enter.native="handleQuery" /> + @@ -57,6 +58,16 @@ + + + + + - + + + - +