From 3f6311da7fdb9ed2c1bfc73ad8f2d2950cfcbfab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=AF=E5=B0=8F=E7=8E=8B=E5=91=80=5C24601?= <819653817@qq.com> Date: Tue, 24 Dec 2024 16:53:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E9=99=84=E4=BB=B6=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../modules/shequzhili/peopleOpinons/cpts/eventDetail.vue | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/views/modules/shequzhili/peopleOpinons/cpts/eventDetail.vue b/src/views/modules/shequzhili/peopleOpinons/cpts/eventDetail.vue index 498e80fde..2db7d7ea1 100644 --- a/src/views/modules/shequzhili/peopleOpinons/cpts/eventDetail.vue +++ b/src/views/modules/shequzhili/peopleOpinons/cpts/eventDetail.vue @@ -63,10 +63,11 @@ 'm-info-prop', { 'm-info-prop-vis': source === 'visiual' }, ]"> - 建议文档: + 建议附件:
+ {{ file.name }} 下载
@@ -280,7 +281,10 @@ export default { if (this.eventId) { this.info = JSON.parse(JSON.stringify(this.eventDetailData)); this.info.attachmentList = this.eventDetailData.attachmentList.filter(item => item.type == 'doc') - console.log(this.info, "dslkjlksgjlskdj"); + this.info.attachmentList.map(item=>{ + item.image=item.name.split('.').pop()=='pdf'?"https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/prod/20241224/3859c08cd2e64e73924d768acd3f7dee.png":"https://elink-esua-epdc.oss-cn-qingdao.aliyuncs.com/epmet-saas/prod/20241224/35ef6aa0a06548c1a5811e28ba53562b.png" + + }) this.agencyId = this.info.agencyId }