修改技术监督问题
This commit is contained in:
@@ -96,14 +96,16 @@ const analysis = (e: any) => {
|
||||
getGridDiagramLineTendency({ ...rowList.value, searchBeginTime: time, type: e }).then(res => {
|
||||
let name = []
|
||||
let data = []
|
||||
let num = 0
|
||||
for (let k in res.data) {
|
||||
name.push(k)
|
||||
data.push(res.data[k])
|
||||
num = num + res.data[k]
|
||||
data.push(num)
|
||||
}
|
||||
|
||||
trendEChart.value = {
|
||||
title: {
|
||||
text: '在线监测点数量'
|
||||
text: '在线监测点总数量'
|
||||
},
|
||||
xAxis: {
|
||||
name: '时间',
|
||||
|
||||
@@ -286,14 +286,16 @@ const analysis = (e: any) => {
|
||||
getGridDiagramSubTendency({ ...rowList.value, searchBeginTime: time, type: e }).then(res => {
|
||||
let name = []
|
||||
let data = []
|
||||
let num = 0
|
||||
for (let k in res.data) {
|
||||
name.push(k)
|
||||
data.push(res.data[k])
|
||||
num = num + res.data[k]
|
||||
data.push(num)
|
||||
}
|
||||
|
||||
trendEChart.value = {
|
||||
title: {
|
||||
text: '变电站接入数量'
|
||||
text: '变电站接入总数量'
|
||||
},
|
||||
xAxis: {
|
||||
name: '时间',
|
||||
|
||||
Reference in New Issue
Block a user