From b0c5fcbf8c49b941afec0361885c10f60aec3bd6 Mon Sep 17 00:00:00 2001 From: zhangsir Date: Thu, 4 Jul 2024 16:24:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9C=A8=E7=BA=BF=E5=A2=9E=E5=8A=A0=E5=8F=82?= =?UTF-8?q?=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Course/courseForm.vue | 1 + src/views/course/ManageList.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/src/components/Course/courseForm.vue b/src/components/Course/courseForm.vue index 7108c6a2..1a8bfa50 100644 --- a/src/components/Course/courseForm.vue +++ b/src/components/Course/courseForm.vue @@ -1486,6 +1486,7 @@ export default { 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。直接提交并发布 diff --git a/src/views/course/ManageList.vue b/src/views/course/ManageList.vue index 1934185c..13c10939 100644 --- a/src/views/course/ManageList.vue +++ b/src/views/course/ManageList.vue @@ -661,6 +661,7 @@ export default { if(this.audiences && this.audiences.length > 0){ this.params.audiences = this.audiences.join(','); } + this.params.isCreateCourse = false apiCourse.pageList(this.params).then(rs=>{ if(rs.status==200){ this.pageData = rs.result.list;