mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-11 03:46:44 +08:00
只列表添加
This commit is contained in:
@@ -1483,10 +1483,6 @@ export default {
|
|||||||
teachers: saveTeachers,
|
teachers: saveTeachers,
|
||||||
crowds:crowds
|
crowds:crowds
|
||||||
};
|
};
|
||||||
let localKey = "user_" + this.userInfo.sysId + "_gids";
|
|
||||||
let hasIds = sessionStorage.getItem(localKey);
|
|
||||||
postData.audiences = hasIds ?? ''
|
|
||||||
postData.isCreateCourse = true
|
|
||||||
this.btnLoading = true;
|
this.btnLoading = true;
|
||||||
let $this = this;
|
let $this = this;
|
||||||
//2023-1-5 对于默认管理员,不需要提交hrbp。直接提交并发布
|
//2023-1-5 对于默认管理员,不需要提交hrbp。直接提交并发布
|
||||||
|
|||||||
@@ -661,7 +661,11 @@ export default {
|
|||||||
if(this.audiences && this.audiences.length > 0){
|
if(this.audiences && this.audiences.length > 0){
|
||||||
this.params.audiences = this.audiences.join(',');
|
this.params.audiences = this.audiences.join(',');
|
||||||
}
|
}
|
||||||
this.params.isCreateCourse = false
|
if(this.pageManage){
|
||||||
|
this.params.isCreateCourse = false
|
||||||
|
}else{
|
||||||
|
this.params.isCreateCourse = true
|
||||||
|
}
|
||||||
apiCourse.pageList(this.params).then(rs=>{
|
apiCourse.pageList(this.params).then(rs=>{
|
||||||
if(rs.status==200){
|
if(rs.status==200){
|
||||||
this.pageData = rs.result.list;
|
this.pageData = rs.result.list;
|
||||||
|
|||||||
Reference in New Issue
Block a user