diff --git a/src/pages/mediation-management/index.vue b/src/pages/mediation-management/index.vue index 48db438..ae3e559 100644 --- a/src/pages/mediation-management/index.vue +++ b/src/pages/mediation-management/index.vue @@ -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; diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index 1d0b725..09425fc 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -731,6 +731,7 @@ export default { this.getCaseInfoById() }) }, + // 开始拨打 startCall () { if (!this.$clickThrottle(1000)) { return @@ -839,12 +840,15 @@ 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) }, // 删除会话