#7119 add VehicleList page and routing configuration #1129

Merged
jorgep merged 71 commits from 7119-createVehicle into dev 2025-02-06 09:24:16 +00:00
1 changed files with 8 additions and 1 deletions
Showing only changes of commit 458e48d4c6 - Show all commits

View File

@ -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),
}, },
]); ]);