课程受众未能修改的问题

This commit is contained in:
daihh
2022-11-06 12:28:46 +08:00
parent b23d80a7b8
commit f5b7697e0d

View File

@@ -1311,6 +1311,15 @@ export default {
if (this.sysTypeList.length > 2) {
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 => {
@@ -1318,7 +1327,8 @@ export default {
});
let postData = {
course: this.courseInfo,
teachers: saveTeachers
teachers: saveTeachers,
crowds:crowds
};
this.btnLoading = true;
let $this = this;