1
lzhe
2024-10-07 9516d95bdcc481b71d4b090bbdcfff39a84b26d6
src/views/mdc/realtime-status/index.vue
@@ -1,7 +1,7 @@
<!--
 * @Date: 2024-04-09 22:11:21
 * @LastEditors: lzhe lzhe@example.com
 * @LastEditTime: 2024-10-07 00:51:38
 * @LastEditTime: 2024-10-07 21:48:45
 * @FilePath: /mdc/Users/mache/Documents/demo/cps-web/src/views/mdc/realtime-status/index.vue
 实时看板
-->
@@ -194,11 +194,18 @@
         this.$HTTP.get("/api/blade-cps/group/get-mdc-group").then(res => {
            if (res.code == 200) {
               this.stationlabelList = res.data;
               if(res.data.length != 0) {
               this.stationlabel = res.data[0].groupName;
               }
            }
         })
      },
      changestatus(name) {
         if(this.stationlabelList.length == 0) {
            this.station = "状态视图";
            //this.$message.error("不能点击");
            return;
         }
         this.station = name;
         if (this.station == '状态视图') {
            this.workStationGroupIdList = [];
@@ -241,7 +248,8 @@
         }
      },
      goSet() {
         this.$router.push('/mdc/configuration');
         //console.log(this.$TOOL.data.get("MENU"));name == "配置中心"
         this.$router.push('/mdc/configuration');  //分析设置
      },
      gostatus(item) {
         this.$router.push('/mdc/station-live?code=' + item.id);
@@ -382,7 +390,6 @@
                     }
                  });
               };
               console.log(this.timestatus,214)
               // var len = res.data.records.length;
               // intervalId = setInterval(function() {  
               //    if (num === len) {