kongdeqiang
2024-11-18 f0cad0c5ea4778036452217b4704c6875dc246e3
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: {
@@ -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('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;