#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
3 changed files with 2 additions and 11 deletions
Showing only changes of commit 5027b9a174 - Show all commits

View File

@ -99,13 +99,6 @@ function getValueFromPath(path) {
}
const emit = defineEmits(['onFetch']);
const iconModule = computed(() => route.matched[1].meta.icon);
const toModule = computed(() =>
route.matched[1].path.split('/').length > 2
? route.matched[1].redirect
: route.matched[1].children[0].redirect
);
</script>
<template>
@ -118,10 +111,10 @@ const toModule = computed(() =>
flat
dense
size="md"
:icon="iconModule"
:icon="$route.matched[1].meta.icon"
color="white"
class="link"
:to="$attrs['to-module'] ?? toModule"
:to="`/${$route.meta.moduleName}`"
>
<QTooltip>
{{ t('globals.goToModuleIndex') }}

View File

@ -57,7 +57,6 @@ const { openConfirmationModal } = useVnConfirm();
:title="data.title"
:subtitle="data.subtitle"
:summary="$props.summary"
:to-module="{ name: 'WorkerDepartment' }"
@on-fetch="
(data) => {
department = data;

View File

@ -29,7 +29,6 @@ const filter = {
:url="`Parkings/${entityId}`"
title="code"
:filter="filter"
:to-module="{ name: 'ParkingList' }"
>
<template #body="{ entity }">
<VnLv :label="t('globals.code')" :value="entity.code" />