import createAxios from '@/utils/request'

/**
 * 删除数据合理范围
 **/
export const pqDelete = (data: any) => {
    return createAxios({
        url: '/algorithm-boot/pqReasonableRange/delete',
        method: 'post',
        params: data
    })
}
/**
 * 按条件获取数据合理范围
 **/
export const getData = (data: any) => {
    return createAxios({
        url: '/algorithm-boot/pqReasonableRange/getData',
        method: 'post',
        data
    })
}
/**
 * 新增数据合理范围
 **/
export const save = (data: any) => {
    return createAxios({
        url: '/algorithm-boot/pqReasonableRange/save',
        method: 'post',
         data
    })
}
/**
 * 更新数据合理范围
 **/
export const update = (data: any) => {
    return createAxios({
        url: '/algorithm-boot/pqReasonableRange/update',
        method: 'post',
         data
    })
}
