Merge branch 'main' into 'stg'

修改bug

See merge request cloud-mediate/mediate-manage-web!93
This commit is contained in:
刘翕 2025-02-26 11:00:22 +00:00
commit cf8a3b2642

View File

@ -486,9 +486,11 @@ export default {
}, },
methods: { methods: {
handleBeforeUnload(event) { handleBeforeUnload(event) {
console.log(this.sessionId,'this.sessionId')
// //
if(this.sessionId !='') if(this.sessionId !='')
{ {
console.log('刷新及离开挂断电话')
window.tccc.Call.hungUp({sessionId: this.sessionId}) window.tccc.Call.hungUp({sessionId: this.sessionId})
} }
}, },
@ -599,8 +601,12 @@ export default {
// }) // })
}, },
handleBack() { handleBack() {
this.handleBeforeUnload()
setTimeout(() => {
this.$router.push('/mediation-management')
}, 1000);
// this.$route.query.sourcePage == 'mediationManagement' // this.$route.query.sourcePage == 'mediationManagement'
this.$router.push('/mediation-management') // this.$router.push('/mediation-management')
}, },
// //
getmediate_record() { getmediate_record() {