소스 검색

工作台跳转告警详情页面添加id跳转

DESKTOP-4G80JF4\long 3 년 전
부모
커밋
c80d505fec
1개의 변경된 파일4개의 추가작업 그리고 1개의 파일을 삭제
  1. 4 1
      operationSupport/src/views/alarmManagement/details.vue

+ 4 - 1
operationSupport/src/views/alarmManagement/details.vue

@@ -254,9 +254,12 @@ export default {
             state: '1'
         };
         // this.getAllScene();
-        this.getPage();
         if (this.$route.query.showDialog && this.$route.query.id) {
             this.blankId = this.$route.query.id;
+            this.mixins_query.id = this.blankId;
+            this.getPage();
+        } else {
+            this.getPage();
         }
     }
 };