From 93c5fd918d5584f4dea767fcc20b832467c4b4f1 Mon Sep 17 00:00:00 2001
From: rk <94314517@qq.com>
Date: 星期四, 20 十一月 2025 18:02:10 +0800
Subject: [PATCH] 钥匙柜大屏

---
 admin/src/views/index.vue |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/admin/src/views/index.vue b/admin/src/views/index.vue
index b414d59..e22a1f1 100644
--- a/admin/src/views/index.vue
+++ b/admin/src/views/index.vue
@@ -4,7 +4,7 @@
     <div class="home_header">
       <div class="mb10 fs17">涓嬪崍濂斤紝{{ userInfo.realname }}</div>
       <div class="fs13">
-        浠婂ぉ鏄� {{ nowDate }} {{ nowWeek }}锛屾杩庤闂櫤鎱х墿娴佸洯鍖哄畨娑堜竴浣撳寲绯荤粺
+        浠婂ぉ鏄� {{ nowDate }} {{ nowWeek }}锛屾杩庤闂姕婀栫儫鑽夋櫤鎱у畨娑堝畨鍏ㄩ槻鑼冪郴缁�
       </div>
     </div>
     <div class="main">
@@ -244,11 +244,11 @@
       warningTotal: 0,
       funcList: [
         { name: '璁垮鎶ュ', path: '', url: require('@/assets/icons/home_func1.png'), path: '/business/reportRecord' },
-        { name: '闅愭偅闅忔墜鎷�', path: '', url: require('@/assets/icons/home_func2.png'), path: '/operation/danger/record' },
-        { name: '棰勭害浼氳瀹�', path: '', url: require('@/assets/icons/home_func3.png'), path: '/meeting/bookings' },
+        // { name: '闅愭偅闅忔墜鎷�', path: '', url: require('@/assets/icons/home_func2.png'), path: '/operation/danger/record' },
+        // { name: '棰勭害浼氳瀹�', path: '', url: require('@/assets/icons/home_func3.png'), path: '/meeting/bookings' },
         { name: '鍏姟杞﹂绾�', path: '', url: require('@/assets/icons/home_func5.png'), path: '/operation/serviceCar/apprRecord' },
-        { name: '鑰冨嫟宸ヤ綔鍙�', path: '', url: require('@/assets/icons/home_func4.png') },
-        { name: '椋熷爞娑堣垂', path: '', url: require('@/assets/icons/8.png') }
+        // { name: '鑰冨嫟宸ヤ綔鍙�', path: '', url: require('@/assets/icons/home_func4.png') },
+        // { name: '椋熷爞娑堣垂', path: '', url: require('@/assets/icons/8.png') }
       ],
       isShowDetail: false,
       isShowReport: false,
@@ -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