From 46c997fdc09bf9a3fe5f243aab5bf55155bcaf89 Mon Sep 17 00:00:00 2001 From: zch Date: Wed, 13 Nov 2024 10:44:23 +0800 Subject: [PATCH] =?UTF-8?q?change(ems):=20=E6=9B=B4=E6=96=B0=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在记录蒸汽瞬时值和当前蒸汽曲线页面添加监测点名称筛选条件 - 更新当前蒸汽曲线图表,将仪表值改为耗量显示 --- src/views/ems/record/recordSteamInstant/index.vue | 1 + src/views/ems/report/currentSteamCurve/index.vue | 9 +++++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/views/ems/record/recordSteamInstant/index.vue b/src/views/ems/record/recordSteamInstant/index.vue index d75b686..f37bf38 100644 --- a/src/views/ems/record/recordSteamInstant/index.vue +++ b/src/views/ems/record/recordSteamInstant/index.vue @@ -288,6 +288,7 @@ export default { pageNum: 1, pageSize: 10, monitorCode: null, + monitorName: null, collectTime: null, fluxFlow: null, steamFlow: null, diff --git a/src/views/ems/report/currentSteamCurve/index.vue b/src/views/ems/report/currentSteamCurve/index.vue index bab043a..e15958f 100644 --- a/src/views/ems/report/currentSteamCurve/index.vue +++ b/src/views/ems/report/currentSteamCurve/index.vue @@ -116,6 +116,7 @@ export default { pageNum: 1, pageSize: 10, monitorCode: null, + monitorName: null, instrumentValue: null, expend: null, recordTime: null, @@ -259,7 +260,7 @@ export default { const {data} = await pointSteamInstantList(query) let option1 = { title: { - text: this.selectMonitorName + ' 仪表值', + text: this.selectMonitorName + ' 耗量', x: 'center' }, grid: { @@ -304,7 +305,7 @@ export default { yAxis: [ { type: 'value', - name: '仪表值', + name: '耗量', nameTextStyle: { color: '#000000' }, @@ -330,13 +331,13 @@ export default { ], series: [ { - name: '仪表值', + name: '耗量', type: 'line', smooth: true, //平滑曲线显示 showAllSymbol: true, //显示所有图形。 symbol: 'circle', //标记的图形为实心圆 symbolSize: 10, //标记的大小 - data: data.map(e => e.instrumentValue) + data: data.map(e => e.expend) }, ] }