Selaa lähdekoodia

Merge branch '04/13classAddSound' into test

mo 4 vuotta sitten
vanhempi
commit
0342cb1ed3

+ 1 - 0
src/views/teamDetail/components/modals/select-student.vue

@@ -170,6 +170,7 @@ export default {
         name: '',
         coreTeacher: '',
         assistant: '',
+         sound: []
       },
       seleched: [],
     };

+ 2 - 1
src/views/teamDetail/components/resetClass.vue

@@ -871,7 +871,7 @@ export default {
         name: data?.name,
         musicGroupId: this.teamid,
         subjectIdList:
-          data?.soundList.length > 0 ? data?.soundList.join(",") : null,
+          data?.sound.length > 0 ? data?.sound.join(",") : null,
         teacherMapperList: formatClassGroupTeacherMapperList(
           data.coreTeacher,
           data.assistant
@@ -880,6 +880,7 @@ export default {
       };
     },
     async submitClass(data) {
+
       const list = this.getSubmitData(data, { onlyCreateClassGroup: true });
       let obj = this.getClassDate(data);
       if (this.activeType == "MUSIC_NETWORK") {