feat(miniprogram): 实现小程序透析模块 — 患者端查看 + 医护端录入/审阅
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

审计后续 H1: 补齐小程序端透析功能,对接后端 12 个 API 路由。

新增内容:
- 患者端: 透析记录列表/详情 + 透析处方列表/详情(只读,4 页面)
- 医护端: 透析记录列表/详情/创建 + 处方列表/详情/创建(6 页面)
- Service 层: dialysis.ts(患者端只读)+ doctor/dialysis.ts(医护端 CRUD)
- 集成入口: 医生工作台快捷操作 + 患者"我的"菜单 + 路由注册
- 基础设施: api.delete 扩展支持 data 参数(后端 delete 需要 version)
This commit is contained in:
iven
2026-04-30 16:48:39 +08:00
parent 84fafb0bc5
commit 36a55e116e
27 changed files with 3076 additions and 343 deletions

View File

@@ -12,6 +12,8 @@ const MENU_ITEMS = [
{ label: '我的报告', char: '报', path: '/pages/pkg-profile/reports/index' },
{ label: '我的随访', char: '随', path: '/pages/pkg-profile/followups/index' },
{ label: '用药提醒', char: '药', path: '/pages/pkg-profile/medication/index' },
{ label: '透析记录', char: '透', path: '/pages/pkg-profile/dialysis-records/index' },
{ label: '透析处方', char: '方', path: '/pages/pkg-profile/dialysis-prescriptions/index' },
{ label: '设置', char: '设', path: '/pages/pkg-profile/settings/index' },
];