feat(drone-dock): 对接我的拍摄订单筛选与分页
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user