import createAxios from '@/utils/request'

/**
 * 重新发起
 */
export const reload = (data: any) => {
    return createAxios({
        url: '/supervision-boot/checkDevice/reload',
        method: 'POST',
        data: data
    })
}
/**
 * 提交检测报告
 */
export const submitDevice = (data: any) => {
    return createAxios({
        url: '/supervision-boot/checkDevice/submit',
        method: 'POST',
        data: data
    })
}
/**
 * 根据id查询详情
 */
export const getInfoById = (data: any) => {
    return createAxios({
        url: '/supervision-boot/checkDevice/getInfoById',
        method: 'POST',
        params: data
    })
}
/**
 * 根据id查询详情
 */
export const cancel = (data: any) => {
    return createAxios({
        url: '/supervision-boot/checkDevice/cancel',
        method: 'POST',
        data: data
    })
}



