Commit c354920a25746e9cacd2cb79c760a05a733c92fc
1 parent
57c03039
即时测设置低分值,设置分数未刷新
Showing
3 changed files
with
7 additions
and
1 deletions
src/views/basic/test/analysis.vue
src/views/basic/test/components/test.vue
... | ... | @@ -455,6 +455,7 @@ |
455 | 455 | :examScore="score" |
456 | 456 | :diaScoreSet="diaScoreSet" |
457 | 457 | @closeScoreSet="closeScoreSet" |
458 | + @SuccessScoreSet="SuccessScoreSet" | |
458 | 459 | /> |
459 | 460 | <el-dialog |
460 | 461 | :close-on-click-modal="false" |
... | ... | @@ -601,7 +602,11 @@ export default { |
601 | 602 | //关闭设置分数 |
602 | 603 | closeScoreSet() { |
603 | 604 | this.diaScoreSet = false; |
605 | + }, | |
606 | + //修改分数成功 | |
607 | + SuccessScoreSet() { | |
604 | 608 | this._QueryData(); |
609 | + this.closeScoreSet(); | |
605 | 610 | }, |
606 | 611 | setType(type) { |
607 | 612 | this.tableMaxHeight = this.$refs.main.offsetHeight; | ... | ... |
src/views/basic/test/list.vue
... | ... | @@ -314,7 +314,7 @@ export default { |
314 | 314 | score: obj.examPaperScore || 0, |
315 | 315 | type: 1, //试卷类型 |
316 | 316 | subjectName: obj.subjectName, |
317 | - classId: this.query.classId[0], | |
317 | + classIds: [obj.classId], | |
318 | 318 | params: this.$route.query.params, |
319 | 319 | examType: obj.examPaperId == 0 ? 1 : 2, |
320 | 320 | }, | ... | ... |