瀏覽代碼

修改乐理课可以跨声部

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;
+          }
         }
       }
 

部分文件因文件數量過多而無法顯示