修改 国内外标准详情样式
This commit is contained in:
@@ -298,9 +298,11 @@
|
||||
<p class="half"><label style=" margin-right: 150px;">发布日期</label><span>{{ sarStandardsInfoEO.issueTime || '-' }}</span>
|
||||
</p>
|
||||
|
||||
<p class="half"><label style=" margin-right: 150px;">标准体系</label><span>{{
|
||||
sarStandardsInfoEO.standSystem || '-'
|
||||
}}</span></p>
|
||||
<p class="half"><label style=" margin-right: 150px;">标准体系</label>
|
||||
<el-tooltip class="item" effect="dark" :content="sarStandardsInfoEO.standSystem" placement="top">
|
||||
<span>{{sarStandardsInfoEO.standSystem | ellipsis20 }}</span>
|
||||
</el-tooltip>
|
||||
</p>
|
||||
<p class="half">
|
||||
<label style=" margin-right: 84px;">是否纳入认证清单</label>
|
||||
<span>
|
||||
@@ -582,8 +584,8 @@
|
||||
<template v-if="child.attrField === 'XGD' || child.attrField === 'FBGBJBD' || child.attrField === 'BPG'
|
||||
|| child.attrField === 'SSG'|| child.attrField === 'ZQYJG'|| child.attrField === 'CA'
|
||||
|| child.attrField === 'JDWJ' || child.attrField === 'GLWJ'">
|
||||
<a :title="file.oldFileName" target="_blank"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)">{{ file.oldFileName | ellipsis }}</a>
|
||||
<a :title="file.oldFileName" target="_blank" style="width: 200px"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)">{{ file.oldFileName}}</a>
|
||||
<i
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'"
|
||||
class="icon-download"
|
||||
@@ -598,8 +600,8 @@
|
||||
/>
|
||||
</template>
|
||||
<template v-else>
|
||||
<a :title="file.oldFileName" target="_blank"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)">{{ file.oldFileName | ellipsis }}</a>
|
||||
<a :title="file.oldFileName" target="_blank" style="width: 200px"
|
||||
@click="openFileInPdf(file.id, file.oldFileName)">{{ file.oldFileName}}</a>
|
||||
<i
|
||||
v-btn-permission="$route.params.pageType === 'INLAND_STAND' ? 'd5b28957b5105c805e90a16fd5056a45' : 'a772afab2a6708883335500f3f86e771'"
|
||||
class="icon-download"
|
||||
@@ -1842,8 +1844,18 @@ export default {
|
||||
RelatedTermsSelect
|
||||
},
|
||||
filters: {
|
||||
ellipsis20(value) {
|
||||
if (!value) return ''
|
||||
if (value.length > 20) {
|
||||
return value.slice(0, 20) + '...'
|
||||
}
|
||||
return value
|
||||
},
|
||||
ellipsis(value) {
|
||||
if (!value) return ''
|
||||
if (value.length > 12) {
|
||||
return value.slice(0, 12) + '...'
|
||||
}
|
||||
return value
|
||||
},
|
||||
ellipsis50(value) {
|
||||
|
||||
Reference in New Issue
Block a user