diff --git a/src/api/apis/apis.js b/src/api/apis/apis.js index bc9d6ad..3860fda 100644 --- a/src/api/apis/apis.js +++ b/src/api/apis/apis.js @@ -1059,4 +1059,8 @@ export default { getGradeList(data) { return defaltGetService(setUpUrls.teacherGradeList, data); }, + // 获取班级信息 + getWrongQuestionSave(data) { + return defaltService(setUpUrls.getWrongQuestionSave, data); + }, }; diff --git a/src/api/urls/apis.js b/src/api/urls/apis.js index 0b018c8..1863662 100644 --- a/src/api/urls/apis.js +++ b/src/api/urls/apis.js @@ -495,9 +495,9 @@ export default { //获取即时测报表学生名单和题目列表 listStudentsAndQuestions: "/api_html/teaching/listStudentsAndQuestions", //分页查询授课端日志列表 - deviceZipLogList: "/api_html/school/manager/deviceZipLogList", + deviceZipLogList: "/api_html/school/manager/deviceZipLogList", //获取即时测报表录分情况 - getScoreType: "/api_html/teaching/getScoreType", + getScoreType: "/api_html/teaching/getScoreType", // 获取错题本列表 wrongQuestionList: "api_html/teaching/wrongQuestion/list", // 获取科目列表 @@ -506,4 +506,6 @@ export default { teacherClassList: "api_html/teaching/classList", // 获取班级信息 teacherGradeList: "api_html/teaching/grade", + // 保存接口 + getWrongQuestionSave: "api_html/teaching/wrongQuestion/save", }; diff --git a/src/assets/css/base.css b/src/assets/css/base.css index 3a40d35..2401101 100644 --- a/src/assets/css/base.css +++ b/src/assets/css/base.css @@ -49,6 +49,6 @@ input[type="number"]::-webkit-outer-spin-button { background: #667ffd; } -.el-message-box .el-button--default { +/* .el-message-box .el-button--default { color: #fff; -} +} */ diff --git a/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue b/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue index c9b9676..a062f3a 100644 --- a/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue +++ b/src/views/basic/askTestQuestion/components/wrongQuestionDialog.vue @@ -7,7 +7,7 @@ >
-
+
- 双击设置试卷标题 + 单击设置试卷标题
删除
-
+
{{ index + 1 }}、 {{ group.questionTitle }} @@ -74,6 +87,17 @@ @keyup.enter.native="groupSave(index)" style="width: fit-content" /> +
+ 单击设置试卷标题 +
+
删除
-
{{ question.globalIndex }}、
+
+
+ {{ question.globalIndex }}、 +
+
-
+
+
+ 共{{ list.length }}小题,卷面分{{ sumValues() }}分 +
+
+ 保存试卷 + 保存并打印 + 清空题目 + 继续选题 +
+
题目排序 @@ -173,6 +230,7 @@ @@ -433,13 +707,16 @@ export default { } .test-box { display: flex; + min-height: 742px; .test { flex: 1; height: fit-content; - max-height: 642px; + max-height: 742px; overflow-y: auto; box-shadow: 0 0 10px 0 #999999; margin-right: 20px; + box-sizing: border-box; + padding: 0 20px; .test-title { font-size: 20px !important; font-weight: 700; @@ -459,7 +736,10 @@ export default { } .test-group { .test-group-title { - padding: 10px 0; + position: relative; + height: 40px; + line-height: 30px; + padding: 10px 0 0 0; } } } @@ -471,16 +751,38 @@ export default { width: 100%; height: 200px; border: 1px solid #999999; + .edit-title-info { + height: 60px; + width: 100%; + text-align: center; + font-weight: 600; + font-size: 16px !important; + line-height: 60px; + color: #000000; + span { + color: rgb(234, 163, 73); + } + } + .edit-button { + box-sizing: border-box; + padding: 0 20px; + display: flex; + flex-wrap: wrap; + justify-content: space-around; + .button-width { + width: 160px !important; + margin: 10px 0; + } + } } .edit-info { flex: 1; border: 1px solid #999999; margin-top: 20px; - max-height: 400px; + max-height: 500px; padding: 10px; overflow: auto; .group-item { - padding: 10px; margin: 10px; background: rgba(243, 243, 243, 0.6); border-radius: 5px; @@ -551,8 +853,7 @@ export default { .outer-item, .inner-item { height: fit-content; - padding: 0 20px; - margin: 5px; + margin-bottom: 20px; } .tooltip { position: absolute; @@ -565,5 +866,10 @@ export default { .hover { border: 1px solid rgb(115, 142, 246); background: rgb(233, 237, 253); + width: fit-content; +} +.title-bg { + background: rgb(115, 142, 246); + border-bottom: 1px solid rgb(115, 142, 246); } \ No newline at end of file diff --git a/src/views/basic/askTestQuestion/wrongQuestion.vue b/src/views/basic/askTestQuestion/wrongQuestion.vue index 2147441..caab381 100644 --- a/src/views/basic/askTestQuestion/wrongQuestion.vue +++ b/src/views/basic/askTestQuestion/wrongQuestion.vue @@ -160,7 +160,9 @@