diff --git a/pages/project/project copy.vue b/pages/project/project copy.vue new file mode 100644 index 0000000..a534627 --- /dev/null +++ b/pages/project/project copy.vue @@ -0,0 +1,713 @@ + + + + + diff --git a/pages/project/project.vue b/pages/project/project.vue index a534627..dc1ae97 100644 --- a/pages/project/project.vue +++ b/pages/project/project.vue @@ -302,11 +302,10 @@ export default { }, changeTab: function (e) { this.isSearch = false; - this.activeTab = e; }, + //推荐岗位; getNearList: function (point) { - nearMission(this.nearPage.current, this.nearPage.size).then(res => { if (this.nearPage.current === 1) { this.companyList = []; @@ -314,7 +313,6 @@ export default { this.nearPage.current += 1; this.nearPage.total = res.data.data.total; if (res.data.data && res.data.data.records.length) { - this.companyList = this.companyList.concat(res.data.data.records); } }) @@ -335,21 +333,20 @@ export default { // }) } }, - //推荐岗位; - getRecommendList: function () { - recommendMission(this.recommendPage.current, this.recommendPage.size, '').then(res => { - if (this.recommendPage.current === 1) { - this.recommendList = []; - } - this.recommendPage.current += 1; - this.recommendPage.total = res.data.data.total; - if (res.data.data && res.data.data.records.length) { - debugger - this.recommendList = this.recommendList.concat(res.data.data.records); - } - }) - }, + // getRecommendList: function () { + // recommendMission(this.recommendPage.current, this.recommendPage.size, '').then(res => { + // if (this.recommendPage.current === 1) { + // this.recommendList = []; + // } + + // this.recommendPage.current += 1; + // this.recommendPage.total = res.data.data.total; + // if (res.data.data && res.data.data.records.length) { + // this.recommendList = this.recommendList.concat(res.data.data.records); + // } + // }) + // }, //推荐任务; getNewList: function () { newMissionAll(this.newPage.current, this.newPage.size, '').then(res => { @@ -458,9 +455,10 @@ export default { this.recommendPage.current = 1; this.newPage.current = 1; this.getLocation(); - this.getRecommendList(); + // this.getRecommendList(); this.getNewList(); this.getNearList(); + this.getPolicy() } },