From c7af808ac00603bb9c338f6eac864a9b82bb0c0c Mon Sep 17 00:00:00 2001 From: caozc Date: Fri, 24 Feb 2023 00:35:13 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=902.23=E7=AC=AC=E4=B8=80=E8=BD=AE?= =?UTF-8?q?=E6=B5=8B=E8=AF=95-=E9=9D=A2=E6=8E=88=E7=AE=A1=E7=90=86-?= =?UTF-8?q?=E5=BC=80=E8=AF=BE=E3=80=91=E5=88=9B=E5=BB=BA=E5=BC=80=E8=AF=BE?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E4=BF=9D=E5=AD=98=20=E4=B8=80=E7=9B=B4?= =?UTF-8?q?=E8=BD=AC=E5=9C=88=EF=BC=8C=E6=97=A0=E6=B3=95=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=88=90=E5=8A=9F=20=E3=80=90=E7=94=9F=E4=BA=A7=E7=8E=AF?= =?UTF-8?q?=E5=A2=83-=E8=AF=BE=E7=A8=8B=E5=BA=93-=E9=9D=A2=E6=8E=88?= =?UTF-8?q?=E7=AE=A1=E7=90=86=E3=80=91=E7=82=B9=E5=87=BB=E2=80=9C=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E2=80=9D=E9=A2=84=E8=A7=88=EF=BC=8C=E7=82=B9=E5=87=BB?= =?UTF-8?q?=E9=A2=84=E8=A7=88=E4=B8=AD=E7=9A=84"=E4=B8=8B=E8=BD=BD"?= =?UTF-8?q?=E4=BC=9A=E4=BB=8E=E5=BD=93=E5=89=8D=E7=AA=97=E5=8F=A3=E6=89=93?= =?UTF-8?q?=E5=BC=80=EF=BC=8C=E6=89=93=E5=BC=80=E5=90=8E=E6=B2=A1=E6=9C=89?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE=EF=BC=8C=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E8=BF=94=E5=9B=9E=E4=B8=8A=E4=B8=80=E7=BA=A7=EF=BC=8C=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E4=B8=8D=E6=96=B9=E4=BE=BF=EF=BC=8C=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E4=B8=80=E4=B8=8B=20=E3=80=902.23=E7=AC=AC=E4=B8=80=E8=BD=AE?= =?UTF-8?q?=E6=B5=8B=E8=AF=95-=E5=AD=A6=E4=B9=A0=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E5=9B=BE-=E4=BB=BB=E5=8A=A1=E3=80=91=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E5=A4=96=E9=83=A8=E8=80=83=E8=AF=95=EF=BC=8C=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=BF=9D=E5=AD=98=E6=88=90=E5=8A=9F=EF=BC=8C=E4=BD=86=E6=98=AF?= =?UTF-8?q?=E5=88=B0=E4=BB=BB=E5=8A=A1=E5=88=97=E8=A1=A8=E4=B8=AD=E7=9C=8B?= =?UTF-8?q?=E4=B8=8D=E5=88=B0=E6=AD=A4=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/index1.js | 2 + src/components/drawers/AddTest.vue | 220 +-- src/views/courselibrary/CoursewareManage.vue | 1526 +++++++----------- 3 files changed, 631 insertions(+), 1117 deletions(-) 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 @@