Q-ABAB 2 年 前
コミット
1f024854c0
1 ファイル変更13 行追加14 行削除
  1. 13 14
      src/views/projectManage/ProjectManagement3_1.vue

+ 13 - 14
src/views/projectManage/ProjectManagement3_1.vue

@@ -135,7 +135,6 @@
       </div>
       <div class="textArea">
         <vue-editor  :editorToolbar="customToolbar" v-model="textareaS[0]"></vue-editor>
-
       </div>
       <div class="tabTit">
             <div><p>预期目标</p></div>
@@ -263,7 +262,7 @@
                 }).then(res=>{
                   if(!res.data[0][0])return this.$message.error("错误")
                   let data = res.data[0][0];
-                  // console.log(data);
+                  console.log(data);
                   this.selects.projectName=data.title;
                   this.selects.fund=data.money;
                   this.selects.leader=data.pro_leader;
@@ -336,18 +335,18 @@
 
                     const param = {
                       uid:this.$store.state.userInfo.userid,
-                      aid:data.acId,
-                      tit:data.title,
-                      con:data.brief,
-                      leader:data.pro_leader,
-                      mon:data.money,
-                      stu:data.students,
-                      teacher:JSON.stringify(data.course_teacher),
-                      chap:JSON.stringify(data.chapters),
-                      pid:data.pid,
-                      cid:data.classid,
-                      ph:data.phone,
-                      beginTime:JSON.stringify(data.begin_at)
+                      aid:this.$route.query["Id"],
+                      tit:this.selects.projectName,
+                      con:this.selects.department,
+                      leader:this.selects.leader,
+                      mon:this.selects.fund,
+                      stu:this.selects.studentNum,
+                      teacher:JSON.stringify(this.tableData),
+                      chap:JSON.stringify(this.textareaS),
+                      pid:JSON.parse(localStorage.getItem('pid')),
+                      cid:'',
+                      ph:this.selects.tel,
+                      beginTime:JSON.stringify(this.selects.beginDate)
                     }
                     // console.log(param)
                     // return;