feat: 完善机巢任务状态展示与景区空境库入口

拍摄任务刷新时保留上次成功数据,失败状态按产品网页展示原因和不可召唤提示;新增受权限控制的景区空境库入口,使用当前景区空态。同步测试与接口说明。

验证:模拟器机巢相关 65 项测试、空境库及首页菜单相关 30 项测试通过。
This commit is contained in:
2026-10-29 17:47:28 +08:00
parent 1173207756
commit e827bf8725
18 changed files with 1055 additions and 98 deletions
@@ -78,6 +78,14 @@ enum HomeRouteHandler {
viewController.navigationController?.pushViewController(SampleListViewController(), animated: true)
case "asset_management":
viewController.navigationController?.pushViewController(MaterialListViewController(), animated: true)
case "sceniclibrary":
let session = AppStore.shared.session
let context = ScenicMaterialContext(userID: session.userId,
scenicID: String(session.currentScenicId),
scenicName: session.currentScenicName)
// 素材接口尚未接入,正式入口使用当前景区空态,避免生成预览素材。
let viewModel = ScenicMaterialsViewModel(context: context, routes: [], groups: [])
viewController.navigationController?.pushViewController(ScenicMaterialsViewController(viewModel: viewModel), animated: true)
case "checkin_points":
viewController.navigationController?.pushViewController(PunchPointListViewController(), animated: true)
case "live_stream_management":