added user management

This commit is contained in:
Marvin Zhang
2019-07-27 00:56:28 +08:00
parent a16f296167
commit a5fa5702e5
4 changed files with 250 additions and 34 deletions

View File

@@ -156,37 +156,6 @@ export const constantRouterMap = [
}
]
},
{
name: 'Deploy',
path: '/deploys',
component: Layout,
hidden: true,
meta: {
title: 'Deploy',
icon: 'fa fa-cloud'
},
children: [
{
path: '',
name: 'DeployList',
component: () => import('../views/deploy/DeployList'),
meta: {
title: 'Deploys',
icon: 'fa fa-cloud'
}
},
{
path: ':id',
name: 'DeployDetail',
component: () => import('../views/deploy/DeployDetail'),
meta: {
title: 'Deploy Detail',
icon: 'fa fa-circle-o'
},
hidden: true
}
]
},
{
name: 'Site',
path: '/sites',
@@ -207,6 +176,26 @@ export const constantRouterMap = [
}
]
},
{
name: 'User',
path: '/users',
component: Layout,
meta: {
title: 'User',
icon: 'fa fa-user'
},
children: [
{
path: '',
name: 'UserList',
component: () => import('../views/user/UserList'),
meta: {
title: 'Users',
icon: 'fa fa-user'
}
}
]
},
{ path: '*', redirect: '/404', hidden: true }
]