参数导出模板;对外报告管理

列表缩略
This commit is contained in:
zyx.net
2022-09-07 15:36:34 +08:00
parent ed2f60b109
commit 51497b21de
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -131,7 +131,7 @@
:columns="columns" :columns="columns"
> >
<span slot="projectName" slot-scope="text,record" :title="text"> <span slot="projectName" slot-scope="text,record" :title="text">
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }} {{ text && text.length > 20 ? text.slice(0, 18) + '...' : text }}
</span> </span>
<span slot="fileName" slot-scope="text,record" :title="text"> <span slot="fileName" slot-scope="text,record" :title="text">
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }} {{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
@@ -366,7 +366,7 @@ export default {
align: 'center', align: 'center',
dataIndex: 'fileDescription', dataIndex: 'fileDescription',
scopedSlots: { customRender: 'projectName' }, scopedSlots: { customRender: 'projectName' },
width: 150 width: 300
}, },
{ {
title: this.$t('uploadedBy'), title: this.$t('uploadedBy'),
@@ -44,7 +44,7 @@
:columns="columns" :columns="columns"
> >
<span slot="projectName" slot-scope="text,record" :title="text"> <span slot="projectName" slot-scope="text,record" :title="text">
{{ text && text.length > 25 ? text.slice(0, 24) + '...' : text }} {{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
</span> </span>
<span slot="templateName" slot-scope="text,record" :title="text"> <span slot="templateName" slot-scope="text,record" :title="text">
{{ text && text.length > 25 ? text.slice(0, 21) + '...' : text }} {{ text && text.length > 25 ? text.slice(0, 21) + '...' : text }}