Files
mes-ui-d2/docs/功能测试-设备履历报表.md
2026-06-22 17:40:40 +08:00

23 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 功能测试 - 设备履历报表
> 模块:数据中台 / 生产报表 / 设备履历报表 (Equipment History Report)
> 路由:`/data_middleground/produce/report/equipment-history`
## 测试任务列表
| 序号 | 测试项 | 操作步骤 | 预期结果 |
|---:|---|---|---|
| 1 | 页面入口 | 进入设备履历报表页面 | 页面显示设备编码、状态、时间范围筛选项和列表 |
| 2 | 设备编码查询 | 输入有效设备编码并查询 | 表格展示设备履历记录 |
| 3 | 状态筛选 | 选择运行/空闲/异常状态查询 | 表格仅展示匹配状态数据 |
| 4 | 时间范围筛选 | 选择开始结束时间后查询 | 表格展示时间范围内履历 |
| 5 | 分页切换 | 查询出多页数据后切换分页 | 当前页数据刷新,总数正确 |
| 6 | 重置功能 | 点击重置 | 筛选项、表格和分页状态清空 |
| 7 | 空数据 | 输入无匹配条件查询 | 显示空态,不出现脚本错误 |
| 8 | 国际化检查 | 切换中英文语言 | 页面文案随语言切换 |
## 回归关注点
- 接口必须调用 `report/device/log`method 为 `get.device.status.log`
- 时间范围需要拆分为 `start_time``end_time`