与排班功能相关联
parent
4a07455a1d
commit
e69847d745
|
@ -14,7 +14,7 @@
|
|||
</div>
|
||||
<!-- 右侧面板 -->
|
||||
<div class="right">
|
||||
<sysChat :chat-data="chatData" @orderMessage="handlerOrderMessage" @reFlush="initInfo()"/>
|
||||
<sysChat :chat-data="chatData" @orderMessage="handlerOrderMessage" @reFlush="initInfo()" @endRescue="endRescue()"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="top_search">
|
||||
|
@ -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)
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -45,7 +45,7 @@ export default {
|
|||
cancelButtonText: '取消',
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
this.$router.push('/emergen_cyrescue/accid')
|
||||
this.$emit('endRescue', '')
|
||||
}).catch(() => {
|
||||
this.$message({
|
||||
type: 'info',
|
||||
|
|
Loading…
Reference in New Issue