Merge branch 'fix_foton_20240408' into 'master'

国内标准详情页 过程稿件改为两行显示文件名

See merge request laws-foton-slrs/foton-laws-system-front!175
This commit is contained in:
王晓勇
2024-04-12 09:50:38 +00:00
2 changed files with 8 additions and 8 deletions
@@ -133,10 +133,11 @@
<el-popover trigger="hover" placement="top">
{{ scope.row.institutionName }}
<div slot="reference" class="name-wrapper">
<p v-if="!scope.row.institutionName || scope.row.institutionName.length<15">
<!-- <p v-if="!scope.row.institutionName || scope.row.institutionName.length<15">
{{ scope.row.institutionName }}
</p>
<p v-else> {{ scope.row.institutionName.substring(0, 15) }}...</p>
<p v-else> {{ scope.row.institutionName.substring(0, 15) }}...</p>-->
<p> {{ scope.row.institutionName }}</p>
</div>
</el-popover>
</template>
@@ -1844,9 +1844,6 @@ export default {
filters: {
ellipsis(value) {
if (!value) return ''
if (value.length > 12) {
return value.slice(0, 12) + '...'
}
return value
},
ellipsis50(value) {
@@ -4227,9 +4224,11 @@ export default {
a {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
width: calc(~'100% - 40px');
white-space: nowrap;
display: block;
white-space: break-spaces;
}
}
@@ -4623,7 +4622,7 @@ export default {
width: calc(~'100% - 225px');
& > .files-title {
width: calc(~'100% - 120px');
width: calc(~'100% - 10px');
//报批稿撑开
//min-height: 50px;
//line-height: 50px;