فهرست منبع

修改乐理课可以跨声部

lex 3 سال پیش
والد
کامیت
4637a2ef38

تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/app.12564752a08ce79c9128.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/css/selectStudent.b4629f75.css


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/index.html


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/js/selectStudent.0a9c4e9c.js


تفاوت فایلی نمایش داده نمی شود زیرا این فایل بسیار بزرگ است
+ 0 - 0
dist/js/selectStudent.c7efc08e.js


+ 9 - 4
src/views/activeCourseArrange/selectStudent.vue

@@ -102,7 +102,7 @@
           </template>
           <template slot="default">
             <div class="submit-bar-popup-title">已选学生</div>
-            <div class="students" style="padding: 0;">
+            <div class="students" style="padding: 0">
               <van-cell
                 v-for="student in selectStudents"
                 :key="student.value"
@@ -335,9 +335,14 @@ export default {
           subject.name = this.selectStudents[i].subjectName;
           continue;
         }
-        if (subject.id != this.selectStudents[i].subjectId) {
-          this.$toast("所选学生声部不一致");
-          return;
+        // (乐理课)
+        if (this.$store.state.activeCourse.name == "乐理课") {
+          // 乐理课不做处理
+        } else {
+          if (subject.id != this.selectStudents[i].subjectId) {
+            this.$toast("所选学生声部不一致");
+            return;
+          }
         }
       }
 

برخی فایل ها در این مقایسه diff نمایش داده نمی شوند زیرا تعداد فایل ها بسیار زیاد است