修改禅道已知bug

This commit is contained in:
qq787203167
2022-08-11 09:50:14 +08:00
parent f7f1c15ca0
commit 2e3c94de2a
4 changed files with 25 additions and 10 deletions
@@ -100,8 +100,8 @@
v-if="record.createBy == userInfoQuery.username && record.releaseCondition == 'draft'"
@click="deleteData(record)">{{$t('delete')}}</a>
</span>
<span slot="title" slot-scope="text,record" :title="text">
{{ text && text.length > 15 ? text.slice(0, 14) + '...' : text }}
<span slot="standardTitle" slot-scope="text,record" :title="text">
{{ text}}
</span>
<span slot="translationLanguage" slot-scope="text,record"
:title="record.sourceLanguage_dictText +' -- '+record.targetLanguage_dictText">
@@ -150,7 +150,7 @@
},
toggleSearchStatus: false,
loading: false,
dataSource: [{}],
dataSource: [],
selectedRowKeys: [],
total: 0,
pageSize: 10,
@@ -164,14 +164,16 @@
align: 'center',
dataIndex: 'serialNumber',
width: 170,
scopedSlots: { customRender: 'title' }
ellipsis: true,
scopedSlots: { customRender: 'standardTitle' }
},
{
title: this.$t('title'),
align: 'center',
dataIndex: 'title',
width: 170,
scopedSlots: { customRender: 'title' }
ellipsis: true,
scopedSlots: { customRender: 'standardTitle' }
},
{
title: this.$t('TextStatus'),
@@ -254,7 +256,7 @@
this.pageNo = page
this.getList()
},
SizeChange(page,pageSize) {
SizeChange(page, pageSize) {
this.pageNo = 1
this.pageSize = pageSize
this.getList()