feat(导航): 优化左侧导航菜单分组结构
调整导航分组,使菜单结构更加清晰合理: 📚 知识库管理(1个菜单) 1. 文档管理 💼 业务管理(2个菜单) 1. SOP模板 2. 终端管理 🔐 权限管理(3个菜单) 1. 用户管理 2. 角色管理 3. 分组管理 ⚙️ 系统管理(2个菜单) 1. 系统设置 2. 操作日志 优化说明: - 按照业务逻辑将菜单分为4个主要分组 - 每个分组内的菜单按照使用频率和重要性排序 - 知识库管理独立分组,突出核心功能 - 业务管理包含 SOP 和终端,体现业务流程 - 权限管理集中管理用户、角色、分组 - 系统管理包含系统配置和日志监控 导航结构更加清晰,用户可以快速找到需要的功能模块
This commit is contained in:
@@ -25,6 +25,8 @@ class ActivityLogResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
protected static ?string $navigationGroup = '系统管理';
|
||||
|
||||
/**
|
||||
* 控制导航菜单是否显示
|
||||
*/
|
||||
|
||||
@@ -27,6 +27,8 @@ class DocumentResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $navigationGroup = '知识库管理';
|
||||
|
||||
/**
|
||||
* 控制导航菜单是否显示
|
||||
*/
|
||||
|
||||
@@ -25,7 +25,9 @@ class GroupResource extends Resource
|
||||
|
||||
protected static ?string $pluralModelLabel = '分组';
|
||||
|
||||
protected static ?int $navigationSort = 2;
|
||||
protected static ?int $navigationSort = 3;
|
||||
|
||||
protected static ?string $navigationGroup = '权限管理';
|
||||
|
||||
/**
|
||||
* 控制导航菜单是否显示
|
||||
|
||||
@@ -23,9 +23,9 @@ class RoleResource extends Resource
|
||||
|
||||
protected static ?string $pluralModelLabel = '角色';
|
||||
|
||||
protected static ?int $navigationSort = 5;
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
protected static ?string $navigationGroup = '系统管理';
|
||||
protected static ?string $navigationGroup = '权限管理';
|
||||
|
||||
/**
|
||||
* 控制导航菜单是否显示
|
||||
|
||||
@@ -23,7 +23,9 @@ class SopTemplateResource extends Resource
|
||||
|
||||
protected static ?string $pluralModelLabel = 'SOP模板';
|
||||
|
||||
protected static ?int $navigationSort = 4;
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $navigationGroup = '业务管理';
|
||||
|
||||
/**
|
||||
* 控制导航菜单是否显示
|
||||
|
||||
@@ -24,6 +24,8 @@ class SystemSettingResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $navigationGroup = '系统管理';
|
||||
|
||||
/**
|
||||
* 控制导航菜单是否显示
|
||||
*/
|
||||
|
||||
@@ -24,9 +24,9 @@ class TerminalResource extends Resource
|
||||
|
||||
protected static ?string $pluralModelLabel = '终端';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
protected static ?int $navigationSort = 2;
|
||||
|
||||
protected static ?string $navigationGroup = '大屏配置';
|
||||
protected static ?string $navigationGroup = '业务管理';
|
||||
|
||||
/**
|
||||
* 控制导航菜单是否显示
|
||||
|
||||
@@ -25,7 +25,9 @@ class UserResource extends Resource
|
||||
|
||||
protected static ?string $pluralModelLabel = '用户';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
protected static ?int $navigationSort = 1;
|
||||
|
||||
protected static ?string $navigationGroup = '权限管理';
|
||||
|
||||
/**
|
||||
* 控制导航菜单是否显示
|
||||
|
||||
Reference in New Issue
Block a user