From dc25ab397ccd29bb6606fbe9d6b5cd1053dcf0e7 Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Sat, 1 Mar 2025 21:06:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=87=AA=E5=8A=A8=E5=A4=96?= =?UTF-8?q?=E5=91=BC=E6=8C=82=E6=96=AD=E9=80=80=E5=87=BAbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mediation-management/index.vue | 1 - src/pages/mediation-page/components/MediationRoom.vue | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) 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) }, // 删除会话