1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
| import request from '@/utils/request'
|
| export function getExam(param) {
| return request({
| url: '/exam-paper/list',
| method: 'get',
| params: param
| })
| }
|
| export function addExam(data) {
| return request({
| url: '/exam-paper',
| method: 'post',
| data: data
| })
| }
|
|
| export function editExam(params) {
| return request({
| url: `/exam-paper`,
| method: 'put',
| data: params
| })
| }
|
|
| export function delExam(userId) {
| return request({
| url: '/exam-paper/' + userId,
| method: 'delete'
| })
| }
|
| export function checkExamName(data) {
| return request({
| url: '/exam-paper/checkNameUnique',
| method: 'post',
| data: data
| })
| }
|
| //试卷与学员关系
| //试卷下的学员列表(分页)
| 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) {
| // return request({
| // url: '/company-period/list',
| // method: 'get',
| // params: param
| // })
| // }
|
|