diff --git a/src/api/index1.js b/src/api/index1.js index bd6b2473..26d63f93 100644 --- a/src/api/index1.js +++ b/src/api/index1.js @@ -219,6 +219,8 @@ export const cancelOrAuth = (obj) => http.post('/admin/certificate/cancelOrAuth' export const allPoints = (obj) => http.get('/points/project/allPoints', { params: obj }) export const updateStuCert = (obj) => http.post('/admin/certificate/updateStuCert', obj) +//添加外部考试 +export const createExamination = (obj) => http.post('/examination/createExamination', obj) // 外部考试导入成绩 export const ImportExternalExamScore = (obj) => http.post('/admin/external/exam/manage/importExternalExamScore', obj, { headers: { "Content-Type": "multipart/form-data" } }) //分组 diff --git a/src/components/drawers/AddTest.vue b/src/components/drawers/AddTest.vue index 78cccd04..a537deff 100644 --- a/src/components/drawers/AddTest.vue +++ b/src/components/drawers/AddTest.vue @@ -2,71 +2,45 @@
- +
{{ taskIndex >= 0 ? "编辑" : "添加" }}考试
- +
- -
-
+
- +
考试名称:
- +
- +
选择试卷:
@@ -87,65 +61,40 @@
- +
考试时间:
- +
- +
考试时长:
- + 分钟
- +
及格线:
- +
@@ -155,15 +104,8 @@ 考试说明:
- +
@@ -174,21 +116,12 @@
允许重复考试: - - 次,-1表示无限制 + + 次,-1表示无限制
@@ -199,11 +132,7 @@ 显示答案:
- + 允许查看 不允许查看 @@ -214,11 +143,7 @@ 显示解析:
- + 允许查看 不允许查看 @@ -229,11 +154,7 @@ 评分模式:
- + 最高一次 最后一次 @@ -246,11 +167,8 @@ 试题排列:
- + 试题乱序 选项乱序 全部乱序 @@ -266,39 +184,25 @@
- +
考试名称:
- +
- +
数据来源:
- +
@@ -306,14 +210,8 @@ 考试说明:
- +
@@ -326,10 +224,11 @@