From ff46cc24356b2cd2f23ab3cd7892e61b682d2b8c Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Mon, 11 May 2026 10:03:42 +0800
Subject: [PATCH] 主线提交
---
src/api/onlineEducation/exam.js | 116 +++++++++++++++++++++++++++++++++-------------------------
1 files changed, 66 insertions(+), 50 deletions(-)
diff --git a/src/api/onlineEducation/exam.js b/src/api/onlineEducation/exam.js
index 3292d01..6ce3a84 100644
--- a/src/api/onlineEducation/exam.js
+++ b/src/api/onlineEducation/exam.js
@@ -41,53 +41,69 @@
})
}
-//批次与学员关系
-//批次下的学员列表(分页)
-// 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
+ })
+}
--
Gitblit v1.9.2