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