diff --git a/src/views/emergen_cyrescue/emergency_map/components/mapAssembly.vue b/src/views/emergen_cyrescue/emergency_map/components/mapAssembly.vue
index e980ac6..eb503fa 100644
--- a/src/views/emergen_cyrescue/emergency_map/components/mapAssembly.vue
+++ b/src/views/emergen_cyrescue/emergency_map/components/mapAssembly.vue
@@ -14,7 +14,7 @@
-
+
@@ -610,6 +610,18 @@ export default {
console.log(e)
loading.close()
})
+ },
+ endRescue() {
+ requestFN('/bi/emergency/endRescue', { ID: this.REPORT_ID })
+ .then((data) => {
+ this.$message({
+ message: '确认已收到指令',
+ type: 'success'
+ })
+ this.$router.push('/emergen_cyrescue/incident_management')
+ }).catch((error) => {
+ console.log(error)
+ })
}
}
}
diff --git a/src/views/emergen_cyrescue/emergency_map/components/sysChat.vue b/src/views/emergen_cyrescue/emergency_map/components/sysChat.vue
index a58812b..0110b98 100644
--- a/src/views/emergen_cyrescue/emergency_map/components/sysChat.vue
+++ b/src/views/emergen_cyrescue/emergency_map/components/sysChat.vue
@@ -45,7 +45,7 @@ export default {
cancelButtonText: '取消',
type: 'warning'
}).then(() => {
- this.$router.push('/emergen_cyrescue/accid')
+ this.$emit('endRescue', '')
}).catch(() => {
this.$message({
type: 'info',