Browse Source

提交声部信息

1
mo 4 years ago
parent
commit
1c0f58cd42

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

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

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

@@ -865,7 +865,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
@@ -874,6 +874,7 @@ export default {
       };
     },
     async submitClass(data) {
+
       const list = this.getSubmitData(data, { onlyCreateClassGroup: true });
       let obj = this.getClassDate(data);
       if (this.activeType == "MUSIC_NETWORK") {