feat(web): 班次管理 Web UI — Phase 2a-2
新增班次管理前端页面,接入后端 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:
@@ -55,6 +55,8 @@ const ActionInbox = lazy(() => import('./pages/health/ActionInbox'));
|
||||
const FollowUpTemplateList = lazy(() => import('./pages/health/FollowUpTemplateList'));
|
||||
const CarePlanList = lazy(() => import('./pages/health/CarePlanList'));
|
||||
const CarePlanDetail = lazy(() => import('./pages/health/CarePlanDetail'));
|
||||
const ShiftList = lazy(() => import('./pages/health/ShiftList'));
|
||||
const ShiftDetail = lazy(() => import('./pages/health/ShiftDetail'));
|
||||
|
||||
// 内容管理
|
||||
const ArticleManageList = lazy(() => import('./pages/health/ArticleManageList'));
|
||||
@@ -275,6 +277,8 @@ export default function App() {
|
||||
<Route path="/health/follow-up-templates" element={<FollowUpTemplateList />} />
|
||||
<Route path="/health/care-plans" element={<CarePlanList />} />
|
||||
<Route path="/health/care-plans/:id" element={<CarePlanDetail />} />
|
||||
<Route path="/health/shifts" element={<ShiftList />} />
|
||||
<Route path="/health/shifts/:id" element={<ShiftDetail />} />
|
||||
{/* 内容管理 */}
|
||||
<Route path="/health/articles" element={<ArticleManageList />} />
|
||||
<Route path="/health/articles/new" element={<ArticleEditor />} />
|
||||
|
||||
Reference in New Issue
Block a user