ソースを参照

驻场招聘详情页修改

wanyongkang 6 年 前
コミット
43ecc4d126
1 ファイル変更5 行追加3 行削除
  1. 5 3
      pages/main/index/publish_present.vue

+ 5 - 3
pages/main/index/publish_present.vue

@@ -94,7 +94,7 @@
       </el-col>
     </el-row>
     <el-row>
-      <el-col :span="19" :offset="5">职位方向:<span>{{directions}}</span></el-col>
+      <el-col :span="19" :offset="5">职位方向:<span>{{directions}}</span><span style="display: none">{{match_directions}}</span></el-col>
     </el-row>
     <el-row>
       <el-col :span="19" :offset="5">技能要求:<span>{{skill}}</span></el-col>
@@ -141,6 +141,7 @@
                 directions:'',
                 skill:'',
                 job_description:'',
+                match_directions:'',
                 status: [{
                     statusValue: '0',
                     label: '下架隐藏'
@@ -211,6 +212,7 @@
                 this.statusValue = res.data.job.status;
                 this.city = res.data.job.city;
                 this.job_description = res.data.job.description;
+                this.match_directions = res.data.job.match_directions;
             },
             async cancelPresent() {
                 window.history.back();
@@ -262,8 +264,8 @@
                     'salary_to' : this.salary_to,
                     'city' : this.city,
                     'month' : this.month,
-                    'job_direction' : this.job_direction,
-                    'job_skills' : this.job_skills,
+                    'job_direction' : this.match_directions,
+                    'job_skills' : this.skill,
                     'job_description' :this.job_description
                 }
                 const res = await this.$post("/api/admin/present_job/present_edit",body);