refactor: refs #7119 update vehicle state column name and add filtering options in VehicleList
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
gitea/salix-front/pipeline/pr-dev This commit looks good
Details
This commit is contained in:
parent
d63941adca
commit
458e48d4c6
|
@ -72,8 +72,15 @@ const columns = computed(() => [
|
|||
label: t('vehicle.isKmTruckRate'),
|
||||
},
|
||||
{
|
||||
name: 'state',
|
||||
name: 'vehicleStateFk',
|
||||
label: t('globals.state'),
|
||||
columnFilter: {
|
||||
component: 'select',
|
||||
name: 'vehicleStateFk',
|
||||
optionValue: 'id',
|
||||
optionLabel: 'state',
|
||||
options: vehicleStates.value,
|
||||
},
|
||||
format: (row, dashIfEmpty) => dashIfEmpty(row.event?.state?.state),
|
||||
},
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue