From c6fda38b2d090fbbb38b086dfe4e6a9a37da624c Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Fri, 21 Feb 2025 15:16:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mediation-page/components/LayoutContentNew.vue | 6 ++++-- src/pages/mediation-page/components/MediationRoom.vue | 4 +--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/mediation-page/components/LayoutContentNew.vue b/src/pages/mediation-page/components/LayoutContentNew.vue index 6b1b5c9..8f44b1c 100644 --- a/src/pages/mediation-page/components/LayoutContentNew.vue +++ b/src/pages/mediation-page/components/LayoutContentNew.vue @@ -84,7 +84,7 @@
-
+
呼叫被申请人
@@ -582,7 +582,9 @@ export default { }, openRecordDialog(obj) { this.visiblemediatRecord = true; - this.visiblemediatRecordObj = obj; + let jsonobj = obj + jsonobj.linkedPerson = JSON.parse(obj.linkedPerson) + this.visiblemediatRecordObj = jsonobj; }, startOutboundCall(params, contactId) { // let params = { diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index ce36497..2e7f52c 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -669,9 +669,8 @@ export default { if (this.queue) { for (let i=0; i < this.queueList.length; i++) { if (this.queueList[i].status.code === 1) { - console.log('定位到可拨打的案件',i,this.queueList[i]) this.index = i - this.startOutboundCall() + this.startOutboundCall({phone:this.queueList[i].phone,contactId:this.queueList[i].contactId}) return } } @@ -688,7 +687,6 @@ export default { if (this.calling) return this.phoneNumber = params.phone this.contactId= params.contactId - // console.log('进入呼叫电话:', this.phoneNumber) try { let res = await window.tccc.Call.startOutboundCall({phoneNumber: this.phoneNumber})