From 63499f1fb0266e4b34e63d3c8404e3b9ddfd8fdb Mon Sep 17 00:00:00 2001
From: kongdeqiang <123456>
Date: 星期一, 22 十二月 2025 09:16:41 +0800
Subject: [PATCH] feat: 修改大屏

---
 src/components/page/leaderShow/leaderIndex.vue |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/src/components/page/leaderShow/leaderIndex.vue b/src/components/page/leaderShow/leaderIndex.vue
index 58a6d0e..2d71b43 100644
--- a/src/components/page/leaderShow/leaderIndex.vue
+++ b/src/components/page/leaderShow/leaderIndex.vue
@@ -3,14 +3,14 @@
         <div class="leaderIndex-title">
             <h1>宄板嘲鐭垮尯缁煎悎琛屾斂鎵ф硶灞�鏅烘収娉婅溅骞冲彴</h1>
             <div class="leader-title-left">
-                <h2>娆㈣繋鐧诲綍锛寋{userName}}!</h2>
+                <h2>娆㈣繋鐧诲綍锛寋{userName}}</h2>
             </div>
             <div class="logout" @click="logout">
                 閫�鍑虹櫥褰�
             </div>
-            <div class="leader-title-right" @click="houtaiBtn">
-                <h2>鍚庡彴绠$悊</h2>
-            </div>
+<!--            <div class="leader-title-right" @click="houtaiBtn">-->
+<!--                <h2>鍚庡彴绠$悊</h2>-->
+<!--            </div>-->
             <div class="weizhang-content">
                 <h2 @click="weizhangBtn(item)" v-if="index < 1" v-for="(item,index) in weizhangList" :key="index">杩濇硶杞﹁締锛歿{item.carNo}}杩涘叆{{item.parkName}}  {{item.createTime}}</h2>
             </div>
@@ -210,6 +210,7 @@
     import shangjiZhipaiForm from "./Dialog/shangjiZhipaiForm";
     import xunjieOrderForm from "./Dialog/xunjieOrderForm";
     import weizhangForm from "./Dialog/weizhangForm";
+    import BaiduMap from "../../common/baiduMap";
     export default {
         name: "leaderIndex",
         components: {
@@ -230,8 +231,8 @@
                 pageConfig: {
                     getDataUrl: this.$systemconfig.basePath + '/statistic/getData1',
                     getLogoUrl: this.$systemconfig.basePath + '/statistic/getLogo',
-                    findAllUrl: this.$systemconfig.basePath + '/user/findAll',
-                    illegalCarUrl: this.$systemconfig.basePath + '/notice/illegalCar2',
+                    findAllUrl: this.$systemconfig.basePath + '/ffzf/user/findAll',
+                    illegalCarUrl: this.$systemconfig.basePath + '/ffzf/notice/illegalCar2',
                 },
                 weizhangTimer:null,  //杩濈珷list瀹氭椂鍣�
                 getDataTimer:null, //缁熻鏁版嵁瀹氭椂鍣�
@@ -292,8 +293,13 @@
             }
         },
         mounted() {
+            BaiduMap.init()
+                .then((BMap) => {
+                  console.log('鍦板浘鍒濆鍖�')
+                  this.inits()
+                })
             this.newTimes()
-            this.userName = JSON.parse(this.getStore('userinfo')).name
+            this.userName = this.getStore('userinfo').name
             this.getData()
             this.$nextTick(() => {
                 this.createMap()
@@ -1172,7 +1178,7 @@
         }
         .leader-title-left{
             position: absolute;
-            left: 0.2083rem  /* 40/192 */;
+            left: 0.3183rem  /* 40/192 */;
             top:0.0521rem  /* 10/192 */;
             cursor: pointer;
             h2{
@@ -1381,7 +1387,7 @@
         background: url('../../../assets/images/wait-bj.png') no-repeat center;
         background-size: 100% 100%;
         position: absolute;
-        right: 0.667rem  /* 50/75 */;
+        right: 0.3183rem  /* 50/75 */;
         top:0.0729rem  /* 14/192 */;
         color: #fff;
         display: flex;

--
Gitblit v1.9.1