浏览代码

台架详细信息显示异常

hao lei 11 月之前
父节点
当前提交
87969c849f
共有 3 个文件被更改,包括 7 次插入3 次删除
  1. 2 0
      src/components/TabList/index.vue
  2. 4 3
      src/views/ordinaryPage/index.vue
  3. 1 0
      src/views/squarePage/list.vue

+ 2 - 0
src/components/TabList/index.vue

@@ -586,7 +586,9 @@ export default {
   },
   mounted() {
     bus.on("benchInfoVisible", (param) => {
+      // console.log('benchInfoVisible', param);
       this.currentBench = param;
+      // console.log('this.currentBench', this.currentBench);
     });
 
     bus.on("benchDisplayLowerVisibleChange", (param) => {

+ 4 - 3
src/views/ordinaryPage/index.vue

@@ -935,7 +935,7 @@ export default {
     
     {
       this.autoPlanResultInterval = setInterval(() => {
-        debugger
+        // debugger
         let autoCurrentTaskData = window.localStorage.getItem("autoCurrentTaskData");
         autoCurrentTaskData = JSON.parse(autoCurrentTaskData);
         if (autoCurrentTaskData) {
@@ -2291,7 +2291,7 @@ export default {
       }
       console.log("benchId", benchId);
       let selectedBench = this.benchList.find((i) => i.benchId == benchId);
-      console.log("selectedBench", selectedBench);
+      // console.log("selectedBench", selectedBench);
       bus.emit("benchInfoVisible", selectedBench);
       this.$nextTick(() => {
         if (benchId == this.currentBench.benchId) {
@@ -2348,7 +2348,8 @@ export default {
             this.currentBench.selected = true;
           }
         }
-        bus.emit("benchInfoVisible", this.currentBench);
+        // console.log('this.currentBench', this.currentBench);
+        // bus.emit("benchInfoVisible", this.currentBench);
       });
     },
     handleBenchClick(benchId, showRemoteButton) {

+ 1 - 0
src/views/squarePage/list.vue

@@ -486,6 +486,7 @@ export default {
             this.currentBench.selected = true;
           }
         }
+        // console.log('this.currentBench', this.currentBench);
         bus.emit("benchInfoVisible", this.currentBench);
       });
     },