mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-10 11:26:43 +08:00
课程受众未能修改的问题
This commit is contained in:
@@ -1312,13 +1312,23 @@ export default {
|
||||
this.courseInfo.sysType3 = this.sysTypeList[2]; //三级的id
|
||||
}
|
||||
|
||||
//受众的处理
|
||||
let crowds=[];
|
||||
this.courseCrowds.forEach(item=>{
|
||||
crowds.push({
|
||||
groupId:item.key,
|
||||
groupName:item.value
|
||||
})
|
||||
});
|
||||
|
||||
let saveTeachers = [];
|
||||
this.teacherValues.forEach(item => {
|
||||
saveTeachers.push(item);
|
||||
});
|
||||
let postData = {
|
||||
course: this.courseInfo,
|
||||
teachers: saveTeachers
|
||||
teachers: saveTeachers,
|
||||
crowds:crowds
|
||||
};
|
||||
this.btnLoading = true;
|
||||
let $this = this;
|
||||
|
||||
Reference in New Issue
Block a user