修改自动外呼挂断退出bug

This commit is contained in:
liuxi 2025-03-01 21:06:43 +08:00
parent 782d1e7672
commit dc25ab397c
2 changed files with 5 additions and 2 deletions

View File

@ -461,7 +461,6 @@ import { values } from "lodash";
//
selectionData: {
handler(v) {
console.log(this.enabledDataList,'this.enabledDataList')
if (this.enabledDataList.length) {
let checkedCount = v.length;
this.isCheck = checkedCount === this.enabledDataList.length;

View File

@ -731,6 +731,7 @@ export default {
this.getCaseInfoById()
})
},
//
startCall () {
if (!this.$clickThrottle(1000)) {
return
@ -839,11 +840,14 @@ export default {
const that = this
that.index ++
setTimeout(() => {
if(!that.isPause)
{
if (that.index <= that.queueList.length - 1) {
that.caseId = String(that.queueList[that.index].caseId) || ''
that.getCaseInfoById()
console.log('将会自动拨打下一个会话====',that.queueList[that.index])
that.startOutboundCall({phone:that.queueList[that.index].phone,contactId:that.queueList[that.index].contactId,queueName:this.queueList[that.index].queueName})
that.startOutboundCall({phone:that.queueList[that.index].phone,contactId:that.queueList[that.index].contactId,queueName:that.queueList[that.index].queueName})
}
}
}, 5000)
},