修改 变电站总数量 趋势图

This commit is contained in:
GGJ
2024-08-08 12:40:56 +08:00
parent 455c7be84f
commit d04336e1c8
4 changed files with 96 additions and 91 deletions

View File

@@ -101,6 +101,7 @@ const tableData: any = ref([])
const picEChart: any = ref([{}, {}, {}, {}, {}])
const open = async (row: any) => {
time.value = '1'
rowList.value = {
deviceInfoParam: {
...row
@@ -289,8 +290,8 @@ const analysis = (e: any) => {
let num = 0
for (let k in res.data) {
name.push(k)
num = num + res.data[k]
data.push(num)
// num = num + res.data[k]
data.push(res.data[k])
}
trendEChart.value = {