feat: 订单详情支持分配陪诊师,列表展示累计接单
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user