|
@@ -143,28 +143,32 @@
|
|
|
<div v-if="loading" class="pt-60 pb-60">
|
|
|
<div class="loadEffect"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
|
|
|
</div>
|
|
|
- <div v-for="(job,idx) in jobs" :key="idx" class="row">
|
|
|
- <div class="col-lg-12 col-md-12">
|
|
|
- <div class="content">
|
|
|
- <h1>
|
|
|
- [招聘职位] <span>{{job.jobVacancy}} ({{job.recruits_rs}}名)</span>
|
|
|
- </h1>
|
|
|
- <h2>岗位职责:</h2>
|
|
|
- <div>
|
|
|
- <p v-for="(responsibility, idx) in job.responsibility" :key="idx">{{responsibility}}</p>
|
|
|
- </div>
|
|
|
- <h2 v-if="hasRequirment">任职要求:</h2>
|
|
|
- <div>
|
|
|
- <p v-for="(requirement, idx) in job.requirement" :key="idx">{{requirement}}</p>
|
|
|
+ <div v-if="hasJobs">
|
|
|
+ <div v-for="(job,idx) in jobs" :key="idx" class="row">
|
|
|
+ <div class="col-lg-12 col-md-12">
|
|
|
+ <div class="content">
|
|
|
+ <h1>
|
|
|
+ [招聘职位] <span>{{job.jobVacancy}} ({{job.recruits_rs}}名)</span>
|
|
|
+ </h1>
|
|
|
+ <h2>岗位职责:</h2>
|
|
|
+ <div>
|
|
|
+ <p v-for="(responsibility, idx) in job.responsibility" :key="idx">{{responsibility}}</p>
|
|
|
+ </div>
|
|
|
+ <h2 v-if="hasRequirment">任职要求:</h2>
|
|
|
+ <div>
|
|
|
+ <p v-for="(requirement, idx) in job.requirement" :key="idx">{{requirement}}</p>
|
|
|
+ </div>
|
|
|
+ <span class="email pt-30 ">有意者请将详细简历发送到: <a :href="`mailto:${currentJob.contactEmail}`" >{{currentJob.contactEmail}}</a> </span>
|
|
|
</div>
|
|
|
- <span class="email pt-30 ">有意者请将详细简历发送到: <a :href="`mailto:${currentJob.contactEmail}`" >{{currentJob.contactEmail}}</a> </span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+
|
|
|
</div>
|
|
|
</section>
|
|
|
<!--====== JOIN END======-->
|
|
|
|
|
|
+
|
|
|
<!--====== FOOTER PART START ======-->
|
|
|
<footer>
|
|
|
<!-- widgets -->
|
|
@@ -265,6 +269,10 @@
|
|
|
<script src="../assets/js/main.js"></script>
|
|
|
<!--====== Setting Info js=======-->
|
|
|
<script src="../assets/js/settinginfo.js"></script>
|
|
|
+
|
|
|
+ <!--====== Vue Developer js ======-->
|
|
|
+ <!-- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> -->
|
|
|
+
|
|
|
<!--====== Vue js======-->
|
|
|
<script src="../assets/js/vue.min.js"></script>
|
|
|
<script>
|
|
@@ -287,9 +295,12 @@
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
-
|
|
|
+ changeJob: function(id) {
|
|
|
+ this.selectdId = id;
|
|
|
+ }
|
|
|
},
|
|
|
mounted: function() {
|
|
|
+ // this.jobs = window.jobsinfo;
|
|
|
|
|
|
var self = this;
|
|
|
this.jobs = [];
|
|
@@ -306,7 +317,6 @@
|
|
|
res.data.forEach(function(item) {
|
|
|
var tmp_job = {};
|
|
|
tmp_job['jobVacancy'] = item.title;
|
|
|
- tmp_job['recruits_rs'] = item.recruits_rs;
|
|
|
tmp_job['responsibility'] = item.duty ? item.duty : [];
|
|
|
tmp_job['requirement'] = item.requirement ? item.requirement : [];
|
|
|
tmp_job['contactEmail'] = item.mailbox;
|