zhangjie 1 jaar geleden
bovenliggende
commit
cac7b4ee4c

+ 4 - 0
src/modules/course/components/TargetReportDetail.vue

@@ -471,6 +471,7 @@ export default {
         examId: this.course.examId,
         courseCode: this.course.courseCode,
         paperNumber: this.course.paperNumber,
+        report: true,
       });
 
       if (res.courseTargetChange) {
@@ -481,6 +482,9 @@ export default {
           "评价方式与已保存不一致,请重新设置权重及导入新的平时成绩!"
         );
       }
+      if (res.targetScoreChange) {
+        this.$notify.warning(res.targetScoreChangeStr);
+      }
     },
     parsePaperStructs(questionInfo) {
       if (!questionInfo || !questionInfo.length) return;

+ 1 - 0
src/modules/course/components/TargetScoreDetail.vue

@@ -84,6 +84,7 @@ export default {
         examId: this.course.examId,
         courseCode: this.course.courseCode,
         paperNumber: this.course.paperNumber,
+        report: false,
       });
 
       if (res.courseTargetChange) {