二手回收后台,师傅端,用户端
刘帅
2026-09-03 fe63279cc0ee19eb03aaa1df2fb7a52bc7bcc3eb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
import { request } from '@umijs/max';
 
// 订单改派分页查询列表
export const getList = async (params) => {
    return request(`/changeDispatch/page`, {
        method: 'GET',
        params
    });
}
 
 
 
// 添加dept
export const batchDelete = async (params) => {
    return request('/changeDispatch/batchDelete', {
        method: 'GET',
        params,
    });
}
 
 
 
 
// 批量删除dept
export const del = async (id) => {
    return request(`/goods/mgt/goods-brand/${id}`, {
        method: 'DELETE',
        // data
    });
}
// 师傅列表
 
export const selectServe = async (params) => {
    return request('/masterWorker/selectServe', {
        method: 'GET',
        params,
    });
}
// 改派师傅
export const changeWorker = async (params) => {
    return request('/changeDispatch/changeWorker', {
        method: 'GET',
        params,
    });
}
// 修改上门时间并自动派单
export const manualHandle = async (data) => {
    return request('/order/manualHandleGp', {
        method: 'POST',
        data,
    });
}
// 拒绝改派师傅
export const refuse = async (params) => {
    return request('/changeDispatch/refuse', {
        method: 'GET',
        params,
    });
}