修改技术监督问题

This commit is contained in:
GGJ
2024-07-18 14:25:53 +08:00
parent 4a6eaf50e8
commit 049d0c1132
11 changed files with 373 additions and 18 deletions

View File

@@ -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: '时间',

View File

@@ -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: '时间',