feat: 订单详情支持分配陪诊师,列表展示累计接单

This commit is contained in:
lik
2026-11-10 15:14:10 +08:00
parent 9f7ab62a06
commit 087f177a14
3 changed files with 60 additions and 41 deletions
+6
View File
@@ -30,6 +30,12 @@ export const escortApi = {
body,
}),
assign: (id: string, employeeId: string) =>
request<{ record: EscortRecord }>(`/health/escort-record/${id}/assign`, {
method: 'POST',
body: { employeeId },
}),
updateStatus: (id: string, status: string, reason?: string) =>
request<{ record: EscortRecord; deleted?: boolean }>(`/health/escort-record/${id}/status`, {
method: 'PATCH',