调整参数列表的宽度

This commit is contained in:
zer0Black
2022-07-03 14:51:24 +08:00
parent aaefa47298
commit 755570d430
@@ -70,7 +70,7 @@
size="middle"
:loading="loading"
:pagination="false"
:scroll="{x: true}"
:scroll="{x: '100%'}"
rowKey="id"
:data-source="dataSource"
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -152,7 +152,7 @@ export default {
{
title: this.$t('NiONumber'),
align: 'center',
width: '10%',
width: 100,
dataIndex: 'nioNumber',
sorter: true
},
@@ -160,29 +160,31 @@ export default {
title: this.$t('ParameterName'),
align: 'center',
dataIndex: 'paramsName',
width: 160,
},
{
title: this.$t('ParameterDescription'),
align: 'center',
dataIndex: 'description',
scopedSlots: { customRender: 'titleName' }
// scopedSlots: { customRender: 'titleName' }
},
{
title: this.$t('areaOfResponsibility'),
align: 'center',
dataIndex: 'dutyTerritory_dictText'
dataIndex: 'dutyTerritory_dictText',
width: 150,
},
{
title: this.$t('createTime'),
align: 'center',
width: '10%',
dataIndex: 'createTime'
dataIndex: 'createTime',
width: 110,
},
{
title: this.$t('operation'),
align: 'center',
fixed: 'right',
width: 200,
width: 100,
scopedSlots: { customRender: 'operation' }
}
],