|
|
@ -107,7 +107,6 @@ export default { |
|
|
|
break; |
|
|
|
case "0": |
|
|
|
this.$emit("newEvent", params); |
|
|
|
this.$root.$emit('refreshMap'); |
|
|
|
break; |
|
|
|
case "3": |
|
|
|
case "externalPlatformOffline": |
|
|
@ -116,7 +115,6 @@ export default { |
|
|
|
break; |
|
|
|
case "2": |
|
|
|
this.triggerAlert() |
|
|
|
this.$root.$emit('refreshMap'); |
|
|
|
setTimeout(() => { |
|
|
|
this.$emit("newEvent", params); |
|
|
|
}, 1000); // 1000 毫秒 = 1 秒 |
|
|
@ -130,7 +128,6 @@ export default { |
|
|
|
}else{ |
|
|
|
this.$emit("newEvent", params); |
|
|
|
} |
|
|
|
this.$root.$emit('refreshMap'); |
|
|
|
break; |
|
|
|
case "deviceState": |
|
|
|
this.EventBus.$emit("deviceState", contentList); |
|
|
@ -138,6 +135,7 @@ export default { |
|
|
|
|
|
|
|
case "eventCount": |
|
|
|
this.$root.$emit('update-warning', content); |
|
|
|
this.$root.$emit('refreshMap'); |
|
|
|
break; |
|
|
|
case "eventProcess": |
|
|
|
this.$root.$emit('update-eventProcess', content); |
|
|
|