init
This commit is contained in:
+21
-29
@@ -21,13 +21,27 @@ export const staticMenuRoutes: RouteVO[] = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/system',
|
path: '/miniapp',
|
||||||
component: 'Layout',
|
component: 'Layout',
|
||||||
redirect: '/system/user',
|
redirect: '/miniapp/list',
|
||||||
meta: { title: '系统管理', icon: 'Setting', hidden: false },
|
meta: { title: '小程序管理', icon: 'Menu', hidden: false },
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'user',
|
path: 'list',
|
||||||
|
component: 'miniapp/index',
|
||||||
|
name: 'Miniapp',
|
||||||
|
meta: { title: '小程序管理', icon: 'Menu', hidden: false },
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: '/user',
|
||||||
|
component: 'Layout',
|
||||||
|
redirect: '/user/index',
|
||||||
|
meta: { title: '用户管理', icon: 'User', hidden: false },
|
||||||
|
children: [
|
||||||
|
{
|
||||||
|
path: 'index',
|
||||||
component: 'system/user/index',
|
component: 'system/user/index',
|
||||||
name: 'User',
|
name: 'User',
|
||||||
meta: { title: '用户管理', icon: 'User', hidden: false },
|
meta: { title: '用户管理', icon: 'User', hidden: false },
|
||||||
@@ -35,10 +49,10 @@ export const staticMenuRoutes: RouteVO[] = [
|
|||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: '/personnel',
|
path: '/system',
|
||||||
component: 'Layout',
|
component: 'Layout',
|
||||||
redirect: '/personnel/admin',
|
redirect: '/system/admin',
|
||||||
meta: { title: '人员管理', icon: 'UserFilled', hidden: false },
|
meta: { title: '系统管理', icon: 'Setting', hidden: false },
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
path: 'admin',
|
path: 'admin',
|
||||||
@@ -46,14 +60,6 @@ export const staticMenuRoutes: RouteVO[] = [
|
|||||||
name: 'AdminList',
|
name: 'AdminList',
|
||||||
meta: { title: '管理员管理', icon: 'User', hidden: false },
|
meta: { title: '管理员管理', icon: 'User', hidden: false },
|
||||||
},
|
},
|
||||||
],
|
|
||||||
},
|
|
||||||
{
|
|
||||||
path: '/rbac',
|
|
||||||
component: 'Layout',
|
|
||||||
redirect: '/rbac/role',
|
|
||||||
meta: { title: '权限管理', icon: 'Lock', hidden: false },
|
|
||||||
children: [
|
|
||||||
{
|
{
|
||||||
path: 'role',
|
path: 'role',
|
||||||
component: 'system/role/index',
|
component: 'system/role/index',
|
||||||
@@ -68,18 +74,4 @@ export const staticMenuRoutes: RouteVO[] = [
|
|||||||
},
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: '/miniapp',
|
|
||||||
component: 'Layout',
|
|
||||||
redirect: '/miniapp/list',
|
|
||||||
meta: { title: '小程序管理', icon: 'Menu', hidden: false },
|
|
||||||
children: [
|
|
||||||
{
|
|
||||||
path: 'list',
|
|
||||||
component: 'miniapp/index',
|
|
||||||
name: 'Miniapp',
|
|
||||||
meta: { title: '小程序管理', icon: 'Menu', hidden: false },
|
|
||||||
},
|
|
||||||
],
|
|
||||||
},
|
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user