Files
smart_grid_iot/.trae/specs/fix-equipment-topology-display/tasks.md
T
wk 7c915f8946 docs(specs): 新增现场勘察业务相关 spec 文档
- rework-survey-equipment-tree:勘察设备树明细模式重构
- fix-equipment-topology-display:设备拓扑图完整显示修复
- survey-detail-building-select:勘察明细所属建筑下拉
- generate-floor-options-from-building:按建筑楼层生成楼层下拉
- survey-progress-track-detail:进度跟踪跳转勘察明细页
- survey-complete-to-tech-review:勘察完成提交技术复核与复核按钮改名
2026-10-25 02:34:18 +08:00

22 lines
1.4 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.
# Tasks
## 前端拓扑图修复
- [x] Task 1: 勘察明细页中间栏拓扑图支持缩放(`client/src/views/dispatch/survey/detail.vue`)
- [x] 1.1 `treeOption` 中 tree 系列增加 `roam: true`(支持拖拽平移 + 滚轮缩放)
- [x] 1.2 压缩系列边距:`right: '16%'` 缩至约 `'10%'`(`top/left/bottom` 视情况微调),扩大有效绘制区
- [x] 1.3 保持 `initialTreeDepth: -1`(默认全展开)与现有 ResizeObserver 自适应逻辑不变
- [x] Task 2: 台账详情弹窗拓扑图支持缩放(`client/src/views/dispatch/survey/index.vue`)
- [x] 2.1 `renderDetailTopo` 中 tree 系列增加 `roam: true`
- [x] 2.2 压缩系列边距:`right: '18%'` 缩至约 `'10%'`,`top/left/bottom` 视情况微调
- [x] 2.3 `.detail-topo-wrap` 容器高度由 `340px` 增大至约 `440px`(弹窗内可容纳),空态 `.detail-topo-empty` 高度同步调整
## 验证
- [x] Task 3: 编译 + 浏览器实测
- [x] 3.1 `client` 编译通过(`npm run check`,vue-tsc)
- [x] 3.2 浏览器实测:勘察明细页中间栏拓扑图可拖拽平移、滚轮缩放查看全部节点,无截断
- [x] 3.3 浏览器实测:台账详情弹窗「勘察明细拓扑图」可拖拽缩放查看全部节点,无截断;空态逻辑未受影响
# Task Dependencies
- Task 2 与 Task 1 相互独立,可并行修改
- Task 3 依赖 Task 1、2