fix(duty): show duty schedule on portal home launcher

Register /duty frontend route module, add portal top-module order, and fix sys_menu as L1 directory with schedule leaf plus role grants.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-08-15 16:04:33 +08:00
1 parent a1321c145c
commit 4c23ff9f61
5 files changed
+135 -6

No files matched your search

+2
View File
@@ -55,6 +55,8 @@ export const SIDEBAR_MENU_ICON_MAP: Record<string, string> = {
WorkflowCompleted: 'ri:checkbox-circle-line',
WorkflowMyApplications: 'ri:file-user-line',
LeaveRequest: 'ri:calendar-event-line',
Duty: 'ri:calendar-schedule-line',
DutySchedule: 'ri:calendar-check-line',
// ── 系统 ──
SystemManage: 'ri:settings-3-line',
@@ -21,6 +21,7 @@ export const PORTAL_TOP_MODULE_ORDER = [
'/bx',
'/db',
'/pl',
'/duty',
'/workflow',
'/system'
] as const