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