From 66b84de58e3efae14c1e258ee716e02ad9557497 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期四, 09 十月 2025 08:48:50 +0800
Subject: [PATCH] 最新版本541200007
---
admin/src/views/index.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/admin/src/views/index.vue b/admin/src/views/index.vue
index b414d59..65464e5 100644
--- a/admin/src/views/index.vue
+++ b/admin/src/views/index.vue
@@ -396,6 +396,7 @@
},
getWorkBody () {
getWorkbenchData({ queryType: 2 }).then(res => {
+ console.log(res)
this.staticData = res || {}
this.initEchart2()
this.initEchart21()
@@ -517,6 +518,7 @@
if (!document.getElementById('echart2')) {
return
}
+ echarts.dispose(document.getElementById('echart2'))
const myChart = echarts.init(document.getElementById('echart2'))
const that = this
var ydata = that.staticData.internalList.map(i => i.num)
@@ -621,11 +623,11 @@
})
},
initEchart21 () {
- console.log('initEchart21')
+ console.log('initEchart21',this.staticData.lwList)
if (!document.getElementById('echart21')) {
return
}
-
+ echarts.dispose(document.getElementById('echart21'))
const myChart = echarts.init(document.getElementById('echart21'))
const that = this
var le1 = that.staticData.internalList.length
--
Gitblit v1.9.3