认证清单调整列宽

This commit is contained in:
范强强
2023-04-18 09:34:02 +08:00
parent b3556337e4
commit efb577ff32
2 changed files with 13 additions and 7 deletions
@@ -647,7 +647,7 @@
title: this.$t('category'), title: this.$t('category'),
align: 'left', align: 'left',
dataIndex: 'category', dataIndex: 'category',
width: 180, width: 120,
ellipsis: true, ellipsis: true,
fixed: 'left', fixed: 'left',
sorter: true sorter: true
@@ -672,7 +672,7 @@
title: 'WVTA ID', title: 'WVTA ID',
align: 'left', align: 'left',
dataIndex: 'wvtaId', dataIndex: 'wvtaId',
width: 180, width: 120,
ellipsis: true ellipsis: true
}, },
{ {
@@ -688,28 +688,28 @@
title: this.$t('areaOfResponsibility'), title: this.$t('areaOfResponsibility'),
align: 'left', align: 'left',
dataIndex: 'dutyTerritoryName', dataIndex: 'dutyTerritoryName',
width: 180, width: 120,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('certificationType'), title: this.$t('certificationType'),
align: 'left', align: 'left',
dataIndex: 'attestationTypeName', dataIndex: 'attestationTypeName',
width: 180, width: 120,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('engineeringInterfacePerson'), title: this.$t('engineeringInterfacePerson'),
align: 'left', align: 'left',
dataIndex: 'sdtName', dataIndex: 'sdtName',
width: 180, width: 120,
ellipsis: true ellipsis: true
}, },
{ {
title: this.$t('personLiable'), title: this.$t('personLiable'),
align: 'left', align: 'left',
dataIndex: 'dutyPersonName', dataIndex: 'dutyPersonName',
width: 180, width: 120,
ellipsis: true ellipsis: true
}, },
{ {
@@ -740,7 +740,7 @@
title: this.$t('closingDate'), title: this.$t('closingDate'),
align: 'left', align: 'left',
dataIndex: 'endTime', dataIndex: 'endTime',
width: 180, width: 120,
sorter: true, sorter: true,
ellipsis: true ellipsis: true
}, },
@@ -812,6 +812,7 @@
dataIndex: 'designFlowStatusName', dataIndex: 'designFlowStatusName',
align: 'left', align: 'left',
ellipsis: true, ellipsis: true,
sorter: true,
width: 140, width: 140,
scopedSlots: { customRender: 'designFlowStatusName' } scopedSlots: { customRender: 'designFlowStatusName' }
}, },
@@ -859,6 +860,7 @@
align: 'left', align: 'left',
ellipsis: true, ellipsis: true,
width: 180, width: 180,
sorter: true,
scopedSlots: { customRender: 'verifyFlowStatusName' } scopedSlots: { customRender: 'verifyFlowStatusName' }
}, },
{ {
@@ -2254,6 +2256,10 @@
this.orderByField = 'designDutyId' this.orderByField = 'designDutyId'
} else if (sorter.columnKey == 'verifyDutyIdName') { } else if (sorter.columnKey == 'verifyDutyIdName') {
this.orderByField = 'verifyDutyId' this.orderByField = 'verifyDutyId'
} else if (sorter.columnKey == 'verifyFlowStatusName') {
this.orderByField = 'verifyFlowStatus'
} else if (sorter.columnKey == 'designFlowStatusName') {
this.orderByField = 'designFlowStatus'
} else { } else {
this.orderByField = sorter.columnKey this.orderByField = sorter.columnKey
} }