|
|
@@ -228,7 +228,7 @@
|
|
|
重新定位
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div @click="selectCity(city)" class="city-box-citys">
|
|
|
+ <div @click="selectCity(citys)" class="city-box-citys">
|
|
|
{{ citys }}
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -420,44 +420,44 @@
|
|
|
this.getUserList()
|
|
|
},
|
|
|
//选中行业
|
|
|
- selectHy(ite) {
|
|
|
- let index = this.industry.findIndex(item => item == ite)
|
|
|
- if (index == -1) { //没有则加入
|
|
|
- this.industry.push(ite)
|
|
|
- this.searchCondizione[0].name = this.industry[0]
|
|
|
- } else { //有则取消
|
|
|
- this.industry.splice(index, 1)
|
|
|
- if (this.industry.length == 0) {
|
|
|
- this.searchCondizione[0].name = '公司行业'
|
|
|
- } else {
|
|
|
- this.searchCondizione[0].name = this.industry[0]
|
|
|
- }
|
|
|
- }
|
|
|
- this.page = 1
|
|
|
- this.getUserList()
|
|
|
- },
|
|
|
+ // selectHy(ite) {
|
|
|
+ // let index = this.industry.findIndex(item => item == ite)
|
|
|
+ // if (index == -1) { //没有则加入
|
|
|
+ // this.industry.push(ite)
|
|
|
+ // this.searchCondizione[0].name = this.industry[0]
|
|
|
+ // } else { //有则取消
|
|
|
+ // this.industry.splice(index, 1)
|
|
|
+ // if (this.industry.length == 0) {
|
|
|
+ // this.searchCondizione[0].name = '公司行业'
|
|
|
+ // } else {
|
|
|
+ // this.searchCondizione[0].name = this.industry[0]
|
|
|
+ // }
|
|
|
+ // }
|
|
|
+ // this.page = 1
|
|
|
+ // this.getUserList()
|
|
|
+ // },
|
|
|
//判断是否选中
|
|
|
- isSelectHy(ite) {
|
|
|
- let index = this.industry.findIndex(item => item == ite)
|
|
|
- return index == -1 ? false : true
|
|
|
- },
|
|
|
+ // isSelectHy(ite) {
|
|
|
+ // let index = this.industry.findIndex(item => item == ite)
|
|
|
+ // return index == -1 ? false : true
|
|
|
+ // },
|
|
|
//清空筛选条件
|
|
|
cleanSecect() {
|
|
|
- this.industry = [] //行业
|
|
|
- this.keyWord = '' //岗位名称
|
|
|
- this.postType = '' //求职类型
|
|
|
+ // this.industry = [] //行业
|
|
|
+ // this.keyWord = '' //岗位名称
|
|
|
+ // this.postType = '' //求职类型
|
|
|
this.experience = '' //工作经验
|
|
|
this.salaryRange = '' //薪资范围
|
|
|
this.education = '' //学历
|
|
|
- this.companyPeople = '' //公司规模
|
|
|
+ // this.companyPeople = '' //公司规模
|
|
|
this.page = 1
|
|
|
this.getUserList()
|
|
|
|
|
|
- this.searchCondizione[0].name = '公司行业'
|
|
|
- this.searchCondizione[1].name = '职位类型'
|
|
|
- this.searchCondizione[2].name = '工作经验'
|
|
|
- this.searchCondizione[3].name = '薪资待遇'
|
|
|
- this.searchCondizione[4].name = '学历要求'
|
|
|
+ this.searchCondizione[0].name = '工作经验'
|
|
|
+ this.searchCondizione[1].name = '薪资待遇'
|
|
|
+ this.searchCondizione[2].name = '学历要求'
|
|
|
+ // this.searchCondizione[3].name = '薪资待遇'
|
|
|
+ // this.searchCondizione[4].name = '学历要求'
|
|
|
},
|
|
|
//分页
|
|
|
currentChange(e) {
|
|
|
@@ -667,9 +667,9 @@
|
|
|
skillName: this.keyWord, //岗位技能名称
|
|
|
screen: 2, //1推荐 2最新
|
|
|
city: this.city, //城市
|
|
|
- salaryRange: this.salaryRange, //薪资范围
|
|
|
- eduRange: this.education, //学历
|
|
|
- expRange: this.experience, //经验
|
|
|
+ salaryRange: this.salaryRange == '不限' ? '' : this.salaryRange, //薪资范围
|
|
|
+ eduRange: this.education == '不限' ? '' : this.education, //学历
|
|
|
+ expRange: this.experience == '不限' ? '' : this.experience, //经验
|
|
|
companyId: localStorage.getItem('companyId'),
|
|
|
userId: localStorage.getItem('userId') ? localStorage.getItem('userId') : ''
|
|
|
}
|
|
|
@@ -715,7 +715,7 @@
|
|
|
params: data
|
|
|
}).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
- this.schoolList = res.data
|
|
|
+ this.schoolList = [{ value: '不限', code: '不限' }, ...res.data]
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -731,7 +731,7 @@
|
|
|
params: data
|
|
|
}).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
- this.jyList = res.data
|
|
|
+ this.jyList = [{value:'不限',code:'不限'},...res.data]
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
@@ -746,7 +746,7 @@
|
|
|
params: data
|
|
|
}).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
- this.moneyList = res.data
|
|
|
+ this.moneyList = [{ value: '不限', code: '不限' }, ...res.data]
|
|
|
}
|
|
|
})
|
|
|
},
|