feat(web): 药物记录 Web UI — Phase 2a-3
新增药物记录管理前端页面,接入后端 4 条孤立路由: - API 模块: medicationRecords.ts(CRUD + 频次/途径常量) - 列表页: MedicationRecordList.tsx(患者 ID 查询 + 药物列表 CRUD) 支持药品名/通用名/剂量/频次/途径/日期/在用状态 - 路由注册: /health/medications 权限: health.medication-records.list / health.medication-records.manage
This commit is contained in:
@@ -57,6 +57,7 @@ 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 MedicationRecordList = lazy(() => import('./pages/health/MedicationRecordList'));
|
||||
|
||||
// 内容管理
|
||||
const ArticleManageList = lazy(() => import('./pages/health/ArticleManageList'));
|
||||
@@ -279,6 +280,7 @@ export default function App() {
|
||||
<Route path="/health/care-plans/:id" element={<CarePlanDetail />} />
|
||||
<Route path="/health/shifts" element={<ShiftList />} />
|
||||
<Route path="/health/shifts/:id" element={<ShiftDetail />} />
|
||||
<Route path="/health/medications" element={<MedicationRecordList />} />
|
||||
{/* 内容管理 */}
|
||||
<Route path="/health/articles" element={<ArticleManageList />} />
|
||||
<Route path="/health/articles/new" element={<ArticleEditor />} />
|
||||
|
||||
Reference in New Issue
Block a user