Browse Source

数据展示优化

SunZehao 2 years ago
parent
commit
c63f5b5e03
1 changed files with 9 additions and 8 deletions
  1. 9 8
      src/components/PvDetailPages.vue

+ 9 - 8
src/components/PvDetailPages.vue

@@ -3,7 +3,8 @@
         <template #title>
             <div style="margin-top: -10px; color: #ffffff">光伏详情</div>
         </template>
-        <div class="pvDetail" v-loading="loading">
+         <!-- v-loading="loading" -->
+        <div class="pvDetail">
             <div class="pvLeftDetail">
                 <div class="commonSty titleFont">
                     <span>光伏板号:</span>
@@ -111,7 +112,7 @@ export default {
     methods: {
         opened() {
             this.getPvStationInfoData()
-            this.loading = true
+            // this.loading = true
         },
         // 获取光伏详情配置
         getPvStationInfoData() {
@@ -123,13 +124,13 @@ export default {
                     for(let i in datas.data) {
                         if (that.windturbine.station === i) {
                             that.getPvStationData(datas.data[i].codeInfos)
-                            that.startTimer = setInterval(() =>{
-                                that.getPvStationData(datas.data[i].codeInfos)
-                            }, 3000)
+                            // that.startTimer = setInterval(() =>{
+                            //     that.getPvStationData(datas.data[i].codeInfos)
+                            // }, 3000)
                             that.getEcharts(datas.data[i].codeInfos)
-                            that.echartTimer = setInterval(() =>{
-                                that.getEcharts(datas.data[i].codeInfos)
-                            }, 10000)
+                            // that.echartTimer = setInterval(() =>{
+                            //     that.getEcharts(datas.data[i].codeInfos)
+                            // }, 10000)
                         }
                     }