修改bug
This commit is contained in:
@@ -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'),
|
||||
|
||||
Reference in New Issue
Block a user