mirror of
https://github.com/certd/certd.git
synced 2026-04-20 17:57:41 +08:00
335d175d57
chore: Merge branch 'vben' # Conflicts: # package.json perf: antdv示例改成使用vben框架 chore: vben chore: vben chore: vben
64 lines
1.6 KiB
TypeScript
64 lines
1.6 KiB
TypeScript
import LayoutPass from "/@/layout/layout-pass.vue";
|
|
import BasicLayout from "/@/vben/layouts/basic/layout.vue";
|
|
|
|
export const sysResources = [
|
|
{
|
|
title: "系统管理",
|
|
name: "sys",
|
|
path: "/sys",
|
|
redirect: "/sys/authority",
|
|
meta: {
|
|
icon: "ion:settings-outline",
|
|
permission: "sys"
|
|
},
|
|
children: [
|
|
{
|
|
title: "权限管理",
|
|
name: "authority",
|
|
path: "/sys/authority",
|
|
redirect: "/sys/authority/permission",
|
|
meta: {
|
|
icon: "ion:ribbon-outline",
|
|
//需要校验权限
|
|
permission: "sys:auth"
|
|
},
|
|
children: [
|
|
{
|
|
title: "权限资源管理",
|
|
name: "permission",
|
|
meta: {
|
|
icon: "ion:list-outline",
|
|
//需要校验权限
|
|
permission: "sys:auth:per:view"
|
|
},
|
|
path: "/sys/authority/permission",
|
|
component: "/sys/authority/permission/index.vue"
|
|
},
|
|
{
|
|
title: "角色管理",
|
|
name: "role",
|
|
meta: {
|
|
icon: "ion:people-outline",
|
|
permission: "sys:auth:role:view"
|
|
},
|
|
path: "/sys/authority/role",
|
|
component: "/sys/authority/role/index.vue"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
title: "用户管理",
|
|
name: "user",
|
|
meta: {
|
|
icon: "ion:person-outline",
|
|
permission: "sys:auth:user:view"
|
|
},
|
|
path: "/sys/authority/user",
|
|
component: "/sys/authority/user/index.vue"
|
|
}
|
|
]
|
|
}
|
|
];
|
|
|
|
export default sysResources;
|