import request from '@/utils/request'


// 执行UTM换带计算
export function calculate(data) {
    return request({
        url: `/calculate/utmBandChange/calculate`,
        method: 'post',
        data: data
    })
}

// 导入Excel
export function importExcel(data) {
    return request({
        url: `/calculate/utmBandChange/import`,
        method: 'post',
        data: data,
        headers: {
            'Content-Type': 'multipart/form-data'
        }
    })
}

// 导出UTM换带
export function exportExcel(data) {
    return request({
        url: `/calculate/utmBandChange/export`,
        method: 'post',
        data: data,
        responseType: 'blob'
    })
}