From 6459f8bff3e568e65e6dc617f22c686cf5a8db44 Mon Sep 17 00:00:00 2001
From: zhouwx <1175765986@qq.com>
Date: Mon, 15 Jul 2024 16:35:06 +0800
Subject: [PATCH] 组卷
---
src/api/onlineEducation/exam.js | 82 ++++++++++++++++++++--------------------
1 files changed, 41 insertions(+), 41 deletions(-)
diff --git a/src/api/onlineEducation/exam.js b/src/api/onlineEducation/exam.js
index 3292d01..2eddade 100644
--- a/src/api/onlineEducation/exam.js
+++ b/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) {
--
Gitblit v1.9.2