|
@@ -817,7 +817,7 @@ export default {
|
|
obj.name = this.newClassForm.className;
|
|
obj.name = this.newClassForm.className;
|
|
obj.type = this.newClassForm.type;
|
|
obj.type = this.newClassForm.type;
|
|
obj.groupType = 'MUSIC'
|
|
obj.groupType = 'MUSIC'
|
|
- obj.subjectIdList = this.newClassForm.subjectIdList.join(',')
|
|
|
|
|
|
+ obj.subjectIdList = this.newClassForm.subjectIdList.length > 0 ? this.newClassForm.subjectIdList.join(',') : null
|
|
obj.expectStudentNum = this.newClassForm.expectStudentNum;
|
|
obj.expectStudentNum = this.newClassForm.expectStudentNum;
|
|
obj.teacherMapperList = [];
|
|
obj.teacherMapperList = [];
|
|
obj.teacherMapperList.push({ userId: this.newClassForm.bishop, teacherRole: 'BISHOP' })
|
|
obj.teacherMapperList.push({ userId: this.newClassForm.bishop, teacherRole: 'BISHOP' })
|
|
@@ -851,7 +851,6 @@ export default {
|
|
}
|
|
}
|
|
});
|
|
});
|
|
this.getNoClassStudent(this.activeType);
|
|
this.getNoClassStudent(this.activeType);
|
|
-
|
|
|
|
}
|
|
}
|
|
});
|
|
});
|
|
},
|
|
},
|