| | |
| | | }) |
| | | } |
| | | |
| | | //批次与学员关系 |
| | | //批次下的学员列表(分页) |
| | | // 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 getCompanyPeriod(param) { |
| | | // return request({ |
| | | // url: '/company-period/list', |
| | | // method: 'get', |
| | | // params: param |
| | | // }) |
| | | // } |
| | | //试卷与学员关系 |
| | | //试卷下的学员列表(分页) |
| | | 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' |
| | | }) |
| | | } |
| | | |
| | | //根据id查询学院试卷信息 |
| | | export function getPaperStu(param) { |
| | | return request({ |
| | | url: '/paper-student/getPaperStudentById', |
| | | method: 'get', |
| | | params: param |
| | | }) |
| | | } |
| | | //根据id试卷信息 |
| | | export function getPaper(id) { |
| | | return request({ |
| | | url: '/exam-paper/'+id, |
| | | method: 'get', |
| | | }) |
| | | } |
| | | |
| | | //提交批改试卷 |
| | | export function doConfirmExam(data) { |
| | | return request({ |
| | | url: '/paper-student/doReview', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | | } |