修改退出调解室回到调解页面,智能外呼仍然在自动拨打其余案件当事人

This commit is contained in:
张运江 2025-02-27 16:32:19 +08:00
parent 2252db5080
commit 2873676a7c

View File

@ -481,14 +481,15 @@ export default {
if (this.videoCallInterval) {
clearInterval(this.videoCallInterval)
}
if(this.calling){
window.tccc.Call.hungUp({sessionId: this.sessionId})
}
window.removeEventListener('beforeunload', this.handleBeforeUnload);
},
methods: {
handleBeforeUnload(event) {
//
if(this.sessionId !='')
{
if(this.calling){
window.tccc.Call.hungUp({sessionId: this.sessionId})
}
},
@ -600,6 +601,15 @@ export default {
},
handleBack() {
// this.$route.query.sourcePage == 'mediationManagement'
if(this.timerInterval) { //
clearInterval(this.timerInterval); //
}
if (this.videoCallInterval) {
clearInterval(this.videoCallInterval)
}
if(this.calling){
window.tccc.Call.hungUp({sessionId: this.sessionId})
}
this.$router.push('/mediation-management')
},
//