61 lines
1.4 KiB
TypeScript
61 lines
1.4 KiB
TypeScript
const Layout = () => import("@/layout/index.vue");
|
|
|
|
export default {
|
|
path: "/auth",
|
|
name: "res-auth",
|
|
component: Layout,
|
|
redirect: "/auth/company",
|
|
meta: {
|
|
icon: "ep:lollipop",
|
|
title: "auth管理",
|
|
rank: 1
|
|
},
|
|
children: [
|
|
{
|
|
path: "/auth/backendUser",
|
|
name: "backendUser",
|
|
component: () => import("@/views/auth/backendUser/index.vue"),
|
|
meta: {
|
|
icon: "ri:admin-fill",
|
|
title: "管理端用户"
|
|
}
|
|
},
|
|
{
|
|
path: "/auth/personalCenter",
|
|
name: "personalCenter",
|
|
component: () => import("@/views/auth/personalCenter/index.vue"),
|
|
meta: {
|
|
icon: "material-symbols:manage-accounts",
|
|
title: "个人中心"
|
|
}
|
|
},
|
|
{
|
|
path: "/auth/company",
|
|
name: "company",
|
|
component: () => import("@/views/auth/company/index.vue"),
|
|
meta: {
|
|
icon: "ri:building-line",
|
|
title: "公司管理"
|
|
}
|
|
},
|
|
{
|
|
path: "/auth/frontendUser",
|
|
name: "frontendUser",
|
|
component: () => import("@/views/auth/frontendUser/index.vue"),
|
|
meta: {
|
|
icon: "ri:admin-line",
|
|
title: "用户管理"
|
|
}
|
|
},
|
|
{
|
|
path: "/auth/role",
|
|
name: "role",
|
|
component: () => import("@/views/auth/role/index.vue"),
|
|
meta: {
|
|
icon: "ri:shield-user-line",
|
|
title: "角色管理"
|
|
}
|
|
}
|
|
]
|
|
} satisfies RouteConfigsTable;
|