|
@@ -207,7 +207,6 @@
|
|
|
},
|
|
|
mounted(){
|
|
|
this.subscriptionMQTT();
|
|
|
- this.getDeviceList();
|
|
|
},
|
|
|
methods:{
|
|
|
//获取实验室的疏散数据
|
|
@@ -284,6 +283,7 @@
|
|
|
//获取喇叭列表
|
|
|
getDeviceList(){
|
|
|
let obj ={
|
|
|
+ subId:this.subId,
|
|
|
floorId:5,
|
|
|
page:1,
|
|
|
pageSize:100,
|
|
@@ -342,6 +342,7 @@
|
|
|
this.title = data.data.subName;
|
|
|
this.evacuationType = false;
|
|
|
this.evacuate();
|
|
|
+ this.getDeviceList();
|
|
|
}else{
|
|
|
if(localStorage.getItem('evacuationSubId')){
|
|
|
this.subId = localStorage.getItem('evacuationSubId');
|
|
@@ -354,6 +355,7 @@
|
|
|
}
|
|
|
this.evacuationType = true;
|
|
|
this.lineEvacuateTow(this.subId,0);
|
|
|
+ this.getDeviceList();
|
|
|
}
|
|
|
});
|
|
|
},
|