整个路由布局修改
This commit is contained in:
+149
-162
@@ -47,7 +47,7 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
title: 'changeledger',
|
||||
i18nKey: 'route.changeledger',
|
||||
icon: 'tabler:table',
|
||||
order: 2
|
||||
order: 3
|
||||
},
|
||||
children: [
|
||||
{
|
||||
@@ -130,171 +130,13 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
{
|
||||
name: 'home',
|
||||
path: '/home',
|
||||
component: 'layout.base',
|
||||
component: 'layout.base$view.home',
|
||||
meta: {
|
||||
title: 'home',
|
||||
i18nKey: 'route.home',
|
||||
icon: 'lucide:home',
|
||||
icon: 'ant-design:home-outlined',
|
||||
order: 1
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'home_closeconfirm',
|
||||
path: '/home/closeconfirm',
|
||||
component: 'view.home_closeconfirm',
|
||||
meta: {
|
||||
title: 'home_closeconfirm',
|
||||
i18nKey: 'route.home_closeconfirm',
|
||||
icon: '',
|
||||
order: 6
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_datachangecenter',
|
||||
path: '/home/datachangecenter',
|
||||
component: 'view.home_datachangecenter',
|
||||
meta: {
|
||||
title: 'home_datachangecenter',
|
||||
i18nKey: 'route.home_datachangecenter',
|
||||
icon: '',
|
||||
order: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_effect',
|
||||
path: '/home/effect',
|
||||
component: 'view.home_effect',
|
||||
meta: {
|
||||
title: 'home_effect',
|
||||
i18nKey: 'route.home_effect',
|
||||
icon: '',
|
||||
order: 6
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_highrisk',
|
||||
path: '/home/highrisk',
|
||||
component: 'view.home_highrisk',
|
||||
meta: {
|
||||
title: 'home_highrisk',
|
||||
i18nKey: 'route.home_highrisk',
|
||||
icon: '',
|
||||
order: 6
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_highriskdetail',
|
||||
path: '/home/highriskdetail',
|
||||
component: 'view.home_highriskdetail',
|
||||
meta: {
|
||||
title: 'home_highriskdetail',
|
||||
i18nKey: 'route.home_highriskdetail',
|
||||
activeMenu: 'home_highrisk',
|
||||
hideInMenu: true,
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_index',
|
||||
path: '/home/index',
|
||||
component: 'view.home_index',
|
||||
meta: {
|
||||
title: 'home_index',
|
||||
i18nKey: 'route.home_index',
|
||||
icon: '',
|
||||
order: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_initiatechange',
|
||||
path: '/home/initiatechange',
|
||||
component: 'view.home_initiatechange',
|
||||
meta: {
|
||||
title: 'home_initiatechange',
|
||||
i18nKey: 'route.home_initiatechange',
|
||||
icon: '',
|
||||
order: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_mydraft',
|
||||
path: '/home/mydraft',
|
||||
component: 'view.home_mydraft',
|
||||
meta: {
|
||||
title: 'home_mydraft',
|
||||
i18nKey: 'route.home_mydraft',
|
||||
icon: '',
|
||||
order: 3
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_mytask',
|
||||
path: '/home/mytask',
|
||||
component: 'view.home_mytask',
|
||||
meta: {
|
||||
title: 'home_mytask',
|
||||
i18nKey: 'route.home_mytask',
|
||||
icon: '',
|
||||
order: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_pending',
|
||||
path: '/home/pending',
|
||||
component: 'view.home_pending',
|
||||
meta: {
|
||||
title: 'home_pending',
|
||||
i18nKey: 'route.home_pending',
|
||||
icon: '',
|
||||
order: 4
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_pendingchange',
|
||||
path: '/home/pendingchange',
|
||||
component: 'view.home_pendingchange',
|
||||
meta: {
|
||||
title: 'home_pendingchange',
|
||||
i18nKey: 'route.home_pendingchange',
|
||||
icon: '',
|
||||
order: 5
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'home_process',
|
||||
path: '/home/process',
|
||||
component: 'view.home_process',
|
||||
meta: {
|
||||
title: 'home_process',
|
||||
i18nKey: 'route.home_process',
|
||||
icon: '',
|
||||
order: 7
|
||||
}
|
||||
},
|
||||
{
|
||||
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: 'home_pssr',
|
||||
path: '/home/pssr',
|
||||
component: 'view.home_pssr',
|
||||
meta: {
|
||||
title: 'home_pssr',
|
||||
i18nKey: 'route.home_pssr',
|
||||
icon: '',
|
||||
order: 6
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'login',
|
||||
@@ -308,6 +150,151 @@ export const generatedRoutes: GeneratedRoute[] = [
|
||||
hideInMenu: true
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my',
|
||||
path: '/my',
|
||||
component: 'layout.base',
|
||||
meta: {
|
||||
title: 'my',
|
||||
i18nKey: 'route.my',
|
||||
icon: 'heroicons:computer-desktop',
|
||||
order: 2
|
||||
},
|
||||
children: [
|
||||
{
|
||||
name: 'my_closeconfirm',
|
||||
path: '/my/closeconfirm',
|
||||
component: 'view.my_closeconfirm',
|
||||
meta: {
|
||||
title: 'my_closeconfirm',
|
||||
i18nKey: 'route.my_closeconfirm',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_datachangecenter',
|
||||
path: '/my/datachangecenter',
|
||||
component: 'view.my_datachangecenter',
|
||||
meta: {
|
||||
title: 'my_datachangecenter',
|
||||
i18nKey: 'route.my_datachangecenter',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_effect',
|
||||
path: '/my/effect',
|
||||
component: 'view.my_effect',
|
||||
meta: {
|
||||
title: 'my_effect',
|
||||
i18nKey: 'route.my_effect',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_highrisk',
|
||||
path: '/my/highrisk',
|
||||
component: 'view.my_highrisk',
|
||||
meta: {
|
||||
title: 'my_highrisk',
|
||||
i18nKey: 'route.my_highrisk',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_highriskdetail',
|
||||
path: '/my/highriskdetail',
|
||||
component: 'view.my_highriskdetail',
|
||||
meta: {
|
||||
title: 'my_highriskdetail',
|
||||
i18nKey: 'route.my_highriskdetail',
|
||||
icon: '',
|
||||
hideInMenu: true
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_initiatechange',
|
||||
path: '/my/initiatechange',
|
||||
component: 'view.my_initiatechange',
|
||||
meta: {
|
||||
title: 'my_initiatechange',
|
||||
i18nKey: 'route.my_initiatechange',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_mydraft',
|
||||
path: '/my/mydraft',
|
||||
component: 'view.my_mydraft',
|
||||
meta: {
|
||||
title: 'my_mydraft',
|
||||
i18nKey: 'route.my_mydraft',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_mytask',
|
||||
path: '/my/mytask',
|
||||
component: 'view.my_mytask',
|
||||
meta: {
|
||||
title: 'my_mytask',
|
||||
i18nKey: 'route.my_mytask',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_pending',
|
||||
path: '/my/pending',
|
||||
component: 'view.my_pending',
|
||||
meta: {
|
||||
title: 'my_pending',
|
||||
i18nKey: 'route.my_pending',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_pendingchange',
|
||||
path: '/my/pendingchange',
|
||||
component: 'view.my_pendingchange',
|
||||
meta: {
|
||||
title: 'my_pendingchange',
|
||||
i18nKey: 'route.my_pendingchange',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_process',
|
||||
path: '/my/process',
|
||||
component: 'view.my_process',
|
||||
meta: {
|
||||
title: 'my_process',
|
||||
i18nKey: 'route.my_process',
|
||||
icon: ''
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_processdetail',
|
||||
path: '/my/processdetail',
|
||||
component: 'view.my_processdetail',
|
||||
meta: {
|
||||
title: 'my_processdetail',
|
||||
i18nKey: 'route.my_processdetail',
|
||||
icon: '',
|
||||
hideInMenu: true
|
||||
}
|
||||
},
|
||||
{
|
||||
name: 'my_pssr',
|
||||
path: '/my/pssr',
|
||||
component: 'view.my_pssr',
|
||||
meta: {
|
||||
title: 'my_pssr',
|
||||
i18nKey: 'route.my_pssr',
|
||||
icon: ''
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
name: 'report',
|
||||
path: '/report',
|
||||
|
||||
Reference in New Issue
Block a user