From 4fe54341cf567d771dc5a8836aee9347f0207168 Mon Sep 17 00:00:00 2001 From: liuxi <357439530@qq.com> Date: Mon, 20 Jan 2025 13:36:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/LayoutContentNew.vue | 2 +- .../mediation-page/components/SidebarTool.vue | 20 +++++++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/src/pages/mediation-page/components/LayoutContentNew.vue b/src/pages/mediation-page/components/LayoutContentNew.vue index 3732e37..7f44b7d 100644 --- a/src/pages/mediation-page/components/LayoutContentNew.vue +++ b/src/pages/mediation-page/components/LayoutContentNew.vue @@ -445,7 +445,7 @@ export default { }) }, handleCaseShowFile(item) { - //还款凭证相关 + //查看录音录像文件相关 this.$fetchApi.viewFullFile({path: item}).then((res) => { this.fileDialog = {showfile: {url: item,fullUrl: res}, filelist: []} }); diff --git a/src/pages/mediation-page/components/SidebarTool.vue b/src/pages/mediation-page/components/SidebarTool.vue index 0012718..345c712 100644 --- a/src/pages/mediation-page/components/SidebarTool.vue +++ b/src/pages/mediation-page/components/SidebarTool.vue @@ -52,7 +52,10 @@
通话{{itemrecord.linkedDuration}}秒
-
播放录音
+
+ 播放录音 {{index > 0 ? index : ''}} +
+
沟通备注:{{itemrecord.communicationRemarks}}
@@ -130,7 +133,10 @@
视频{{itemrecord.linkedDuration}}秒
-
播放视频
+
+ 播放视频 {{index > 0 ? index : ''}} +
+
@@ -283,6 +289,8 @@ + + @@ -293,6 +301,7 @@ import contactPerson from "@/services/contactPerson"; export default { name: "SidebarTool", components: { + showFile: () => import('../../../components/showFile.vue'),// uploadFile: () => import('@/components/uploadFile.vue'),//上传 }, props: { @@ -306,6 +315,7 @@ export default { }, data(){ return{ + fileDialog:null, materialTypeOptions: this.$util.getMediationprogress(), rightActive: 0, imgPdf: require('@/assets/image/util/pdf_img.jpg'), @@ -437,6 +447,12 @@ export default { } }) }, + handleCaseShowFile(item) { + //查看录音录像文件相关 + this.$fetchApi.viewFullFile({path: item}).then((res) => { + this.fileDialog = {showfile: {url: item,fullUrl: res}, filelist: []} + }); + }, } }