与排班功能相关联

liujun0703-新项目开发
liujun 2024-08-13 11:15:08 +08:00
parent 4a07455a1d
commit e69847d745
2 changed files with 14 additions and 2 deletions

View File

@ -14,7 +14,7 @@
</div> </div>
<!-- 右侧面板 --> <!-- 右侧面板 -->
<div class="right"> <div class="right">
<sysChat :chat-data="chatData" @orderMessage="handlerOrderMessage" @reFlush="initInfo()"/> <sysChat :chat-data="chatData" @orderMessage="handlerOrderMessage" @reFlush="initInfo()" @endRescue="endRescue()"/>
</div> </div>
</div> </div>
<div class="top_search"> <div class="top_search">
@ -610,6 +610,18 @@ export default {
console.log(e) console.log(e)
loading.close() 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)
})
} }
} }
} }

View File

@ -45,7 +45,7 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).then(() => {
this.$router.push('/emergen_cyrescue/accid') this.$emit('endRescue', '')
}).catch(() => { }).catch(() => {
this.$message({ this.$message({
type: 'info', type: 'info',