feat(worker): 我的订单新增待提交打手资料筛选

- 仅筛 3 天(72h)好友赠送单,口径与提交资料接口一致

- 加法式页签,仍保留在代练中;问题单纳入

- 概览与实时 workerStatuses 同步,提交/重置资料后自动移出/移入

- 显式单号检索忽略该展示筛选
This commit is contained in:
2026-11-17 18:35:18 +08:00
parent 4abc8b39d0
commit 5d0be12476
16 changed files with 399 additions and 20 deletions
@@ -58,6 +58,7 @@ import {
const STATUS_OPTIONS = [
{ value: 'in_progress', label: '代练中' },
{ value: 'awaiting_gift_material', label: '待提交打手资料' },
{ value: 'pending_acceptance', label: '待验收' },
{ value: 'problem', label: '问题单' },
{ value: 'open', label: '已超时' },
@@ -8,6 +8,10 @@ export function buildWorkerOrderQuery(
keyword,
page,
pageSize,
...(status === 'vip_evidence_pending' ? { vipEvidencePending: true } : { status }),
...(status === 'vip_evidence_pending'
? { vipEvidencePending: true }
: status === 'awaiting_gift_material'
? { giftMaterialPending: true }
: { status }),
}
}