修改退出调解室回到调解页面,智能外呼仍然在自动拨打其余案件当事人
This commit is contained in:
parent
2252db5080
commit
2873676a7c
@ -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')
|
||||
},
|
||||
// 获取调解记录
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user