fix(#87): 未结束可改已保存检查项,结束后回巡检列表 #88

Merged
Lijianping merged 1 commit from fix/87-insp-edit-after-save into main 2026-10-29 17:28:30 +08:00
Collaborator

变更摘要

  • 非定位:点位已保存且巡检未结束时,检查项仍可编辑,底部「保存」保留;再次保存走 /locations/{id}/items
  • 结束巡检后 redirectTo 巡检列表,不再回首页

自测步骤

  • 非定位首次保存后仍可改项,底部保存仍在,再保存成功
  • COMPLETED 任务仍只读、无保存
  • 定位任务已打卡后填报/保存填报不变
  • 结束巡检后进入 /pages/insp/list

文档影响

无(沿用已有 check-in / items 接口)

Closes #87

## 变更摘要 - 非定位:点位已保存且巡检未结束时,检查项仍可编辑,底部「保存」保留;再次保存走 `/locations/{id}/items` - 结束巡检后 `redirectTo` 巡检列表,不再回首页 ## 自测步骤 - [ ] 非定位首次保存后仍可改项,底部保存仍在,再保存成功 - [ ] COMPLETED 任务仍只读、无保存 - [ ] 定位任务已打卡后填报/保存填报不变 - [ ] 结束巡检后进入 `/pages/insp/list` ## 文档影响 无(沿用已有 check-in / items 接口) Closes #87
fix(#87): 未结束可改已保存检查项,结束后回巡检列表
All checks were successful
CI / app-typecheck (pull_request) Successful in 22s
6755c24bf4
Co-authored-by: Cursor <cursoragent@cursor.com>
Sign in to join this conversation.
No reviewers
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_app!88
No description provided.