import request from '@/utils/request'
/* 班组管理 */
export function addDevopsTeam(data) {
    return request({
        url: "/team",
        method: 'post',
        data: data
    })
}

export function delDevopsTeam(data) {
    return request({
        url: "/team/" + data,
        method: 'delete',
    })
}
export function updateDevopsTeam(data) {
    return request({
        url: "/team",
        method: 'put',
        data: data
    })
}
export function getDevopsTeam(data) {
    return request({
        url: "/team/list",
        method: 'get',
        params: data
    })
}
export function getTD(data) {//团队组员
    return request({
        url: "/teamUser/list",
        method: 'get',
        params: data
    })
}
// export function exportDeviceType(data) {
//     return request({
//         url: "/deviceType/export",
//         method: 'get',
//         params: data
//     })
// }

