修改bug

This commit is contained in:
zyx.net
2022-08-10 14:16:18 +08:00
parent 09951ea739
commit ecb25c4825
7 changed files with 52 additions and 19 deletions
@@ -78,7 +78,7 @@
size="middle"
:loading="loading"
:pagination="false"
:scroll="{x: '100%'}"
:scroll="{x: '100%',y:'calc(100vh - 140px)'}"
rowKey="id"
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -100,6 +100,9 @@
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>
<span slot="translationLanguage" slot-scope="text,record"
:title="record.sourceLanguage_dictText +' -- '+record.targetLanguage_dictText">
<span class="translationLanguageText" style="margin-top: -2px">{{record.sourceLanguage_dictText}}</span>
@@ -160,13 +163,15 @@
title: this.$t('standard'),
align: 'center',
dataIndex: 'serialNumber',
width: 170
width: 170,
scopedSlots: { customRender: 'title' }
},
{
title: this.$t('title'),
align: 'center',
dataIndex: 'title',
width: 170
width: 170,
scopedSlots: { customRender: 'title' }
},
{
title: this.$t('TextStatus'),