修正拍摄任务状态并优化素材提示显示

区分整单状态与关联任务状态,素材上传中的任务不再占用继续查看入口。列表仅展示上传中或失败提示,保留交付确认入口,并补充状态和卡片复用回归。同步 Build 号至 2020202。
This commit is contained in:
2026-11-05 14:58:50 +08:00
parent cd90c3648b
commit 9485eac483
14 changed files with 361 additions and 85 deletions
@@ -200,7 +200,7 @@ final class DroneDockOrdersViewController: BaseViewController {
/// 优先继续查看服务端选定的既有任务,无任务时才进入拍摄准备。
private func openShooting(orderID: String) {
guard operation == nil, let order = viewModel.orders.first(where: { $0.orderID == orderID }) else { return }
if let taskID = order.activeTaskID {
if let taskID = order.activeFlightTaskID {
guard let navigationController, navigationController.topViewController === self,
presentedViewController == nil else { return }
navigationController.pushViewController(taskControllerFactory(taskID, order, viewModel.context), animated: true)