feat(web): 随访模板管理页面 — CRUD + 路由 + 菜单迁移
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

- 新增 FollowUpTemplateList.tsx 页面(列表/新建/编辑/详情弹窗)
- 新增 followUpTemplates.ts API 客户端(list/get/create/update/delete)
- 注册路由 /health/follow-up-templates + 菜单标题 fallback
- 新增迁移 seed_follow_up_template_menu 注册菜单和权限
This commit is contained in:
iven
2026-05-03 09:31:43 +08:00
parent 2e4d98c479
commit 32df9c0655
6 changed files with 511 additions and 0 deletions

View File

@@ -110,6 +110,7 @@ const routeTitleFallback: Record<string, string> = {
'/health/alert-rules': '告警规则',
'/health/devices': '设备管理',
'/health/dialysis': '透析管理',
'/health/follow-up-templates': '随访模板管理',
};
function getTitleFromMenus(path: string, menus: MenuInfo[]): string | undefined {