feat(web): migrate personnel registries

This commit is contained in:
biss authored and biss committed 2026-10-03 21:38:14 +08:00
1 parent dc949bb6ea
commit a0f1d65a59
6 files changed
+119

No files matched your search

+4
View File
@@ -123,6 +123,10 @@ export default function AppShell() {
{ key: '/base-data/facilities', icon: <EnvironmentOutlined />, label: '教学场所' },
{ key: '/base-data/course-categories', icon: <SettingOutlined />, label: '课程分类' },
] : []),
...(roles.some((role) => ['SuperAdmin', 'AcademicAdmin', 'CollegeAdmin', 'Counselor'].includes(role)) ? [
{ key: '/teachers', icon: <TeamOutlined />, label: '教师档案' },
{ key: '/students', icon: <IdcardOutlined />, label: '学生档案' },
] : []),
...(user?.roles.includes('SuperAdmin')
? [{ key: '/users', icon: <SafetyCertificateOutlined />, label: '用户与权限' }]
: []),