You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
# 告警中心 索引
> 版本: v1.0
> 最后更新: 2026-04-25
---
## 模块概述
查看系统告警(采集失败/设备离线/产量异常/未知设备/服务错误),支持标记已处理。
## 页面清单
| 页面编号 | 页面名称 | 路由 | 功能概述 |
|---------|---------|------|---------|
| 08-01 | 告警中心页面 | /alert | 待设计 |
## 页面功能详情
### 08-01 告警中心页面
**路由**: `/alert`
** 功能概述**:查看系统告警(采集失败/设备离线/产量异常/未知设备/服务错误),支持单个/批量标记已处理
** 功能列表**:
| 功能编号 | 功能名称 | 触发条件 | 交互行为 | 涉及API |
|---------|---------|---------|---------|---------|
| F01 | 查询告警 | 点击查询/切换条件 | 重置page=1, 请求列表+统计 | GET /api/admin/alert + statistics |
| F02 | 标记已处理 | 点击行操作 | 确认框->标记 | PUT /api/admin/alert/:id/resolve |
| F03 | 批量标记 | 勾选+批量操作 | 确认框->批量标记 | PUT /api/admin/alert/batch-resolve |
| F04 | 查看详情 | 点击查看(已处理行) | 弹窗展示完整告警详情 | - (行数据已含) |
** 告警类型**: collect_fail(采集失败) / device_offline(设备离线) / production_anomaly(产量异常) / unknown_device(未知设备) / service_error(服务错误)
## 子目录/文件
| 编号 | 名称 | 类型 | 索引 |
|------|------|------|------|
| 08-01 | 告警中心页面 | 页面文件 | [08-01-告警中心页面.md ](./08-01-告警中心页面.md ) |
---