|
|
|
@ -63,10 +63,11 @@ |
|
|
|
'm-info-prop', |
|
|
|
{ 'm-info-prop-vis': source === 'visiual' }, |
|
|
|
]"> |
|
|
|
<span class="u-info-title-2">建议文档:</span> |
|
|
|
<span class="u-info-title-2">建议附件:</span> |
|
|
|
<section class="uploadList1"> |
|
|
|
<div v-for="(file,index) in info.attachmentList" :key="index" :file="file" |
|
|
|
> |
|
|
|
<img style="width: 40px; height: 40px;" :src="file.image"> |
|
|
|
<span>{{ file.name }}</span> |
|
|
|
<span :style="{ cursor: pageType === 'check' ? 'no-drop' : 'pointer' }" style="color: #2d7ad6;margin-left: 20px;" type="text" @click="onClickDown(file)">下载</span> |
|
|
|
</div> |
|
|
|
@ -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 |
|
|
|
} |
|
|
|
|
|
|
|
|