Browse Source

测试修改版

zlSun 3 tháng trước cách đây
mục cha
commit
715c528264

+ 27 - 27
src/layout/Footer/index.vue

@@ -28,7 +28,7 @@
     </el-footer>
 </template>
 <script>
-import { mapGetters } from 'vuex'
+// import { mapGetters } from 'vuex'
 export default {
     data(){
       return{
@@ -44,34 +44,34 @@ export default {
       }
     },
     computed: {
-    ...mapGetters([
-      'init',
-      'platformID',
-      'isCollapse'
-    ]),
+    // ...mapGetters([
+    //   'init',
+    //   'platformID',
+    //   'isCollapse'
+    // ]),
   },
-    watch: {
-       init: {
-          handler: function(val, oldVal){
-            this.config.value = val
-          }
-       },
-       platformID: {
-          handler: function(val, oldVal){
-
-          }
-       },
-    },
-    mounted(){
-      this.config.value
-    },
+    // watch: {
+    //    init: {
+    //       handler: function(val, oldVal){
+    //         this.config.value = val
+    //       }
+    //    },
+    //    platformID: {
+    //       handler: function(val, oldVal){
+    //
+    //       }
+    //    },
+    // },
+    // mounted(){
+    //   this.config.value
+    // },
     methods: {
-      platformShowChange(){
-        this.$store.commit('app/setPlatformShow',this.platformshow);
-      },
-      setCollapse(){
-        this.$store.commit('app/setIsCollapse',!this.isCollapse);
-      }
+      // platformShowChange(){
+      //   this.$store.commit('app/setPlatformShow',this.platformshow);
+      // },
+      // setCollapse(){
+      //   this.$store.commit('app/setIsCollapse',!this.isCollapse);
+      // }
 
   }
 }

+ 0 - 1
src/views/communicationManagement/index.vue

@@ -351,7 +351,6 @@ export default {
       }
     },
     initChart() {
-      console.log(this.selectedGroup)
       this.$http({
         url: this.$http.adornUrl("/communication/getChart?id=" + this.selectedGroupId),
         method: "get",

+ 3 - 2
src/views/semiPhysicalSystem/index.vue

@@ -28,7 +28,7 @@
                 <el-tag v-if="platData.serviceStatus==='正常提供'" type="success" class="card-value2">
                   {{platData.serviceStatus}}
                 </el-tag>
-                <el-tag v-else-if="platData.onlineStatus==='无法提供'" type="danger" class="card-value2">
+                <el-tag v-else-if="platData.serviceStatus==='无法提供'" type="danger" class="card-value2">
                   {{platData.serviceStatus}}
                 </el-tag>
                 <el-tag v-else type="info" class="card-value2">
@@ -227,6 +227,8 @@
             } else {
               Message.error(data.msg);
             }
+          }).then(()=>{
+            this.getPlatStatus();
           })
         })
       },
@@ -238,7 +240,6 @@
           if (data && data.code === 0) {
             this.platData.onlineStatus=data.data.onlineStatus;
             this.platData.serviceStatus=data.data.serviceStatus;
-            console.log(this.platData)
           } else {
             Message.error(data.msg);
           }