huminmin
2026-05-12 919177aceb22d6cca9c176a46c299d099a0ba0af
src/api/productionManagement/productionTeam.js
@@ -3,7 +3,7 @@
// 创建班组
export function createTeam(data) {
    return request({
        url: "/production_team",
        url: "/productionTeam",
        method: "post",
        data: data,
    });
@@ -12,7 +12,7 @@
// 更新班组
export function updateTeam(data) {
    return request({
        url: "/production_team",
        url: "/productionTeam",
        method: "put",
        data: data,
    });
@@ -21,7 +21,7 @@
// 删除班组
export function deleteTeam(id) {
    return request({
        url: "/production_team/" + id,
        url: "/productionTeam/" + id,
        method: "delete",
    });
}
@@ -29,7 +29,7 @@
// 查询班组详情
export function getTeamDetail(id) {
    return request({
        url: "/production_team/" + id,
        url: "/productionTeam/" + id,
        method: "get",
    });
}
@@ -37,7 +37,7 @@
// 查询班组列表
export function getTeamList(query) {
    return request({
        url: "/production_team/list",
        url: "/productionTeam/list",
        method: "get",
        params: query,
    });
@@ -46,8 +46,11 @@
// 分页查询班组列表
export function getTeamListPage(query) {
    return request({
        url: "/production_team/listPage",
        url: "/productionTeam/listPage",
        method: "get",
        params: query,
    });
}