修改bug 52187 国内,海外库,企标库 发布稿位置附件名称显示不全

This commit is contained in:
zhangyichen
2022-03-29 15:00:50 +08:00
parent ae0d745534
commit 281d4858c8
@@ -354,9 +354,10 @@
<p class=""><label style=" margin-right: 171px;">企标号</label><span>{{ sarStandardsInfoEO.standCode }}</span></p>
<template v-for="(child, childIndex) in item.child1">
<div class="files-title" style="border-bottom: 1px solid #E5E5E5">
<label style="float: left;">{{ child.attrName }}</label>
<div style="margin-left: 220px;">
<div v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child1Func(child.value)" style="line-height: 50px;">
<label style="float: left;min-height: 43px;line-height: 43px;">{{ child.attrName }}</label>
<template style="margin-left: 220px;">
<div style="position: relative;margin-left: 214px;">
<div v-if="child.value && child.value.length > 0" v-for="(file, fileIndex) in child1Func(child.value)" style="display: flex">
<!-- 单个文件-->
<span v-if="child.value && child.value.length > 0 && child.value.length === 1">
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank" :title="file.oldFileName">{{ file.oldFileName | ellipsis50 }}</a>
@@ -409,7 +410,8 @@
<!-- <el-button v-if="child.value.length > 1" style="color:#409EFF;border: 1px solid #409EFF;background: rgba(64, 158, 255, 0.1);"-->
<!-- class="decomposition-btn" icon="icon-relation" @click="relateEvent1(child.value)">更多</el-button>-->
</div>
</div>
</div>
</template>
<template v-if="child.value === null" >-</template>
</div>
</template>