diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index 2e27f4f..d9cee1d 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -750,13 +750,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) { @@ -768,9 +768,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();