feat: refs #7119 add VehicleNotes component and update routing to include notes section
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
6f5aed2cbe
commit
dd90af9b6c
|
@ -0,0 +1,7 @@
|
||||||
|
<script setup>
|
||||||
|
import VnNotes from 'src/components/ui/VnNotes.vue';
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<VnNotes :add-note="true" url="VehicleNotes" :body="{ userFk: $route.params.id }" />
|
||||||
|
</template>
|
|
@ -12,7 +12,7 @@ export default {
|
||||||
redirect: { name: 'VehicleCard' },
|
redirect: { name: 'VehicleCard' },
|
||||||
menus: {
|
menus: {
|
||||||
main: [],
|
main: [],
|
||||||
card: ['VehicleBasicData'],
|
card: ['VehicleBasicData', 'VehicleNotes'],
|
||||||
},
|
},
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
|
@ -39,7 +39,17 @@ export default {
|
||||||
icon: 'vn:settings',
|
icon: 'vn:settings',
|
||||||
},
|
},
|
||||||
component: () =>
|
component: () =>
|
||||||
import('pages/Route/Vehicle/Card/VehicleBasicData.vue'),
|
import('src/pages/Route/Vehicle/Card/VehicleBasicData.vue'),
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'VehicleNotes',
|
||||||
|
path: 'notes',
|
||||||
|
meta: {
|
||||||
|
title: 'notes',
|
||||||
|
icon: 'vn:notes',
|
||||||
|
},
|
||||||
|
component: () =>
|
||||||
|
import('src/pages/Route/Vehicle/Card/VehicleNotes.vue'),
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue