xxx
This commit is contained in:
@@ -8,8 +8,25 @@ const router = createRouter({
|
||||
{ path: '/login', component: () => import('@/modules/login/LoginView.vue') },
|
||||
{ path: '/users', component: () => import('@/modules/users/UsersView.vue') },
|
||||
{ path: '/moldinsight', component: () => import('@/modules/moldinsight/MoldInsightView.vue') },
|
||||
{ path: '/moldinsight/batch', component: () => import('@/modules/moldinsight/BatchView.vue') },
|
||||
{ path: '/moldinsight/result/:taskId', component: () => import('@/modules/moldinsight/ResultView.vue') },
|
||||
{ path: '/inventory', component: () => import('@/modules/inventory/InventoryView.vue') },
|
||||
{
|
||||
path: '/inventory',
|
||||
component: () => import('@/modules/inventory/InventoryView.vue'),
|
||||
redirect: '/inventory/dashboard',
|
||||
children: [
|
||||
{ path: 'dashboard', component: () => import('@/modules/inventory/components/DashboardTab.vue') },
|
||||
{ path: 'products', component: () => import('@/modules/inventory/components/ProductsTab.vue') },
|
||||
{ path: 'materials', component: () => import('@/modules/inventory/components/MaterialsTab.vue') },
|
||||
{ path: 'inventory', component: () => import('@/modules/inventory/components/InventoryTab.vue') },
|
||||
{ path: 'purchases', component: () => import('@/modules/inventory/components/PurchaseOrdersTab.vue') },
|
||||
{ path: 'sales_orders', component: () => import('@/modules/inventory/components/SalesOrdersTab.vue') },
|
||||
{ path: 'suppliers', component: () => import('@/modules/inventory/components/SuppliersTab.vue') },
|
||||
{ path: 'customers', component: () => import('@/modules/inventory/components/CustomersTab.vue') },
|
||||
{ path: 'finance', component: () => import('@/modules/inventory/components/FinanceTab.vue') },
|
||||
{ path: 'movements', component: () => import('@/modules/inventory/components/MovementsTab.vue') },
|
||||
],
|
||||
},
|
||||
{ path: '/_design-system', component: () => import('@/design-system/DesignSystemView.vue') },
|
||||
{ path: '/_release', component: () => import('@/design-system/ReleaseView.vue') },
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user