Browse Source

修改完课模板

吴树波 1 week ago
parent
commit
f3270df8b8
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/views/course/courseFinishTemp/index.vue

+ 3 - 0
src/views/course/courseFinishTemp/index.vue

@@ -443,6 +443,7 @@ export default {
       // 状态字典
       statusOptions: [],
       allowSelect: [],
+      parentId: "",
       courseList: [],
       videoList: [],
       // 遮罩层
@@ -501,6 +502,7 @@ export default {
   },
   created() {
     this.queryParams.parentId = this.$route.params && this.$route.params.parentId;
+    this.parentId = this.queryParams.parentId;
     getUserList().then(response => {
       this.userList = response.data;
       console.log("this.userList", this.userList)
@@ -730,6 +732,7 @@ export default {
             this.form.isAllCompanyUser = 2;
           }
           this.form.companyUserIds = this.companyUserIds.toString()
+          this.form.parentId = this.parentId
 
           this.form.setting = JSON.stringify(this.setting)
           this.form.chatSetting = JSON.stringify(this.chatSetting)