预校验、签到流程跑通

This commit is contained in:
2026-06-16 11:32:53 +08:00
parent 72d29d4b68
commit 6b11144366
13 changed files with 3900 additions and 6067 deletions

View File

@@ -165,7 +165,11 @@ async function handleOrderAction(orderId: string) {
return
}
if (order.status == 'pending_assignment' || order.status == 'pending_accept') {
await acceptServiceOrder(orderId)
const result = await acceptServiceOrder(orderId)
if (!result.ok) {
uni.showToast({ title: result.message != '' ? result.message : '接单失败', icon: 'none' })
return
}
uni.showToast({ title: '已接单', icon: 'success' })
loadData()
return