|
|
@@ -38,11 +38,12 @@
|
|
|
</view>
|
|
|
|
|
|
|
|
|
-
|
|
|
- <view class="qySx-sx-box-filter flex align-center" v-if="education || salaryRange || experience">
|
|
|
- <text v-if="education" class="qySx-sx-box-filter-text">{{education}}</text>
|
|
|
- <text v-if="salaryRange" class="qySx-sx-box-filter-text">{{salaryRange}}</text>
|
|
|
- <text v-if="experience" class="qySx-sx-box-filter-text">{{experience}}</text>
|
|
|
+ <view class="scroll-wrapper">
|
|
|
+ <view class="qySx-sx-box-filter flex align-center" v-if="education || salaryRange || experience">
|
|
|
+ <text v-if="education" class="qySx-sx-box-filter-text">{{education}}</text>
|
|
|
+ <text v-if="salaryRange" class="qySx-sx-box-filter-text">{{salaryRange}}</text>
|
|
|
+ <text v-if="experience" class="qySx-sx-box-filter-text">{{experience}}</text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
|
|
|
|
|
|
@@ -211,7 +212,7 @@
|
|
|
// 获取状态栏高度
|
|
|
let systemInfo = uni.getSystemInfoSync();
|
|
|
this.statusBarHeight = systemInfo.statusBarHeight || 0;
|
|
|
- this.getCompanyClassify()
|
|
|
+ // this.getCompanyClassify()
|
|
|
//this.getPeopList()
|
|
|
this.jobStatusList = this.$queue.resumesStatus()
|
|
|
},
|
|
|
@@ -236,39 +237,45 @@
|
|
|
arr.push(ite.value)
|
|
|
}
|
|
|
})
|
|
|
+ const arrStr = arr.join(',')
|
|
|
+ const NOT_LIMIT = '不限'
|
|
|
console.log(item)
|
|
|
|
|
|
switch (item.name) {
|
|
|
case '学历要求':
|
|
|
-
|
|
|
//this.education = arr.join(',')
|
|
|
- this.education = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ // this.education = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ this.education = arrStr == NOT_LIMIT ? '' : arrStr
|
|
|
break;
|
|
|
case '薪资范围(单选)':
|
|
|
//this.salaryRange = arr.join(',')
|
|
|
|
|
|
- this.salaryRange = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ // this.salaryRange = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ this.salaryRange = arrStr == NOT_LIMIT ? '' : arrStr
|
|
|
break;
|
|
|
case '经验要求':
|
|
|
//this.experience = arr.join(',')
|
|
|
|
|
|
- this.experience = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ // this.experience = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ this.experience = arrStr == NOT_LIMIT ? '' : arrStr
|
|
|
break;
|
|
|
case '公司规模':
|
|
|
//this.companyPeople = arr.join(',')
|
|
|
|
|
|
- this.companyPeople = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ // this.companyPeople = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ this.companyPeople = arrStr == NOT_LIMIT ? '' : arrStr
|
|
|
break;
|
|
|
case '行业':
|
|
|
//this.industry = arr.join(',')
|
|
|
|
|
|
- this.industry = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ // this.industry = item.list[0].value == '不限' ? '' : item.list[0].value
|
|
|
+ this.industry = arrStr == NOT_LIMIT ? '' : arrStr
|
|
|
break;
|
|
|
}
|
|
|
|
|
|
})
|
|
|
console.log(this.experience)
|
|
|
- this.getPeopList()
|
|
|
+ // this.getPeopList()
|
|
|
|
|
|
|
|
|
} else {
|
|
|
@@ -278,9 +285,9 @@
|
|
|
this.salaryRange = '' //薪资
|
|
|
this.companyPeople = '' //公司规模
|
|
|
// this.getCompanyClassify()
|
|
|
- this.getPeopList()
|
|
|
+ // this.getPeopList()
|
|
|
}
|
|
|
-
|
|
|
+ this.getCompanyClassify()
|
|
|
|
|
|
|
|
|
},
|
|
|
@@ -354,10 +361,25 @@
|
|
|
]
|
|
|
if (res.data.length == 0) {
|
|
|
if(uni.getStorageSync('companyId')&&uni.getStorageSync('companyId')!='null')
|
|
|
- uni.navigateTo({
|
|
|
- url: '/pages/my/jobPosting?companyId=' + uni.getStorageSync('companyId') + '&status=' + this
|
|
|
- .companyStatus + '&companyName=' + this.companyName
|
|
|
- })
|
|
|
+ // uni.redirectTo({
|
|
|
+ // url: '/pages/my/jobPosting?companyId=' + uni.getStorageSync('companyId') + '&status='
|
|
|
+ // })
|
|
|
+ uni.showModal({
|
|
|
+ title: '提示',
|
|
|
+ content: '暂无招聘岗位,是否立即发布岗位?',
|
|
|
+ success: modalData => {
|
|
|
+ console.log(modalData)
|
|
|
+ if (modalData.confirm) {
|
|
|
+ uni.navigateTo({
|
|
|
+ url: '/pages/my/jobPosting?companyId=' + uni.getStorageSync('companyId') + '&status='
|
|
|
+ })
|
|
|
+ } else {
|
|
|
+ uni.switchTab({
|
|
|
+ url: '/pages/my/index'
|
|
|
+ })
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
else
|
|
|
this.$queue.showToast('请先进行企业认证')
|
|
|
}
|
|
|
@@ -706,6 +728,11 @@
|
|
|
|
|
|
border-radius: 8px;
|
|
|
padding: 24rpx;
|
|
|
+
|
|
|
+ .scroll-wrapper {
|
|
|
+ width: 420rpx;
|
|
|
+ overflow-x: scroll;
|
|
|
+ }
|
|
|
|
|
|
.qySx-sx-box-l-i {
|
|
|
color: rgba(153, 153, 153, 1);
|