feat: classroom status filter + export button + menu (departments/notifications)

This commit is contained in:
2026-07-06 14:43:13 +08:00
parent fb6d99266e
commit 4b02012634
3 changed files with 48 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ import {
KeyOutlined,
CheckCircleOutlined,
LaptopOutlined,
BellOutlined,
} from '@ant-design/icons';
import { usePermission } from '../hooks/usePermission';
import NotificationBell from '../components/NotificationBell';
@@ -107,6 +108,8 @@ const allMenuItems: MenuItemType[] = [
label: '系统管理',
permission: 'log:view',
children: [
{ key: '/departments', icon: <HomeOutlined />, label: '校区/部门', permission: 'department:view' },
{ key: '/notifications', icon: <BellOutlined />, label: '通知中心', permission: 'notification:view' },
{ key: '/operation-logs', icon: <AuditOutlined />, label: '操作日志', permission: 'log:view' },
{ key: '/roles', icon: <SafetyOutlined />, label: '角色管理', permission: 'role:view' },
{ key: '/permissions', icon: <KeyOutlined />, label: '权限一览', permission: 'role:view' },