import request from '@/utils/request'
/* 维保计划 */
export function addMaintianPlan(data) {
    return request({
        url: "/maintianPlan",
        method: 'post',
        data: data
    })
}

export function delMaintianPlan(data) {
    return request({
        url: "/maintianPlan/" + data,
        method: 'delete',
    })
}
export function updateMaintianPlan(data) {
    return request({
        url: "/maintianPlan",
        method: 'put',
        data: data
    })
}
export function getMaintianPlan(data) {
    return request({
        url: "/maintianPlan/list",
        method: 'get',
        params: data
    })
}
export function exportMaintianPlan(data) {
    return request({
        url: "/maintianPlan/export",
        method: 'get',
        params: data
    })
}

