huminmin
2026-05-14 dfa5988f7e2815fcc33cec095a9c6ec1adac5f1f
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
import request from "@/utils/request";
 
// 创建班组
export function createTeam(data) {
    return request({
        url: "/productionTeam",
        method: "post",
        data: data,
    });
}
 
// 更新班组
export function updateTeam(data) {
    return request({
        url: "/productionTeam",
        method: "put",
        data: data,
    });
}
 
// 删除班组
export function deleteTeam(id) {
    return request({
        url: "/productionTeam/" + id,
        method: "delete",
    });
}
 
// 查询班组详情
export function getTeamDetail(id) {
    return request({
        url: "/productionTeam/" + id,
        method: "get",
    });
}
 
// 查询班组列表
export function getTeamList(query) {
    return request({
        url: "/productionTeam/list",
        method: "get",
        params: query,
    });
}
 
// 分页查询班组列表
export function getTeamListPage(query) {
    return request({
        url: "/productionTeam/listPage",
        method: "get",
        params: query,
    });
}