修改 变电站总数量 趋势图

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

@@ -4,8 +4,10 @@
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build ",
"dev": "vite --mode dev",
"dev:jibei": "vite --mode jibei",
"build": "vite build --mode dev",
"build:jibei": "vite build --mode jibei",
"preview": "vite preview"
},
"dependencies": {

View File

@@ -68,6 +68,7 @@ const trendEChart: any = ref()
const picEChart = ref()
const open = async (row: any) => {
time.value = '1'
rowList.value = {
deviceInfoParam: {
...row
@@ -99,8 +100,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 = {

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 = {

View File

@@ -84,6 +84,7 @@ const trendEChart: any = ref({})
const picEChart = ref()
const open = async (row: any) => {
time.value = '1'
rowList.value = {
deviceInfoParam: {
...row
@@ -184,8 +185,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 = {