0
0
Fork 0

Create route logs

This commit is contained in:
Kevin Martinez 2024-01-28 12:58:19 -03:00
parent b3f8d369ee
commit 76dd84fd87
4 changed files with 20 additions and 3 deletions

View File

@ -887,7 +887,8 @@ export default {
create: 'Create', create: 'Create',
basicData: 'Basic Data', basicData: 'Basic Data',
summary: 'Summary', summary: 'Summary',
tickets: 'Tickets' tickets: 'Tickets',
log: 'Log'
}, },
cmr: { cmr: {
list: { list: {

View File

@ -941,7 +941,8 @@ export default {
create: 'Crear', create: 'Crear',
basicData: 'Datos básicos', basicData: 'Datos básicos',
summary: 'Summary', summary: 'Summary',
tickets: 'Tickets' tickets: 'Tickets',
log: 'Historial',
}, },
cmr: { cmr: {
list: { list: {

View File

@ -0,0 +1,6 @@
<script setup>
import VnLog from 'src/components/common/VnLog.vue';
</script>
<template>
<VnLog model="Route" url="/RouteLogs"></VnLog>
</template>

View File

@ -11,7 +11,7 @@ export default {
redirect: { name: 'RouteMain' }, redirect: { name: 'RouteMain' },
menus: { menus: {
main: ['RouteList', 'CmrList'], main: ['RouteList', 'CmrList'],
card: ['RouteBasicData', 'RouteTickets'], card: ['RouteBasicData', 'RouteTickets', 'RouteLog'],
}, },
children: [ children: [
{ {
@ -81,6 +81,15 @@ export default {
}, },
component: () => import('src/pages/Route/RouteTickets.vue'), component: () => import('src/pages/Route/RouteTickets.vue'),
}, },
{
path: 'log',
name: 'RouteLog',
meta: {
title: 'log',
icon: 'vn:History',
},
component: () => import('src/pages/Route/RouteLog.vue'),
},
], ],
}, },
], ],