修改bug 56642 【演示问题】国内/海外 更改发布改的状态 译文和原文 与查看界面呼应 否则无法分辨数据
This commit is contained in:
@@ -74,6 +74,46 @@
|
|||||||
</p>
|
</p>
|
||||||
</template>
|
</template>
|
||||||
<template v-else-if="child.value === null">-</template>
|
<template v-else-if="child.value === null">-</template>
|
||||||
|
<!--发布稿(必读)-->
|
||||||
|
<template v-for="(child, childIndex) in item.child6" v-if="child.value && child.value.length > 0">
|
||||||
|
<p class="files-titles" style="border-bottom: 1px solid #E5E5E5">
|
||||||
|
<label style="float: left">{{ child.attrName }}</label>
|
||||||
|
<template v-if="child.value && child.value.length > 0" >
|
||||||
|
<div style="position: relative;margin-left: 214px; line-height: 32px">
|
||||||
|
<div v-for="(file, fileIndex) in child6Func(child.value)" style="display: flex;">
|
||||||
|
<span v-if="child.value && child.value.length > 0 && child.value.length === 1" style="display: flex; align-items: center;">
|
||||||
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer;display: inline-block"
|
||||||
|
@click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||||
|
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
||||||
|
<i title="下载" @click="downloadFile(file.id)" class="icon-download"
|
||||||
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'"
|
||||||
|
/>
|
||||||
|
<i title="下载带水印" @click="downloadFileByWater(file.id, file.fileSuffix)" class="icon-download2"
|
||||||
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
<!--多个文件时-->
|
||||||
|
<div v-else-if="child.value && child.value.length > 0">
|
||||||
|
<span style="display: flex; align-items: center;">
|
||||||
|
<a style="font-size: 16px;color: #409EFF;cursor: pointer" @click="openFileInPdf(file.id, file.oldFileName)" target="_blank"
|
||||||
|
:title="file.oldFileName">{{ file.oldFileName | ellipsis50}}</a>
|
||||||
|
<i title="下载" @click="downloadFile(file.id)" class="icon-download"
|
||||||
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'"
|
||||||
|
/>
|
||||||
|
<i title="下载带水印" @click="downloadFileByWater(file.id, file.fileSuffix)" class="icon-download2"
|
||||||
|
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? '02fd6eff0537c283dd071683de10689f' : '824f3bf9edef83fc7488917136167232'"
|
||||||
|
/>
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<el-button v-if="child.attrField === 'FBGYWBD'" @click="showItemsModel(child.attrField)" class="decomposition-btn">标准分解单
|
||||||
|
</el-button>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<template v-else-if="child.value === null">-</template>
|
||||||
|
</p>
|
||||||
|
</template>
|
||||||
|
<template v-else-if="child.value === null">-</template>
|
||||||
<!--修订本-->
|
<!--修订本-->
|
||||||
<template v-for="(child, childIndex) in item.child5">
|
<template v-for="(child, childIndex) in item.child5">
|
||||||
<p class="files-title">
|
<p class="files-title">
|
||||||
@@ -300,7 +340,7 @@
|
|||||||
<template v-for="(child, childIndex) in item.one" v-if="child.isShowImp === '0' && item.label == '过程稿件'">
|
<template v-for="(child, childIndex) in item.one" v-if="child.isShowImp === '0' && item.label == '过程稿件'">
|
||||||
<!-- 增补件(必读)和勘误件不放在过程稿件里了-->
|
<!-- 增补件(必读)和勘误件不放在过程稿件里了-->
|
||||||
<div
|
<div
|
||||||
v-show="child.attrField !== 'ZBJBD' && child.attrField !== 'KWJ'"
|
v-show="child.attrField !== 'ZBJBD' && child.attrField !== 'KWJ' && child.attrField !== 'FBGYWBD' "
|
||||||
:key="child.id"
|
:key="child.id"
|
||||||
:class="'modular-item half'"
|
:class="'modular-item half'"
|
||||||
>
|
>
|
||||||
@@ -1805,6 +1845,14 @@
|
|||||||
}
|
}
|
||||||
return child5
|
return child5
|
||||||
},
|
},
|
||||||
|
child6Func(child6) {
|
||||||
|
const list = []
|
||||||
|
if (child6 && child6.length > 1) {
|
||||||
|
list.push(child6[0])
|
||||||
|
return list
|
||||||
|
}
|
||||||
|
return child6
|
||||||
|
},
|
||||||
handleChange(val) {
|
handleChange(val) {
|
||||||
},
|
},
|
||||||
handleChange1(val) {
|
handleChange1(val) {
|
||||||
@@ -3355,6 +3403,14 @@
|
|||||||
location['child5'] = childList
|
location['child5'] = childList
|
||||||
|
|
||||||
}
|
}
|
||||||
|
//修订本
|
||||||
|
if (!list[0].child) {
|
||||||
|
location['child6'] = []
|
||||||
|
} else {
|
||||||
|
const childList = list[0].child.filter(item => item.attrField === 'FBGYWBD');
|
||||||
|
location['child6'] = childList
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
// 动态属性字段-SYRZ 单独添加至基础信息
|
// 动态属性字段-SYRZ 单独添加至基础信息
|
||||||
const list2 = displayLocation.filter(item => item.label === '适用范围');
|
const list2 = displayLocation.filter(item => item.label === '适用范围');
|
||||||
|
|||||||
Reference in New Issue
Block a user