This commit is contained in:
2026-06-24 14:52:49 +07:00
parent 974ba0e3c3
commit a06d0badfc
12 changed files with 973 additions and 8 deletions
+37
View File
@@ -49,6 +49,43 @@ const routes = [
/* webpackChunkName: "dashboard" */ '@/views/dashboard/Dashboard.vue'
),
},
{
path: '/tickets',
name: 'Tickets',
component: {
render() {
return h(resolveComponent('router-view'))
},
},
redirect: '/tickets/ticket',
children: [
{
path: '/tickets/ticket',
name: 'Ticket',
component: () => import('@/views/tickets/Ticket.vue'),
},
{
path: '/tickets/ticket-type',
name: 'Ticket Type',
component: () => import('@/views/tickets/TicketType.vue'),
},
{
path: '/tickets/ticket-materials',
name: 'Ticket Materials',
component: () => import('@/views/tickets/TicketMaterials.vue'),
},
{
path: '/tickets/approved',
name: 'Approved',
component: () => import('@/views/tickets/Approved.vue'),
},
{
path: '/tickets/rejected',
name: 'Rejected',
component: () => import('@/views/tickets/Rejected.vue'),
},
],
},
{
path: '/theme',
name: 'Theme',