lex-xin преди 4 години
родител
ревизия
10c7173589
променени са 2 файла, в които са добавени 6 реда и са изтрити 2 реда
  1. 1 1
      src/views/resetTeaming/components/strudentPayInfo.vue
  2. 5 1
      src/views/resetTeaming/modals/subject-preview.vue

+ 1 - 1
src/views/resetTeaming/components/strudentPayInfo.vue

@@ -604,7 +604,7 @@ export default {
     // },
     goBack() {
       let query = this.$route.query;
-      if (query.type == "resetTeam") {
+      if (query.type == "resetTeam" || query.type == 'look') {
         this.$store.dispatch("delVisitedViews", this.$route);
         this.$router.push({
           path: "/business/resetTeaming",

+ 5 - 1
src/views/resetTeaming/modals/subject-preview.vue

@@ -295,7 +295,11 @@ export default {
                         }]
                     }
                     this.courseInfo.forEach(item => {
-                        item.isStatus = true
+                        if(item.isStudentOptional) {
+                            item.isStatus = false
+                        } else {
+                            item.isStatus = true
+                        }
                     })
 
                     this.musicGroupSubject = tempResult.musicGroupSubjectPlan