只列表添加

This commit is contained in:
zhangsir
2024-07-04 16:42:20 +08:00
parent b0c5fcbf8c
commit ec3abb9901
2 changed files with 5 additions and 5 deletions

View File

@@ -1483,10 +1483,6 @@ export default {
teachers: saveTeachers,
crowds:crowds
};
let localKey = "user_" + this.userInfo.sysId + "_gids";
let hasIds = sessionStorage.getItem(localKey);
postData.audiences = hasIds ?? ''
postData.isCreateCourse = true
this.btnLoading = true;
let $this = this;
//2023-1-5 对于默认管理员不需要提交hrbp。直接提交并发布

View File

@@ -661,7 +661,11 @@ export default {
if(this.audiences && this.audiences.length > 0){
this.params.audiences = this.audiences.join(',');
}
if(this.pageManage){
this.params.isCreateCourse = false
}else{
this.params.isCreateCourse = true
}
apiCourse.pageList(this.params).then(rs=>{
if(rs.status==200){
this.pageData = rs.result.list;