[update] 解决企标计划详情编制说明不显示问题

This commit is contained in:
lideqin
2023-10-20 15:22:08 +08:00
parent 26d64b1a76
commit 37235e707f
@@ -111,7 +111,7 @@
<!-- 编制说明 -->
<div class="detail-page-part-form-item form-item-large-file">
<label>{{ $t('enterpriseStandardLibrary.plan.compilationIllustration') }}</label>
<template v-if="form.compilationFileName">
<template v-if="form.compilationDescription">
<a v-for="item in form.compilationDescriptionList" :key="item.id" @click="handlePreview(item)">{{ item.fileName }}</a>
</template>
<span v-else>{{ global.emptyLine }}</span>
@@ -228,6 +228,7 @@ export default {
// 图片预览,使用自己添加的组件
if (canPreview && FILE_TYPE_IMGS.includes(fileSuffix.toLowerCase())) {
this.imageUrl = getFileAccessHttpUrl(file.id)
console.log(this.imageUrl)
// 获取viewer实例
const viewer = this.$el.querySelector('.image').$viewer
// 调用show方法进行显示预览图