列表默认宽度

This commit is contained in:
zyx.net
2023-04-19 14:09:35 +08:00
parent 97e9b6567e
commit 1115f7a0d5
4 changed files with 16 additions and 14 deletions
@@ -164,7 +164,7 @@ export default {
{ {
title: this.$t('zoneOfApplication'), title: this.$t('zoneOfApplication'),
align: 'left', align: 'left',
width: 235, width: 125,
ellipsis: true, ellipsis: true,
sorter:true, sorter:true,
dataIndex: 'region_dictText', dataIndex: 'region_dictText',
@@ -172,7 +172,7 @@ export default {
{ {
title: this.$t('parameterTemplate'), title: this.$t('parameterTemplate'),
align: 'left', align: 'left',
width: 252, width: 200,
ellipsis: true, ellipsis: true,
sorter:true, sorter:true,
dataIndex: 'paramsTemplateName', dataIndex: 'paramsTemplateName',
@@ -184,7 +184,7 @@ export default {
ellipsis: true, ellipsis: true,
dataIndex: 'description', dataIndex: 'description',
// scopedSlots: { customRender: 'titleName' } // scopedSlots: { customRender: 'titleName' }
width: 350 width: 300
}, },
// { // {
// title: this.$t('zoneOfApplication'), // title: this.$t('zoneOfApplication'),
@@ -170,7 +170,7 @@ export default {
dataIndex: 'templateName', dataIndex: 'templateName',
sorter:true, sorter:true,
ellipsis: true, ellipsis: true,
width: 368, width: 200,
scopedSlots: { customRender: 'templateName' } scopedSlots: { customRender: 'templateName' }
}, },
{ {
@@ -178,7 +178,7 @@ export default {
align: 'left', align: 'left',
dataIndex: 'description', dataIndex: 'description',
ellipsis: true, ellipsis: true,
width: 372, width: 300,
scopedSlots: { customRender: 'projectName' } scopedSlots: { customRender: 'projectName' }
}, },
{ {
@@ -187,7 +187,7 @@ export default {
dataIndex: 'region_dictText', dataIndex: 'region_dictText',
ellipsis: true, ellipsis: true,
sorter:true, sorter:true,
width: 200 width: 125
}, },
{ {
title: this.$t('status'), title: this.$t('status'),
@@ -679,13 +679,14 @@
align: 'left', align: 'left',
dataIndex: 'attestationTypeName', dataIndex: 'attestationTypeName',
width: 100, width: 100,
sorter: true,
ellipsis: true ellipsis: true
}, },
{ {
title: 'WVTA ID', title: 'WVTA ID',
align: 'left', align: 'left',
dataIndex: 'wvtaId', dataIndex: 'wvtaId',
width: 75, width: 95,
sorter: true, sorter: true,
ellipsis: true ellipsis: true
}, },
@@ -710,7 +711,7 @@
title: this.$t('engineeringInterfacePerson'), title: this.$t('engineeringInterfacePerson'),
align: 'left', align: 'left',
dataIndex: 'sdtName', dataIndex: 'sdtName',
width: 90, width: 110,
sorter: true, sorter: true,
ellipsis: true ellipsis: true
}, },
@@ -750,7 +751,7 @@
title: this.$t('closingDate'), title: this.$t('closingDate'),
align: 'left', align: 'left',
dataIndex: 'endTime', dataIndex: 'endTime',
width: 100, width: 130,
sorter: true, sorter: true,
ellipsis: true ellipsis: true
}, },
@@ -308,7 +308,7 @@
title: this.$t('category'), title: this.$t('category'),
align: 'left', align: 'left',
dataIndex: 'category', dataIndex: 'category',
width: 200, width: 90,
sorter: true, sorter: true,
// fixed: 'left', // fixed: 'left',
ellipsis: true ellipsis: true
@@ -328,13 +328,14 @@
align: 'left', align: 'left',
sorter: true, sorter: true,
dataIndex: 'configItem', dataIndex: 'configItem',
width: 200, width: 75,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('certificationType'), title: this.$t('certificationType'),
align: 'left', align: 'left',
dataIndex: 'attestationTypeName', dataIndex: 'attestationTypeName',
sorter: true,
width: 100, width: 100,
ellipsis: true ellipsis: true
}, },
@@ -343,7 +344,7 @@
align: 'left', align: 'left',
sorter: true, sorter: true,
dataIndex: 'wvtaId', dataIndex: 'wvtaId',
width: 75, width: 95,
ellipsis: true ellipsis: true
}, },
{ {
@@ -359,7 +360,7 @@
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
align: 'left', align: 'left',
dataIndex: 'dutyTerritoryName', dataIndex: 'dutyTerritoryName',
width: 150, width: 100,
sorter: true, sorter: true,
ellipsis: true ellipsis: true
}, },
@@ -383,7 +384,7 @@
title: this.$t('operation'), title: this.$t('operation'),
align: 'left', align: 'left',
fixed: 'right', fixed: 'right',
width: 250, width: 180,
scopedSlots: { customRender: 'operation' } scopedSlots: { customRender: 'operation' }
} }
], ],