Files
moc/src/router/elegant/routes.ts
T
2026-08-13 13:34:14 +08:00

174 lines
3.8 KiB
TypeScript

/* eslint-disable */
/* prettier-ignore */
// Generated by elegant-router
// Read more: https://github.com/soybeanjs/elegant-router
import type { GeneratedRoute } from '@elegant-router/types';
export const generatedRoutes: GeneratedRoute[] = [
{
name: '403',
path: '/403',
component: 'layout.blank$view.403',
meta: {
title: '403',
i18nKey: 'route.403',
constant: true,
hideInMenu: true
}
},
{
name: '404',
path: '/404',
component: 'layout.blank$view.404',
meta: {
title: '404',
i18nKey: 'route.404',
constant: true,
hideInMenu: true
}
},
{
name: '500',
path: '/500',
component: 'layout.blank$view.500',
meta: {
title: '500',
i18nKey: 'route.500',
constant: true,
hideInMenu: true
}
},
{
name: 'changeledger',
path: '/changeledger',
component: 'layout.base',
meta: {
title: 'changeledger',
i18nKey: 'route.changeledger',
icon: 'tabler:table',
order: 2
},
children: [
{
name: 'changeledger_mychanges',
path: '/changeledger/mychanges',
component: 'view.changeledger_mychanges',
meta: {
title: 'changeledger_mychanges',
i18nKey: 'route.changeledger_mychanges',
icon: ''
}
},
{
name: 'changeledger_workshopchanges',
path: '/changeledger/workshopchanges',
component: 'view.changeledger_workshopchanges',
meta: {
title: 'changeledger_workshopchanges',
i18nKey: 'route.changeledger_workshopchanges',
icon: ''
}
}
]
},
{
name: 'changestatistics',
path: '/changestatistics',
component: 'layout.base$view.changestatistics',
meta: {
title: 'changestatistics',
i18nKey: 'route.changestatistics',
icon: 'ix:barchart',
order: 3
}
},
{
name: 'home',
path: '/home',
component: 'layout.base',
meta: {
title: 'home',
i18nKey: 'route.home',
icon: 'lucide:home',
order: 1
},
children: [
{
name: 'home_index',
path: '/home/index',
component: 'view.home_index',
meta: {
title: 'home_index',
i18nKey: 'route.home_index',
icon: ''
}
},
{
name: 'home_initiatechange',
path: '/home/initiatechange',
component: 'view.home_initiatechange',
meta: {
title: 'home_initiatechange',
i18nKey: 'route.home_initiatechange',
icon: ''
}
},
{
name: 'home_mydraft',
path: '/home/mydraft',
component: 'view.home_mydraft',
meta: {
title: 'home_mydraft',
i18nKey: 'route.home_mydraft',
icon: ''
}
},
{
name: 'home_pending',
path: '/home/pending',
component: 'view.home_pending',
meta: {
title: 'home_pending',
i18nKey: 'route.home_pending',
icon: ''
}
},
{
name: 'home_process',
path: '/home/process',
component: 'view.home_process',
meta: {
title: 'home_process',
i18nKey: 'route.home_process',
icon: ''
}
},
{
name: 'home_processdetail',
path: '/home/processdetail',
component: 'view.home_processdetail',
meta: {
title: 'home_processdetail',
i18nKey: 'route.home_processdetail',
activeMenu: 'home_process',
hideInMenu: true,
icon: ''
}
}
]
},
{
name: 'login',
path: '/login/:module(pwd-login)?',
component: 'layout.blank$view.login',
props: true,
meta: {
title: 'login',
i18nKey: 'route.login',
constant: true,
hideInMenu: true
}
}
];