|
|
@@ -146,7 +146,6 @@
|
|
|
name: '最新',
|
|
|
}
|
|
|
],
|
|
|
- postPushId:'',
|
|
|
city: '深圳',
|
|
|
county: '',
|
|
|
showSortModalFlag: false,
|
|
|
@@ -309,8 +308,10 @@
|
|
|
*/
|
|
|
getCompanyClassify() {
|
|
|
let data = {
|
|
|
- companyId: uni.getStorageSync('companyId')
|
|
|
+
|
|
|
}
|
|
|
+ if(uni.getStorageSync('companyId')&&uni.getStorageSync('companyId')!='null')
|
|
|
+ data.companyId= uni.getStorageSync('companyId')
|
|
|
this.$Request.getT('/app/postPush/getCompanyClassify', data).then(res => {
|
|
|
if (res.code == 0) {
|
|
|
let arr = [
|
|
|
@@ -328,14 +329,13 @@
|
|
|
if (res && res.data && Array.isArray(res.data)) {
|
|
|
|
|
|
console.log(res.data,'啊啊啊')
|
|
|
- this.selectedPosition = res.data[0].ruleClassifyId
|
|
|
- this.postPushId=res.data[0].postPushId
|
|
|
+ this.selectedPosition = res.data[0].postPushId
|
|
|
// 更新下拉按钮显示的文字
|
|
|
this.selectedText = res.data[0].ruleClassifyName || '请选择'
|
|
|
console.log("zhiwei:", res.data[0].ruleClassifyName)
|
|
|
res.data.map(item => {
|
|
|
let obj = {
|
|
|
- id: item.ruleClassifyId,
|
|
|
+ id: item.postPushId,
|
|
|
projectName: item.ruleClassifyName,
|
|
|
name: item.ruleClassifyName,
|
|
|
}
|
|
|
@@ -560,8 +560,8 @@
|
|
|
|
|
|
// 跳转到人才详情
|
|
|
goToResumeDetail(talent) {
|
|
|
- console.log('查看人才详情:', talent,this.postPushId)
|
|
|
- if(!this.postPushId){
|
|
|
+ console.log('查看人才详情:', talent,this.selectedPosition)
|
|
|
+ if(!this.selectedPosition){
|
|
|
uni.showToast({
|
|
|
title:'请添加招聘岗位!',
|
|
|
icon:'none'
|
|
|
@@ -570,7 +570,7 @@
|
|
|
}
|
|
|
// 跳转到简历详情页面
|
|
|
uni.navigateTo({
|
|
|
- url: `/pages/talentSearch/resumeDetail?resumesId=${talent.id || talent.resumesId || ''}&postPushId=${this.postPushId}`
|
|
|
+ url: `/pages/talentSearch/resumeDetail?resumesId=${talent.id || talent.resumesId || ''}&postPushId=${this.selectedPosition}`
|
|
|
})
|
|
|
}
|
|
|
}
|