2024-01-26 19:36:27 +00:00
|
|
|
import item from './modules/item';
|
2022-04-19 10:37:47 +00:00
|
|
|
import customer from './modules/customer';
|
2022-03-15 09:33:28 +00:00
|
|
|
import ticket from './modules/ticket';
|
2022-10-17 14:23:19 +00:00
|
|
|
import claim from './modules/claim';
|
2022-11-17 13:03:50 +00:00
|
|
|
import worker from './modules/worker';
|
2022-11-21 12:45:48 +00:00
|
|
|
import invoiceOut from './modules/invoiceOut';
|
2023-10-31 07:56:51 +00:00
|
|
|
import invoiceIn from './modules/invoiceIn';
|
2023-03-14 13:20:37 +00:00
|
|
|
import wagon from './modules/wagon';
|
2023-11-22 18:05:12 +00:00
|
|
|
import supplier from './modules/Supplier';
|
2023-08-08 12:24:51 +00:00
|
|
|
import route from './modules/route';
|
2023-11-25 22:02:26 +00:00
|
|
|
import travel from './modules/travel';
|
2023-12-25 23:38:13 +00:00
|
|
|
import department from './modules/department';
|
2024-04-22 11:34:38 +00:00
|
|
|
import ItemType from './modules/itemType';
|
2023-11-25 23:04:20 +00:00
|
|
|
import shelving from 'src/router/modules/shelving';
|
2023-12-25 23:38:13 +00:00
|
|
|
import order from 'src/router/modules/order';
|
2023-12-29 19:54:35 +00:00
|
|
|
import entry from 'src/router/modules/entry';
|
2024-03-14 14:00:16 +00:00
|
|
|
import roadmap from 'src/router/modules/roadmap';
|
2024-02-21 09:26:20 +00:00
|
|
|
import parking from 'src/router/modules/parking';
|
2024-04-16 05:45:33 +00:00
|
|
|
import agency from 'src/router/modules/agency';
|
2024-04-30 08:32:32 +00:00
|
|
|
import zone from 'src/router/modules/zone';
|
2022-03-11 10:25:30 +00:00
|
|
|
|
2022-03-24 12:33:14 +00:00
|
|
|
const routes = [
|
2022-03-11 10:41:23 +00:00
|
|
|
{
|
|
|
|
path: '/login',
|
2023-08-04 11:29:31 +00:00
|
|
|
component: () => import('../layouts/OutLayout.vue'),
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '',
|
|
|
|
name: 'Login',
|
|
|
|
meta: { title: 'logIn' },
|
|
|
|
component: () => import('../pages/Login/LoginMain.vue'),
|
|
|
|
},
|
|
|
|
{
|
|
|
|
path: '/twoFactor',
|
|
|
|
name: 'TwoFactor',
|
|
|
|
meta: { title: 'twoFactor' },
|
|
|
|
component: () => import('../pages/Login/TwoFactor.vue'),
|
|
|
|
},
|
2023-10-02 12:54:00 +00:00
|
|
|
{
|
|
|
|
path: '/verifyEmail',
|
|
|
|
name: 'VerifyEmail',
|
|
|
|
meta: { title: 'verifyEmail' },
|
|
|
|
component: () => import('../pages/Login/VerifyEmail.vue'),
|
|
|
|
},
|
2023-08-04 11:29:31 +00:00
|
|
|
],
|
2023-08-03 13:56:55 +00:00
|
|
|
},
|
2022-03-11 10:41:23 +00:00
|
|
|
{
|
|
|
|
path: '/',
|
|
|
|
name: 'Main',
|
2022-03-24 15:49:33 +00:00
|
|
|
component: () => import('../layouts/MainLayout.vue'),
|
2022-03-11 10:41:23 +00:00
|
|
|
redirect: { name: 'Dashboard' },
|
|
|
|
children: [
|
|
|
|
{
|
|
|
|
path: '/dashboard',
|
|
|
|
name: 'Dashboard',
|
2022-03-15 09:33:28 +00:00
|
|
|
meta: { title: 'dashboard', icon: 'dashboard' },
|
2022-12-19 10:23:08 +00:00
|
|
|
component: () => import('../pages/Dashboard/DashboardMain.vue'),
|
2022-04-12 12:53:43 +00:00
|
|
|
},
|
2022-03-15 09:33:28 +00:00
|
|
|
// Module routes
|
2024-01-26 19:36:27 +00:00
|
|
|
item,
|
2022-04-19 10:37:47 +00:00
|
|
|
customer,
|
2022-03-15 09:33:28 +00:00
|
|
|
ticket,
|
2022-10-17 14:23:19 +00:00
|
|
|
claim,
|
2022-11-17 13:03:50 +00:00
|
|
|
worker,
|
2023-11-23 04:17:23 +00:00
|
|
|
shelving,
|
2022-11-21 12:45:48 +00:00
|
|
|
invoiceOut,
|
2023-10-31 07:56:51 +00:00
|
|
|
invoiceIn,
|
2023-11-22 18:05:12 +00:00
|
|
|
wagon,
|
2023-12-11 14:47:16 +00:00
|
|
|
order,
|
2023-11-22 18:05:12 +00:00
|
|
|
route,
|
|
|
|
supplier,
|
2023-11-25 22:02:26 +00:00
|
|
|
travel,
|
2023-12-25 23:38:13 +00:00
|
|
|
department,
|
2024-02-15 04:02:01 +00:00
|
|
|
roadmap,
|
2023-12-29 19:54:35 +00:00
|
|
|
entry,
|
2024-02-21 09:26:20 +00:00
|
|
|
parking,
|
2024-04-16 05:45:33 +00:00
|
|
|
agency,
|
2024-04-22 11:34:38 +00:00
|
|
|
ItemType,
|
2024-04-30 08:32:32 +00:00
|
|
|
zone,
|
2022-11-15 12:38:30 +00:00
|
|
|
{
|
2022-12-20 11:30:25 +00:00
|
|
|
path: '/:catchAll(.*)*',
|
2022-11-15 12:38:30 +00:00
|
|
|
name: 'NotFound',
|
|
|
|
component: () => import('../pages/NotFound.vue'),
|
2022-12-20 07:49:02 +00:00
|
|
|
},
|
2022-03-11 10:41:23 +00:00
|
|
|
],
|
2022-12-20 07:49:02 +00:00
|
|
|
},
|
2022-03-11 10:25:30 +00:00
|
|
|
];
|
|
|
|
|
2022-11-21 12:45:48 +00:00
|
|
|
export default routes;
|