import createAxios from '@/utils/request'

import { SUPERVISION_BOOT } from '@/utils/constantRequest'

const MAPPING_PATH = SUPERVISION_BOOT + '/generalSurvey'


/**
 * 针对有问题的现场测试发起告警单
 */
export const initiateWarningLeaflet = (id: string, subId: string) => {
    return createAxios({
        url: MAPPING_PATH + '/initiateWarningLeaflet?id=' + id + '&subId=' + subId,
        method: 'GET'
    })
}

