|
@@ -1065,17 +1065,19 @@ export default {
|
|
|
// activeListStudent
|
|
|
this.isNewClass = false;
|
|
|
this.teacherForm.assistant = [];
|
|
|
- for (let i in row.classGroupTeacherMapperList) {
|
|
|
- if (row.classGroupTeacherMapperList[i].teacherRole == "BISHOP") {
|
|
|
+ for (let i in row.teacherMapperList) {
|
|
|
+ if (row.teacherMapperList[i].teacherRole == "BISHOP") {
|
|
|
+
|
|
|
this.teacherForm.coreTeacher =
|
|
|
- row.classGroupTeacherMapperList[i].userId;
|
|
|
+ row.teacherMapperList[i].userId;
|
|
|
}
|
|
|
- if (row.classGroupTeacherMapperList[i].teacherRole == "TEACHING") {
|
|
|
+ if (row.teacherMapperList[i].teacherRole == "TEACHING") {
|
|
|
this.teacherForm.assistant.push(
|
|
|
- row.classGroupTeacherMapperList[i].userId
|
|
|
+ row.teacherMapperList[i].userId
|
|
|
);
|
|
|
}
|
|
|
}
|
|
|
+ console.log(this.teacherForm)
|
|
|
this.infoVisible = true;
|
|
|
},
|
|
|
setType (type) {
|