zhouwx
2024-07-15 6459f8bff3e568e65e6dc617f22c686cf5a8db44
src/api/onlineEducation/exam.js
@@ -41,47 +41,47 @@
    })
}
//批次与学员关系
//批次下的学员列表(分页)
// export function getBatchStudent(param) {
//     return request({
//         url: '/phase-student/list',
//         method: 'get',
//         params: param
//     })
// }
// // 校验学员是否已存在
// export function checkStudentUnique(data) {
//     return request({
//         url: '/phase-student/checkStudentUnique',
//         method: 'post',
//         data: data
//     })
// }
// // 批量新增学员
// export function batchAddStudent(data) {
//     return request({
//         url: '/phase-student/batchAdd',
//         method: 'post',
//         data: data
//     })
// }
// // 批量删除学员
// export function batchDelStudent(data) {
//     return request({
//         url: '/phase-student/batchDelete',
//         method: 'delete',
//         data: data
//     })
// }
//
// // 批量删除学员
// export function delBatchStu(userId) {
//     return request({
//         url: '/phase-student/' + userId,
//         method: 'delete'
//     })
// }
//试卷与学员关系
//试卷下的学员列表(分页)
export function getExamStudent(param) {
    return request({
        url: '/paper-student/list',
        method: 'get',
        params: param
    })
}
// 校验学员是否已存在
export function checkExamStudentUnique(data) {
    return request({
        url: '/paper-student/checkStudentUnique',
        method: 'post',
        data: data
    })
}
 // 批量新增学员
export function examAddStudent(data) {
    return request({
        url: '/paper-student/batchAdd',
        method: 'post',
        data: data
    })
}
 // 批量删除学员
export function examDelStudent(data) {
    return request({
        url: '/paper-student/batchDelete',
        method: 'delete',
        data: data
    })
}
 // 删除学员
export function delExamStu(userId) {
    return request({
        url: '/paper-student/' + userId,
        method: 'delete'
    })
}
//
// //企业课时变更记录列表(分页)
// export function getCompanyPeriod(param) {