调整参数列表的宽度
This commit is contained in:
@@ -70,7 +70,7 @@
|
|||||||
size="middle"
|
size="middle"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
:pagination="false"
|
:pagination="false"
|
||||||
:scroll="{x: true}"
|
:scroll="{x: '100%'}"
|
||||||
rowKey="id"
|
rowKey="id"
|
||||||
:data-source="dataSource"
|
:data-source="dataSource"
|
||||||
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
:row-selection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
|
||||||
@@ -152,7 +152,7 @@ export default {
|
|||||||
{
|
{
|
||||||
title: this.$t('NiONumber'),
|
title: this.$t('NiONumber'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '10%',
|
width: 100,
|
||||||
dataIndex: 'nioNumber',
|
dataIndex: 'nioNumber',
|
||||||
sorter: true
|
sorter: true
|
||||||
},
|
},
|
||||||
@@ -160,29 +160,31 @@ export default {
|
|||||||
title: this.$t('ParameterName'),
|
title: this.$t('ParameterName'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'paramsName',
|
dataIndex: 'paramsName',
|
||||||
|
width: 160,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('ParameterDescription'),
|
title: this.$t('ParameterDescription'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'description',
|
dataIndex: 'description',
|
||||||
scopedSlots: { customRender: 'titleName' }
|
// scopedSlots: { customRender: 'titleName' }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('areaOfResponsibility'),
|
title: this.$t('areaOfResponsibility'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
dataIndex: 'dutyTerritory_dictText'
|
dataIndex: 'dutyTerritory_dictText',
|
||||||
|
width: 150,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('createTime'),
|
title: this.$t('createTime'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
width: '10%',
|
dataIndex: 'createTime',
|
||||||
dataIndex: 'createTime'
|
width: 110,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('operation'),
|
title: this.$t('operation'),
|
||||||
align: 'center',
|
align: 'center',
|
||||||
fixed: 'right',
|
fixed: 'right',
|
||||||
width: 200,
|
width: 100,
|
||||||
scopedSlots: { customRender: 'operation' }
|
scopedSlots: { customRender: 'operation' }
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in New Issue
Block a user