feat(drone-dock): 对接我的拍摄订单筛选与分页

This commit is contained in:
2026-10-28 17:38:48 +08:00
parent 2793f6b113
commit 06460fe7e6
17 changed files with 1827 additions and 34 deletions
@@ -304,6 +304,16 @@ struct DroneShootingOrder: Hashable, Sendable {
enum DroneShootingOrderFilter: String, CaseIterable, Hashable, Sendable {
case all, pending, inProgress, completed
/// 张工 orders 的服务端筛选值,进行中不使用本地枚举名。
var apiStatus: String {
switch self {
case .all: "all"
case .pending: "pending"
case .inProgress: "processing"
case .completed: "completed"
}
}
/// Tab 标题。
var title: String {
switch self {