#7119 add VehicleList page and routing configuration #1129
|
@ -72,8 +72,15 @@ const columns = computed(() => [
|
||||||
label: t('vehicle.isKmTruckRate'),
|
label: t('vehicle.isKmTruckRate'),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'state',
|
name: 'vehicleStateFk',
|
||||||
label: t('globals.state'),
|
label: t('globals.state'),
|
||||||
|
columnFilter: {
|
||||||
|
component: 'select',
|
||||||
|
name: 'vehicleStateFk',
|
||||||
|
optionValue: 'id',
|
||||||
|
optionLabel: 'state',
|
||||||
|
options: vehicleStates.value,
|
||||||
|
},
|
||||||
format: (row, dashIfEmpty) => dashIfEmpty(row.event?.state?.state),
|
format: (row, dashIfEmpty) => dashIfEmpty(row.event?.state?.state),
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in New Issue