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

审计后续 H2: 对接后端 3 个知情同意 API 路由。

新增内容:
- services/consent.ts: 类型定义 + listConsents/grantConsent/revokeConsent
- 患者端知情同意列表页: 查看已签署同意书 + 撤回操作
- 路由注册 + "我的"菜单入口
This commit is contained in:
iven
2026-04-30 16:52:39 +08:00
parent 36a55e116e
commit 44bb31197e
5 changed files with 277 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ const MENU_ITEMS = [
{ 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/consents/index' },
{ label: '设置', char: '设', path: '/pages/pkg-profile/settings/index' },
];