Commit c354920a25746e9cacd2cb79c760a05a733c92fc

Authored by 梁保满
1 parent 57c03039

即时测设置低分值,设置分数未刷新

src/views/basic/test/analysis.vue
... ... @@ -85,6 +85,7 @@ export default {
85 85 this.classIds = this.$route.query.classIds || [];
86 86 this.title = this.$route.query.title || "";
87 87 this.subjectName = this.$route.query.subjectName || "";
  88 + console.log(this.classIds)
88 89 },
89 90 methods: {},
90 91 };
... ...
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 },
... ...