change(ems): 更新图表显示

- 在记录蒸汽瞬时值和当前蒸汽曲线页面添加监测点名称筛选条件
- 更新当前蒸汽曲线图表,将仪表值改为耗量显示
master
zch 2 days ago
parent 75d54bd308
commit 46c997fdc0

@ -288,6 +288,7 @@ export default {
pageNum: 1,
pageSize: 10,
monitorCode: null,
monitorName: null,
collectTime: null,
fluxFlow: null,
steamFlow: null,

@ -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)
},
]
}

Loading…
Cancel
Save