|
@@ -1056,7 +1056,7 @@ export default {
|
|
|
this.$set(this,'conductCountdown',null);
|
|
|
}
|
|
|
this.firedeviceStatus();
|
|
|
-
|
|
|
+ this.getRedisEvacuation();
|
|
|
},
|
|
|
//执行疏散
|
|
|
async lineEvacuate() {
|
|
@@ -1143,12 +1143,13 @@ export default {
|
|
|
this.$set(this, 'mapList', JSON.parse(JSON.stringify(list)));
|
|
|
// this.$set(this, 'shadeMapList', JSON.parse(JSON.stringify(list)));
|
|
|
this.$set(this, 'mapType', true);
|
|
|
- setTimeout(function() {
|
|
|
- self.getRedisEvacuation();
|
|
|
- }, 500);
|
|
|
+
|
|
|
this.selectTriggerInfo(3);
|
|
|
|
|
|
}
|
|
|
+ setTimeout(function() {
|
|
|
+ self.getRedisEvacuation();
|
|
|
+ }, 500);
|
|
|
}
|
|
|
},
|
|
|
//获取疏散数据
|
|
@@ -1162,6 +1163,7 @@ export default {
|
|
|
data
|
|
|
} = await getRedisEvacuation(obj)
|
|
|
if (data.code == 200) {
|
|
|
+ console.log('疏散数据',data.data)
|
|
|
if (data.data.doorPointNames) {
|
|
|
for (let o = 0; o < self.mapList.length; o++) {
|
|
|
if (self.mapList[o].type == 2) {
|