|
|
@ -33,23 +33,23 @@ export const constantRoutes = [ |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/redirect/:path(.*)', |
|
|
|
path: '/redirect/:path(.*)', |
|
|
|
component: (resolve) => require(['@/views/redirect'], resolve) |
|
|
|
component: () => import('@/views/redirect') |
|
|
|
} |
|
|
|
} |
|
|
|
] |
|
|
|
] |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/login', |
|
|
|
path: '/login', |
|
|
|
component: (resolve) => require(['@/views/login'], resolve), |
|
|
|
component: () => import('@/views/login'), |
|
|
|
hidden: true |
|
|
|
hidden: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/404', |
|
|
|
path: '/404', |
|
|
|
component: (resolve) => require(['@/views/error/404'], resolve), |
|
|
|
component: () => import('@/views/error/404'), |
|
|
|
hidden: true |
|
|
|
hidden: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: '/401', |
|
|
|
path: '/401', |
|
|
|
component: (resolve) => require(['@/views/error/401'], resolve), |
|
|
|
component: () => import('@/views/error/401'), |
|
|
|
hidden: true |
|
|
|
hidden: true |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
@ -59,7 +59,7 @@ export const constantRoutes = [ |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'index', |
|
|
|
path: 'index', |
|
|
|
component: (resolve) => require(['@/views/index'], resolve), |
|
|
|
component: () => import('@/views/index'), |
|
|
|
name: '首页', |
|
|
|
name: '首页', |
|
|
|
meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true } |
|
|
|
meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true } |
|
|
|
} |
|
|
|
} |
|
|
@ -73,7 +73,7 @@ export const constantRoutes = [ |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'profile', |
|
|
|
path: 'profile', |
|
|
|
component: (resolve) => require(['@/views/system/user/profile/index'], resolve), |
|
|
|
component: () => import('@/views/system/user/profile/index'), |
|
|
|
name: 'Profile', |
|
|
|
name: 'Profile', |
|
|
|
meta: { title: '个人中心', icon: 'user' } |
|
|
|
meta: { title: '个人中心', icon: 'user' } |
|
|
|
} |
|
|
|
} |
|
|
@ -86,7 +86,7 @@ export const constantRoutes = [ |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'type/data/:dictId(\\d+)', |
|
|
|
path: 'type/data/:dictId(\\d+)', |
|
|
|
component: (resolve) => require(['@/views/system/dict/data'], resolve), |
|
|
|
component: () => import('@/views/system/dict/data'), |
|
|
|
name: 'Data', |
|
|
|
name: 'Data', |
|
|
|
meta: { title: '字典数据', icon: '' } |
|
|
|
meta: { title: '字典数据', icon: '' } |
|
|
|
} |
|
|
|
} |
|
|
@ -99,7 +99,7 @@ export const constantRoutes = [ |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'log', |
|
|
|
path: 'log', |
|
|
|
component: (resolve) => require(['@/views/monitor/job/log'], resolve), |
|
|
|
component: () => import('@/views/monitor/job/log'), |
|
|
|
name: 'JobLog', |
|
|
|
name: 'JobLog', |
|
|
|
meta: { title: '调度日志' } |
|
|
|
meta: { title: '调度日志' } |
|
|
|
} |
|
|
|
} |
|
|
@ -112,7 +112,7 @@ export const constantRoutes = [ |
|
|
|
children: [ |
|
|
|
children: [ |
|
|
|
{ |
|
|
|
{ |
|
|
|
path: 'edit', |
|
|
|
path: 'edit', |
|
|
|
component: (resolve) => require(['@/views/tool/gen/editTable'], resolve), |
|
|
|
component: () => import('@/views/tool/gen/editTable'), |
|
|
|
name: 'GenEdit', |
|
|
|
name: 'GenEdit', |
|
|
|
meta: { title: '修改生成配置' } |
|
|
|
meta: { title: '修改生成配置' } |
|
|
|
} |
|
|
|
} |
|
|
|