Browse Source

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

DESKTOP-4G80JF4\long 3 năm trước cách đây
mục cha
commit
c80d505fec
1 tập tin đã thay đổi với 4 bổ sung1 xóa
  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();
         }
     }
 };