feat(web): 班次管理 Web UI — Phase 2a-2
Some checks failed
CI / rust-check (push) Has been cancelled
CI / rust-test (push) Has been cancelled
CI / frontend-build (push) Has been cancelled
CI / security-audit (push) Has been cancelled

新增班次管理前端页面,接入后端 12 条孤立路由:
- API 模块: shifts.ts(班次 CRUD + 患者分配 + 批量分配 + 交接日志)
- 列表页: ShiftList.tsx(日期/班次/状态筛选 + 统计概览)
- 详情页: ShiftDetail.tsx(班次信息 + 患者分配 Tab + 交接记录 Tab)
- 路由注册: /health/shifts + /health/shifts/:id

权限: health.shifts.list / health.shifts.manage
This commit is contained in:
iven
2026-05-04 23:36:15 +08:00
parent 3aa436f872
commit 68ced2bae9
5 changed files with 834 additions and 0 deletions

View File

@@ -113,6 +113,8 @@ const routeTitleFallback: Record<string, string> = {
'/health/follow-up-templates': '随访模板管理',
'/health/care-plans': '护理计划',
'/health/care-plans/:id': '护理计划详情',
'/health/shifts': '班次管理',
'/health/shifts/:id': '班次详情',
};
function getTitleFromMenus(path: string, menus: MenuInfo[]): string | undefined {