jiangping
2024-02-18 05cf6324ea8322164d99a3d3d4161fe374534b3b
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
import request from '../../utils/request'
 
// 查询
export function fetchList (data) {
    return request.post('/business/dispatchUnit/page', data, {
        trim: true
    })
}
 
// 创建
export function create (data) {
    return request.post('/business/dispatchUnit/create', data)
}
 
// 修改
export function updateById (data) {
    return request.post('/business/dispatchUnit/updateById', data)
}
 
// 根据ID查询
export function getById (id) {
    return request.get(`/business/dispatchUnit/${id}`)
}
export function check (data) {
    return request.post('/business/dispatchUnit/check', data)
}
export function checkWorktype (data) {
    return request.post('/business/dispatchUnit/checkWorktype', data)
}
// 添加工种
export function createSolution (data) {
    return request.post('/business/dispatchUnit/createSolution', data)
}
 
// 修改信息
export function editDispatchUnit (data) {
    return request.post('/business/dispatchUnit/editDispatchUnit', data)
}
 
// 数据列表
export function findListByDTO (data) {
    return request.post('/business/dispatchUnit/findListByDTO', data)
}