2 Commits 7d055a9914 ... f4599d1981

Author SHA1 Message Date
  吴树波 f4599d1981 Merge remote-tracking branch 'origin/master' 3 weeks ago
  吴树波 3b8fb0faa8 修改完课模板 3 weeks ago
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

@@ -489,6 +489,7 @@ export default {
       },
       // 模板表格数据
       setting: [],
+      parentId: "",
       chatSetting: [],
       // 表单参数
       form: {
@@ -503,6 +504,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)
@@ -732,6 +734,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)