feat: 驾驶舱设备统计走轻量接口首屏加载 #161

Closed
opened 2026-11-09 18:40:56 +08:00 by Lijianping · 0 comments
Collaborator

目标

驾驶舱首屏用轻量 /txys/bi/device-stats 拉设备四格,不再等慢 dashboard 才显示。目标仓:frontend

范围

  • src/views/BiView.vue:loadDeviceStats;挂载/刷新/轮询并行调用

不做

  • 不改 backend / app / txys-*(后端接口另卡)
  • 不改其它面板数据源

验收

  • 打开驾驶舱后设备四格在数秒内有数(后端已部署轻量接口时)
  • dashboard 仍后台补齐 KPI/数字分析
  • 刷新按钮同样走轻量设备统计

相关文档

  • 工作区 docs/API与错误码.md(/txys/bi/device-stats)
## 目标 驾驶舱首屏用轻量 `/txys/bi/device-stats` 拉设备四格,不再等慢 dashboard 才显示。目标仓:frontend ## 范围 - `src/views/BiView.vue`:`loadDeviceStats`;挂载/刷新/轮询并行调用 ## 不做 - 不改 backend / app / `txys-*`(后端接口另卡) - 不改其它面板数据源 ## 验收 - [ ] 打开驾驶舱后设备四格在数秒内有数(后端已部署轻量接口时) - [ ] dashboard 仍后台补齐 KPI/数字分析 - [ ] 刷新按钮同样走轻量设备统计 ## 相关文档 - 工作区 `docs/API与错误码.md`(`/txys/bi/device-stats`)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
jiaoce/xm_txys2_front#161
No description provided.