forked from wangziqi/gongxue-base
feat: classroom status filter + export button + menu (departments/notifications)
This commit is contained in:
@@ -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' },
|
||||
|
||||
Reference in New Issue
Block a user