Merge branch 'main' into 'stg'
修改自动外呼挂断退出bug See merge request cloud-mediate/mediate-manage-web!117
This commit is contained in:
commit
f9cf2409e3
@ -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;
|
||||
|
||||
@ -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)
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user