From d530d50aeb4d035f70b001d0a271db5cdc9132a4 Mon Sep 17 00:00:00 2001 From: tangchengming <445785772@qq.com> Date: Fri, 17 Jan 2025 17:08:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=91=BC=E5=87=BA=E6=88=90=E5=8A=9F=E5=BC=B9?= =?UTF-8?q?=E5=87=BA=E6=B2=9F=E9=80=9A=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/mediation-page/components/LayoutContentNew.vue | 4 ++++ src/pages/mediation-page/components/MediationRoom.vue | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/pages/mediation-page/components/LayoutContentNew.vue b/src/pages/mediation-page/components/LayoutContentNew.vue index 52b7f8c..c785c97 100644 --- a/src/pages/mediation-page/components/LayoutContentNew.vue +++ b/src/pages/mediation-page/components/LayoutContentNew.vue @@ -456,6 +456,10 @@ export default { this.getmediate_record(1) }); }).catch(() => {}); + }, + openRecordDialog(obj) { + this.visiblemediatRecord = true; + this.visiblemediatRecordObj = obj; } } }; diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index c17073c..2f155fc 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -109,7 +109,7 @@ - + @@ -399,7 +399,7 @@ export default { console.log('监听挂断事件', options) that.calling = false that.resetTimer() - const that = that.nextCall() + that.nextCall() }) }, beforeDestroy() { @@ -576,6 +576,8 @@ export default { try { let res = await api.callingSuccess({caseId: this.caseId}) console.log('呼叫成功请求接口==callingSuccess:', res) + this.getmediate_record() + this.$refs.layoutContent.openRecordDialog(res.data); } catch (err) { } }, // 呼叫失败