feat(web): 实时告警仪表盘页面 + SSE Hook + 告警详情面板
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

- 新增 AlertDashboard 页面:实时告警列表 + 统计摘要 + 详情面板
- 新增 useAlertSSE Hook:封装 SSE 连接、自动重连、事件分发
- 新增 AlertDetailPanel 组件:告警详情展示 + 确认/忽略/恢复操作
- alertApi.list 添加 doctor_id 参数支持
- 注册 /health/alert-dashboard 路由 + 面包屑映射
This commit is contained in:
iven
2026-04-28 19:59:51 +08:00
parent cf844a561f
commit 27c32e5561
6 changed files with 622 additions and 1 deletions

View File

@@ -92,6 +92,7 @@ const routeTitleFallback: Record<string, string> = {
'/health/article-categories': '分类管理',
'/health/article-tags': '标签管理',
'/health/alerts': '告警列表',
'/health/alert-dashboard': '告警仪表盘',
'/health/alert-rules': '告警规则',
};