feat: expand vehicle data platform capabilities

This commit is contained in:
lingniu
2026-07-27 16:46:15 +08:00
parent e3a1f80f86
commit 3c4bece72c
650 changed files with 62155 additions and 2552 deletions

View File

@@ -0,0 +1,33 @@
# 原始报文分段与车辆字段网格审计
## 本轮完成
- 历史原始报文动态字段与车辆实时遥测共用后端指标目录、回退分类、中文标签及排序。
- 历史明细新增“全部 / 整车数据 / 燃料电池 / 定位”等实际数据驱动的分段;选择分段后保留报文类型和报文大小,只显示该类业务字段及当前页匹配报文。
- 分段状态写入 `rawSegment` URL 参数,刷新和分享可恢复;手机端使用相同语义并以证据卡展示。
- 车辆实时遥测由五列逐行表格与独立移动列表统一为响应式指标卡网格;桌面 3/4 列、手机 2 列,完整值、来源、设备/接收时间和质量说明进入原有详情侧栏。
## 视觉证据
- `before-history-raw.png`:优化前原始报文混合字段宽表。
- `after-history-raw-all.png`:优化后动态分段总览。
- `after-history-raw-fuel-cell.png`:燃料电池分段筛选后的字段与报文。
- `after-history-raw-mobile.png`390 × 844 手机端分段与报文卡。
- `before-vehicle-fields.png`:优化前车辆遥测逐行五列表格。
- `after-vehicle-fields-desktop.png`1440 × 980 桌面紧凑指标卡。
- `after-vehicle-fields-mobile.png`390 × 844 手机双列指标卡。
- `comparison-before-after.png`:上排历史、下排车辆;左侧优化前、右侧优化后。
- `verification-history-raw-desktop.png``verification-history-raw-mobile.png``verification-vehicle-fields-tall-desktop.png`:本轮真实服务复验截图。
## 验证
- Web78 个测试文件、504 个测试全部通过。
- API`go test ./...` 全部通过,包含统一分类来源、标签与顺序回归。
- 全量构建Web、开放门户及三个 Go 二进制构建通过。
- 真实 API样例报文返回整车数据 2、燃料电池 1、定位 1字段分类与车辆查询一致。
- 浏览器1440 × 980 与 390 × 844 均核验分段切换、字段收窄、指标卡详情和键盘/读屏语义。
## 已知边界
- 历史分段的报文匹配数量基于当前已加载页,界面明确标注“当前页”;跨页精确总数需要后端增加分段查询与聚合能力。
- 开发环境控制台仍有 Semi UI 内部 `findDOMNode` StrictMode 弃用警告,本轮未出现业务运行错误。

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 995 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 31 KiB