import createAxios from '@/utils/request'

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

const MAPPING_PATH = SUPERVISION_BOOT + '/userReport'

/**
 * 查询流程表单数据
 */
export const getUserReport = (data: any) => {
    return createAxios({
        url: MAPPING_PATH + '/getUserReport',
        method: 'POST',
        data: data
    })
}


/**
 * 根据id获取用户档案录入的详细数据
 */
export const getUserReportById = (id: any) => {
    return createAxios({
        url: MAPPING_PATH + '/getById?id='+id,
        method: 'GET'
    })
}





