Commit c354920a25746e9cacd2cb79c760a05a733c92fc

Authored by 梁保满
1 parent 57c03039

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

src/views/basic/test/analysis.vue
@@ -85,6 +85,7 @@ export default { @@ -85,6 +85,7 @@ export default {
85 this.classIds = this.$route.query.classIds || []; 85 this.classIds = this.$route.query.classIds || [];
86 this.title = this.$route.query.title || ""; 86 this.title = this.$route.query.title || "";
87 this.subjectName = this.$route.query.subjectName || ""; 87 this.subjectName = this.$route.query.subjectName || "";
  88 + console.log(this.classIds)
88 }, 89 },
89 methods: {}, 90 methods: {},
90 }; 91 };
src/views/basic/test/components/test.vue
@@ -455,6 +455,7 @@ @@ -455,6 +455,7 @@
455 :examScore="score" 455 :examScore="score"
456 :diaScoreSet="diaScoreSet" 456 :diaScoreSet="diaScoreSet"
457 @closeScoreSet="closeScoreSet" 457 @closeScoreSet="closeScoreSet"
  458 + @SuccessScoreSet="SuccessScoreSet"
458 /> 459 />
459 <el-dialog 460 <el-dialog
460 :close-on-click-modal="false" 461 :close-on-click-modal="false"
@@ -601,7 +602,11 @@ export default { @@ -601,7 +602,11 @@ export default {
601 //关闭设置分数 602 //关闭设置分数
602 closeScoreSet() { 603 closeScoreSet() {
603 this.diaScoreSet = false; 604 this.diaScoreSet = false;
  605 + },
  606 + //修改分数成功
  607 + SuccessScoreSet() {
604 this._QueryData(); 608 this._QueryData();
  609 + this.closeScoreSet();
605 }, 610 },
606 setType(type) { 611 setType(type) {
607 this.tableMaxHeight = this.$refs.main.offsetHeight; 612 this.tableMaxHeight = this.$refs.main.offsetHeight;
src/views/basic/test/list.vue
@@ -314,7 +314,7 @@ export default { @@ -314,7 +314,7 @@ export default {
314 score: obj.examPaperScore || 0, 314 score: obj.examPaperScore || 0,
315 type: 1, //试卷类型 315 type: 1, //试卷类型
316 subjectName: obj.subjectName, 316 subjectName: obj.subjectName,
317 - classId: this.query.classId[0], 317 + classIds: [obj.classId],
318 params: this.$route.query.params, 318 params: this.$route.query.params,
319 examType: obj.examPaperId == 0 ? 1 : 2, 319 examType: obj.examPaperId == 0 ? 1 : 2,
320 }, 320 },