import { RolePerms } from "@nice/common"; import { Link } from "react-router-dom"; import { SettingOutlined, TeamOutlined, UserOutlined, TagsOutlined, SafetyOutlined, } from "@ant-design/icons"; import BaseSettingPage from "../app/admin/base-setting/page"; import DepartmentAdminPage from "../app/admin/department/page"; import RoleAdminPage from "../app/admin/role/page"; import TermAdminPage from "../app/admin/term/page"; import WithAuth from "../components/utils/with-auth"; import { CustomRouteObject } from "./types"; import StaffPage from "../app/admin/staff/page"; import AdminLayout from "../components/layout/admin/AdminLayout"; import AssessmentStandardPage from "../app/admin/assessmentstandard/assessment-standardpage"; export const adminRoute: CustomRouteObject = { path: "admin", name: "系统设置", element: , children: [ { path: "base-setting", name: "基本设置", icon: , element: ( ), handle: { crumb() { return 基本设置; }, }, }, { path: "department", name: "组织架构", icon: , element: ( ), handle: { crumb() { return 组织架构; }, }, }, { path: "user", name: "用户管理", icon: , element: ( ), handle: { crumb() { return 用户管理; }, }, }, { path: "assessment-standard", name: "考核标准管理", icon: , element: }, // { // path: "term", // name: "分类配置", // icon: , // element: ( // // // // ), // handle: { // crumb() { // return 分类配置; // }, // }, // }, { path: "role", name: "角色管理", icon: , element: ( ), handle: { crumb() { return 角色管理; }, }, }, ], };