feat(web): 护理计划 Web UI — Phase 2a-1
新增护理计划管理前端页面,接入后端 8 条孤立路由: - API 模块: carePlans.ts(计划 + 干预项目 + 预后测量 CRUD) - 列表页: CarePlanList.tsx(筛选/新建/编辑/删除/跳转详情) - 详情页: CarePlanDetail.tsx(计划信息 + Items/Outcomes 双 Tab CRUD) - 路由注册: /health/care-plans + /health/care-plans/:id - 菜单标题: routeTitleFallback 映射 权限: health.care-plan.list / health.care-plan.manage
This commit is contained in:
@@ -53,6 +53,8 @@ const OAuthClientList = lazy(() => import('./pages/health/OAuthClientList'));
|
||||
const DialysisManageList = lazy(() => import('./pages/health/DialysisManageList'));
|
||||
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 ArticleManageList = lazy(() => import('./pages/health/ArticleManageList'));
|
||||
@@ -271,6 +273,8 @@ export default function App() {
|
||||
<Route path="/health/dialysis" element={<DialysisManageList />} />
|
||||
<Route path="/health/action-inbox" element={<ActionInbox />} />
|
||||
<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/articles" element={<ArticleManageList />} />
|
||||
<Route path="/health/articles/new" element={<ArticleEditor />} />
|
||||
|
||||
Reference in New Issue
Block a user