Переглянути джерело

服务保障 大屏界面修改

zhanghao 1 місяць тому
батько
коміт
0369ff5101

+ 1 - 1
src/views/screen/map/map.vue

@@ -164,7 +164,7 @@ export default {
               show: true, // 显示区域名称
               color: "#FFF", // 文字颜色
               fontSize: 16, // 文字大小
-              fontWeight: 600, // 字重
+              fontWeight: 300, // 字重
               emphasis: { color: "#fff" }, // 悬浮时的文字颜色
             },
             data: this.area

+ 4 - 1
src/views/screen/service/shareStation.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="main-data data-share-station">
     <!-- <div class="title-area">共享驿站</div> -->
-    <div class="content-area">
+    <div class="content-area" v-if="flag >= 2">
       <div class="content-left">
         <div class="content-title">
           <div class="title">建设完成达标率</div>
@@ -117,6 +117,7 @@ export default {
   },
   data() {
     return {
+      flag: 0,
       pieData: [],
       pieLegend: {
         top: 50,
@@ -168,6 +169,7 @@ export default {
           this.constructionQuantityNum = res.data.constructionQuantityNum;
           this.completedNum = res.data.completedNum;
           this.participateProportionRate = res.data.participateProportionRate;
+          this.flag++
         }
       });
     },
@@ -177,6 +179,7 @@ export default {
         if (Number(res.code) === 200) {
           this.serviceContent = res.data;
           this.fwData = res.data;
+          this.flag++
         }
       });
     },

+ 5 - 1
src/views/screen/service/shareStationDialog.vue

@@ -6,7 +6,7 @@
       />
       <div class="title">共享驿站</div>
     </div>
-    <div class="dialog-cont">
+    <div class="dialog-cont" v-if="flag >= 3">
       <div class="dialog-left">
         <div class="dialog-list">
           <div class="dialog-item">
@@ -149,6 +149,7 @@ export default {
   },
   data() {
     return {
+      flag: 0,
       //建设完成达标率
       constructionQuantityNum: {name: '', value: 0},
       // 服务内容
@@ -209,6 +210,7 @@ export default {
           this.constructionQuantityNum = res.data.constructionQuantityNum;
           this.completedNum = res.data.completedNum;
           this.participateProportionRate = res.data.participateProportionRate;
+          this.flag++
         }
       });
     },
@@ -227,6 +229,7 @@ export default {
         if (Number(res.code) === 200) {
           this.serviceContent = res.data;
           this.fwData = res.data;
+          this.flag++
         }
       });
     },
@@ -235,6 +238,7 @@ export default {
       getPropertyList(this.$props.appOrg).then((res) => {
         if (Number(res.code) === 200) {
           this.unitDataList = res.data
+          this.flag++
         }
       });
     },