diff --git a/src/router/index.js b/src/router/index.js index 20aba3d..f9d8ddf 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -171,7 +171,7 @@ export const constantRoutes = [ { path: '', name: 'setting-user', - component: () => import('@/views/setting/user/tabs/cusomerInfo'), + component: () => import('@/views/setting/sys/cusomerInfo'), meta: { title: '个人信息' , icon: 'UserSettings'} } ] @@ -183,11 +183,23 @@ export const constantRoutes = [ { path: '', name: 'manager-users', - component: () => import('@/views/setting/user/tabs/cusomerManager'), + component: () => import('@/views/setting/sys/cusomerManager'), meta: { title: '用户管理' , icon: 'huaban'} } ] }, + { + path: '/setting/manager-roles', + component: Layout, + children: [ + { + path: '', + name: 'manager-roles', + component: () => import('@/views/setting/sys/roleManager'), + meta: { title: '角色管理' , icon: 'role'} + } + ] + }, { path: '/setting/website', component: Layout, diff --git a/src/views/setting/sys/roleManager.vue b/src/views/setting/sys/roleManager.vue new file mode 100644 index 0000000..952f89c --- /dev/null +++ b/src/views/setting/sys/roleManager.vue @@ -0,0 +1,295 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 查询 + 添加 + 删除 + + + + + + + + + + + + + + +