Explorar el Código

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

DESKTOP-4G80JF4\long hace 3 años
padre
commit
c80d505fec
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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();
         }
     }
 };