修改自动外呼挂断退出bug
This commit is contained in:
parent
782d1e7672
commit
dc25ab397c
@ -461,7 +461,6 @@ import { values } from "lodash";
|
|||||||
// 监听选中的数据,选中的数据发生变化,通过判断长度给多选按钮赋值
|
// 监听选中的数据,选中的数据发生变化,通过判断长度给多选按钮赋值
|
||||||
selectionData: {
|
selectionData: {
|
||||||
handler(v) {
|
handler(v) {
|
||||||
console.log(this.enabledDataList,'this.enabledDataList')
|
|
||||||
if (this.enabledDataList.length) {
|
if (this.enabledDataList.length) {
|
||||||
let checkedCount = v.length;
|
let checkedCount = v.length;
|
||||||
this.isCheck = checkedCount === this.enabledDataList.length;
|
this.isCheck = checkedCount === this.enabledDataList.length;
|
||||||
|
|||||||
@ -731,6 +731,7 @@ export default {
|
|||||||
this.getCaseInfoById()
|
this.getCaseInfoById()
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
// 开始拨打
|
||||||
startCall () {
|
startCall () {
|
||||||
if (!this.$clickThrottle(1000)) {
|
if (!this.$clickThrottle(1000)) {
|
||||||
return
|
return
|
||||||
@ -839,12 +840,15 @@ export default {
|
|||||||
const that = this
|
const that = this
|
||||||
that.index ++
|
that.index ++
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
if(!that.isPause)
|
||||||
|
{
|
||||||
if (that.index <= that.queueList.length - 1) {
|
if (that.index <= that.queueList.length - 1) {
|
||||||
that.caseId = String(that.queueList[that.index].caseId) || ''
|
that.caseId = String(that.queueList[that.index].caseId) || ''
|
||||||
that.getCaseInfoById()
|
that.getCaseInfoById()
|
||||||
console.log('将会自动拨打下一个会话====',that.queueList[that.index])
|
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)
|
}, 5000)
|
||||||
},
|
},
|
||||||
// 删除会话
|
// 删除会话
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user