From 51eac04a62d0e3e3d065575b8e04cada4b4c7172 Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Thu, 27 Feb 2025 17:23:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BC=E5=8F=AB=E6=88=90=E5=8A=9F=E5=8A=A0?= =?UTF-8?q?=E9=98=9F=E5=88=97=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mediation-page/components/MediationRoom.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index c276679..dc0c22b 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -749,13 +749,13 @@ export default { this.contactId= params.contactId console.log('进入呼叫电话:', params) try { - let res = await window.tccc.Call.startOutboundCall({phoneNumber: this.phoneNumber, uuid: this.caseId,queueName:params.queueName}) + let res = await window.tccc.Call.startOutboundCall({phoneNumber: this.phoneNumber, uuid: this.caseId}) this.sessionId = res.data.sessionId console.log('呼叫成功', res.data) this.calling = true if (res.status === 'success') { - this.callingSuccess() + this.callingSuccess(params.queueName) this.startTimer() } } catch (err) { @@ -767,9 +767,9 @@ export default { } finally {} }, // 呼叫成功 - async callingSuccess () { + async callingSuccess (queueName) { try { - let res = await api.callingSuccess({caseId: this.caseId,contactId: this.contactId,callingSessionId:this.sessionId}) + let res = await api.callingSuccess({caseId: this.caseId,contactId: this.contactId,callingSessionId:this.sessionId,queueName:queueName}) console.log('呼叫成功请求接口==callingSuccess:', res) // this.getmediate_record() this.$refs.layoutContent.getmediate_record();