修改禅道bug
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
size="middle"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: '100%',y:'calc(100vh - 130px)'}"
|
||||
:scroll="{x: '100%',y:'calc(100vh - 158px)'}"
|
||||
rowKey="id"
|
||||
:data-source="dataSource"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
@@ -44,7 +44,7 @@
|
||||
>
|
||||
<span slot="projectName" slot-scope="text,record" :title="text">
|
||||
<a >
|
||||
{{ text && text.length > 10 ? text.slice(0, 9) + '...' : text }}
|
||||
{{ text && text.length > 20 ? text.slice(0, 19) + '...' : text }}
|
||||
</a>
|
||||
</span>
|
||||
<span slot="operation" slot-scope="text,record">
|
||||
@@ -113,7 +113,7 @@
|
||||
{
|
||||
title: this.$t('entryName'),
|
||||
align: 'center',
|
||||
width: '13%',
|
||||
width: '17%',
|
||||
dataIndex: 'projectName',
|
||||
scopedSlots: { customRender: 'projectName' }
|
||||
},
|
||||
|
||||
@@ -37,14 +37,14 @@
|
||||
size="middle"
|
||||
:loading="loading"
|
||||
:pagination="false"
|
||||
:scroll="{x: '100%',y:'calc(100vh - 140px)'}"
|
||||
:scroll="{x: '100%',y:'calc(100vh - 160px)'}"
|
||||
rowKey="id"
|
||||
:data-source="dataSource"
|
||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||
:columns="columns"
|
||||
>
|
||||
<span slot="projectName" slot-scope="text,record" :title="text">
|
||||
{{ text && text.length > 40 ? text.slice(0, 39) + '...' : text }}
|
||||
{{ text && text.length > 25 ? text.slice(0, 24) + '...' : text }}
|
||||
</span>
|
||||
<span slot="templateName" slot-scope="text,record" :title="text">
|
||||
{{ text && text.length > 25 ? text.slice(0, 21) + '...' : text }}
|
||||
@@ -150,30 +150,32 @@ export default {
|
||||
title: this.$t('templateName'),
|
||||
align: 'center',
|
||||
dataIndex: 'templateName',
|
||||
width: 300,
|
||||
scopedSlots: { customRender: 'templateName' }
|
||||
},
|
||||
{
|
||||
title: this.$t('contentDescription'),
|
||||
align: 'center',
|
||||
dataIndex: 'description',
|
||||
width: 300,
|
||||
scopedSlots: { customRender: 'projectName' }
|
||||
},
|
||||
{
|
||||
title: this.$t('status'),
|
||||
align: 'center',
|
||||
width: '5%',
|
||||
width: 100,
|
||||
dataIndex: 'state_dictText'
|
||||
},
|
||||
{
|
||||
title: this.$t('creater'),
|
||||
align: 'center',
|
||||
width: '10%',
|
||||
width: 100,
|
||||
dataIndex: 'createBy'
|
||||
},
|
||||
{
|
||||
title: this.$t('Latestupdatetime'),
|
||||
align: 'center',
|
||||
width: '10%',
|
||||
width: 180,
|
||||
dataIndex: 'updateTime'
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user