|
@@ -389,13 +389,14 @@
|
|
|
this.$set(this,'mainTeacherOptions',mainTeacherList);
|
|
|
//处理辅助老师列表
|
|
|
if(this.addDialogData.tutorId){
|
|
|
- obj.tutorId = this.addDialogData.tutorId.split(',');
|
|
|
let userIdList = this.addDialogData.tutorId.split(',');
|
|
|
let nickNameList = this.addDialogData.tutorName.split(',');
|
|
|
let secondaryTeacherList = [];
|
|
|
for(let i=0;i<userIdList.length;i++){
|
|
|
+ userIdList[i] = parseInt(userIdList[i])
|
|
|
secondaryTeacherList.push({userId:userIdList[i],nickName:nickNameList[i]})
|
|
|
}
|
|
|
+ obj.tutorId = JSON.parse(JSON.stringify(userIdList));
|
|
|
this.$set(this,'secondaryTeacherOptions',secondaryTeacherList);
|
|
|
}
|
|
|
//处理实验室数据&手动输入场地
|