diff --git a/src/api/ems/record/recordSteamInstant.js b/src/api/ems/record/recordSteamInstant.js index 07150c8..ccb2d17 100644 --- a/src/api/ems/record/recordSteamInstant.js +++ b/src/api/ems/record/recordSteamInstant.js @@ -42,3 +42,11 @@ export function delRecordSteamInstant(objId) { method: 'delete' }) } +// 查询蒸汽实时数据(曲线) +export function steamInstantList(query) { + return request({ + url: '/ems/record/recordSteamInstant/steamInstantList', + method: 'get', + params: query + }) +} diff --git a/src/views/ems/base/baseMonitorInfoSteam/index.vue b/src/views/ems/base/baseMonitorInfoSteam/index.vue index 9aaca8d..4613e76 100644 --- a/src/views/ems/base/baseMonitorInfoSteam/index.vue +++ b/src/views/ems/base/baseMonitorInfoSteam/index.vue @@ -252,7 +252,7 @@ export default { monitorCode: null, monitorName: null, monitorAddr: null, - monitorType: 3, + monitorType: 4, monitorStatus: null, collectDeviceId: null, ancestors: null, @@ -354,7 +354,7 @@ export default { monitorCode: null, monitorName: null, monitorAddr: null, - monitorType: 3, + monitorType: 4, monitorStatus: null, collectDeviceId: null, ancestors: null, @@ -422,13 +422,14 @@ export default { this.$refs["form"].validate(valid => { if (valid) { if (this.form.objId != null) { +/* this.form.monitorType = 4;*/ updateBaseMonitorInfo(this.form).then(response => { this.$modal.msgSuccess("修改成功"); this.open = false; this.getList(); }); } else { - // this.form.monitorType = 4; +/* this.form.monitorType = 4;*/ addBaseMonitorInfo(this.form).then(response => { this.$modal.msgSuccess("新增成功"); this.open = false; diff --git a/src/views/ems/record/recordSteamInstant/index.vue b/src/views/ems/record/recordSteamInstant/index.vue index 59aaca7..16d219a 100644 --- a/src/views/ems/record/recordSteamInstant/index.vue +++ b/src/views/ems/record/recordSteamInstant/index.vue @@ -352,7 +352,7 @@ export default { }, /** 查询计量设备信息下拉树结构 新增用*/ getTreeMonitorInfo() { - listBaseMonitorInfo({ monitorType: 2 }).then(response => { + listBaseMonitorInfo({ monitorType: 4 }).then(response => { this.baseMonitorInfoOptions = [] const data = { objId: 0, monitorName: '顶级节点', children: [] } data.children = this.handleTree(response.data, 'objId', 'parentId') diff --git a/src/views/ems/report/currentSteamCurve/index.vue b/src/views/ems/report/currentSteamCurve/index.vue new file mode 100644 index 0000000..a2a204e --- /dev/null +++ b/src/views/ems/report/currentSteamCurve/index.vue @@ -0,0 +1,731 @@ + + + +