2 次代碼提交 7d055a9914 ... f4599d1981

作者 SHA1 備註 提交日期
  吴树波 f4599d1981 Merge remote-tracking branch 'origin/master' 3 周之前
  吴树波 3b8fb0faa8 修改完课模板 3 周之前
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/views/course/courseFinishTemp/index.vue

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

@@ -489,6 +489,7 @@ export default {
       },
       },
       // 模板表格数据
       // 模板表格数据
       setting: [],
       setting: [],
+      parentId: "",
       chatSetting: [],
       chatSetting: [],
       // 表单参数
       // 表单参数
       form: {
       form: {
@@ -503,6 +504,7 @@ export default {
   },
   },
   created() {
   created() {
     this.queryParams.parentId = this.$route.params && this.$route.params.parentId;
     this.queryParams.parentId = this.$route.params && this.$route.params.parentId;
+    this.parentId = this.queryParams.parentId;
     getUserList().then(response => {
     getUserList().then(response => {
       this.userList = response.data;
       this.userList = response.data;
       console.log("this.userList", this.userList)
       console.log("this.userList", this.userList)
@@ -732,6 +734,7 @@ export default {
             this.form.isAllCompanyUser = 2;
             this.form.isAllCompanyUser = 2;
           }
           }
           this.form.companyUserIds = this.companyUserIds.toString()
           this.form.companyUserIds = this.companyUserIds.toString()
+          this.form.parentId = this.parentId
 
 
           this.form.setting = JSON.stringify(this.setting)
           this.form.setting = JSON.stringify(this.setting)
           this.form.chatSetting = JSON.stringify(this.chatSetting)
           this.form.chatSetting = JSON.stringify(this.chatSetting)