2026-03-27 15:25:23 +08:00
|
|
|
# 结果总览卡片结构合并前端验证记录
|
2026-03-27 14:56:10 +08:00
|
|
|
|
|
|
|
|
**日期**: 2026-03-27
|
|
|
|
|
|
|
|
|
|
## 执行命令
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
cd ruoyi-ui
|
|
|
|
|
node tests/unit/preliminary-check-layout.test.js
|
|
|
|
|
node tests/unit/preliminary-check-summary-and-people.test.js
|
|
|
|
|
node tests/unit/preliminary-check-summary-visuals.test.js
|
|
|
|
|
node tests/unit/preliminary-check-overview-spacing.test.js
|
2026-03-27 15:25:23 +08:00
|
|
|
node tests/unit/preliminary-check-summary-actions.test.js
|
|
|
|
|
node tests/unit/preliminary-check-card-corners.test.js
|
2026-03-27 14:56:10 +08:00
|
|
|
node tests/unit/preliminary-check-model-and-detail.test.js
|
|
|
|
|
node tests/unit/preliminary-check-model-card-grid.test.js
|
|
|
|
|
node tests/unit/preliminary-check-model-filters.test.js
|
|
|
|
|
node tests/unit/preliminary-check-model-linkage-flow.test.js
|
|
|
|
|
node tests/unit/preliminary-check-project-analysis-entry.test.js
|
|
|
|
|
node tests/unit/preliminary-check-states.test.js
|
|
|
|
|
npm run build:prod
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 验证结果
|
|
|
|
|
|
2026-03-27 15:25:23 +08:00
|
|
|
- 上述 12 个前端静态断言测试全部通过。
|
|
|
|
|
- `npm run build:prod` 构建成功。
|
|
|
|
|
- 构建过程中出现项目既有的包体积告警,但没有新增构建错误。
|
2026-03-27 14:56:10 +08:00
|
|
|
|
|
|
|
|
## 人工检查
|
|
|
|
|
|
2026-03-27 15:25:23 +08:00
|
|
|
- 本轮未额外启动 `npm run dev` 做人工页面联调。
|
|
|
|
|
- 因此没有新增前端长期运行进程,也不存在额外清理动作。
|
2026-03-27 14:56:10 +08:00
|
|
|
|
2026-03-27 15:25:23 +08:00
|
|
|
## 结论
|
2026-03-27 14:56:10 +08:00
|
|
|
|
2026-03-27 15:25:23 +08:00
|
|
|
- `风险仪表盘` 与 `风险人员总览` 已能按预期合并为单个 `风险总览` 主卡片。
|
|
|
|
|
- 顶部统计卡片标题和小图标展示正常。
|
|
|
|
|
- 第二张主卡片标题为 `风险模型`,第三张主卡片标题为 `风险明细`。
|
|
|
|
|
- 本轮改动未破坏结果总览相关静态结构断言与生产构建。
|