From 066184274760e8e6f350b5f9a20f1486f5f13550 Mon Sep 17 00:00:00 2001 From: tangchengming <445785772@qq.com> Date: Mon, 20 Jan 2025 15:59:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=8E=B0=E5=9C=A8=E4=B8=8A=E4=B8=80=E4=B8=AA?= =?UTF-8?q?=E4=B8=8B=E4=B8=80=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/LayoutContentNew.vue | 13 ++++ .../components/MediationRoom.vue | 63 ++++++++++++------- .../mediation-page/components/SidebarTool.vue | 9 +++ 3 files changed, 62 insertions(+), 23 deletions(-) diff --git a/src/pages/mediation-page/components/LayoutContentNew.vue b/src/pages/mediation-page/components/LayoutContentNew.vue index 7f44b7d..9cee73e 100644 --- a/src/pages/mediation-page/components/LayoutContentNew.vue +++ b/src/pages/mediation-page/components/LayoutContentNew.vue @@ -365,6 +365,17 @@ export default { return oh - 57 - 128 }, }, + watch: { + caseId: { + handler(val) { + this.mediaterecordpm.caseId = val + this.getCaseInfoById();//获取详情 + this.getmediate_record() + }, + immediate: true, + deep: true + }, + }, async created() { this.mediaterecordpm.caseId = this.caseId this.eventDialog.caseId = this.caseId @@ -441,6 +452,8 @@ export default { api.mediate_record_list(this.mediaterecordpm).then(res => { if (!res.code) { this.communicationRecord = res + } else { + this.communicationRecord = [] } }) }, diff --git a/src/pages/mediation-page/components/MediationRoom.vue b/src/pages/mediation-page/components/MediationRoom.vue index d2a6df0..7871094 100644 --- a/src/pages/mediation-page/components/MediationRoom.vue +++ b/src/pages/mediation-page/components/MediationRoom.vue @@ -6,7 +6,7 @@