|
@@ -86,8 +86,9 @@
|
|
|
welfareTag: "", // 福利待遇
|
|
welfareTag: "", // 福利待遇
|
|
|
positionTag: "", // 职位关键词
|
|
positionTag: "", // 职位关键词
|
|
|
stationName: "",
|
|
stationName: "",
|
|
|
- companyName: "",
|
|
|
|
|
- companyId:"",
|
|
|
|
|
|
|
+ companyName: "",
|
|
|
|
|
+ companyId: "",
|
|
|
|
|
+ status: 1,
|
|
|
|
|
|
|
|
// 选择器显示控制
|
|
// 选择器显示控制
|
|
|
showExper: false,
|
|
showExper: false,
|
|
@@ -220,6 +221,10 @@
|
|
|
this.companyName = decodeURIComponent(options.companyName);
|
|
this.companyName = decodeURIComponent(options.companyName);
|
|
|
console.log('接收的公司名称:', this.companyName);
|
|
console.log('接收的公司名称:', this.companyName);
|
|
|
}
|
|
}
|
|
|
|
|
+ if (options.status) {
|
|
|
|
|
+ this.status = decodeURIComponent(options.status);
|
|
|
|
|
+ console.log('接收的公司名称:', this.status);
|
|
|
|
|
+ }
|
|
|
this.fundListener = uni.$on("fundData", (data) => {
|
|
this.fundListener = uni.$on("fundData", (data) => {
|
|
|
console.log("接收到的福利数据:", data);
|
|
console.log("接收到的福利数据:", data);
|
|
|
this.welfareTag = data; // 赋值给当前页面变量
|
|
this.welfareTag = data; // 赋值给当前页面变量
|
|
@@ -232,10 +237,12 @@
|
|
|
console.log("接收到的地址数据:", data);
|
|
console.log("接收到的地址数据:", data);
|
|
|
this.stationName = data; // 赋值给当前页面变量
|
|
this.stationName = data; // 赋值给当前页面变量
|
|
|
});
|
|
});
|
|
|
- if (options.companyId) {
|
|
|
|
|
- this.companyId = options.companyId;
|
|
|
|
|
- console.log('接收的公司ID:', this.companyId);
|
|
|
|
|
- }
|
|
|
|
|
|
|
+ if (options.companyId) {
|
|
|
|
|
+ this.companyId = options.companyId;
|
|
|
|
|
+ console.log('接收的公司ID:', this.companyId);
|
|
|
|
|
+ }else{
|
|
|
|
|
+ this.companyId = uni.getStorageSync('companyId') || ""
|
|
|
|
|
+ }
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
onUnload() {
|
|
onUnload() {
|
|
@@ -353,9 +360,9 @@
|
|
|
address: this.stationName.fullText, //地址
|
|
address: this.stationName.fullText, //地址
|
|
|
lat: this.stationName.latitude,
|
|
lat: this.stationName.latitude,
|
|
|
lng: this.stationName.longitude,
|
|
lng: this.stationName.longitude,
|
|
|
- province:this.stationName.province,
|
|
|
|
|
- city:this.stationName.city,
|
|
|
|
|
- county:this.stationName.district
|
|
|
|
|
|
|
+ province: this.stationName.province,
|
|
|
|
|
+ city: this.stationName.city,
|
|
|
|
|
+ county: this.stationName.district
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
// 调用接口提交
|
|
// 调用接口提交
|
|
@@ -370,9 +377,18 @@
|
|
|
title: "提交成功",
|
|
title: "提交成功",
|
|
|
icon: "success"
|
|
icon: "success"
|
|
|
});
|
|
});
|
|
|
- uni.navigateTo({
|
|
|
|
|
- url: "/package/jobIntention/company?companyName="+this.companyName+'&companyId='+this.companyId
|
|
|
|
|
- });
|
|
|
|
|
|
|
+ //这里要选择跳转,第一次是要跳公司页,如果是二次就到职位管理页
|
|
|
|
|
+ if (this.status == 1) { //审核中
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: "/package/jobIntention/company?companyName=" + this.companyName +
|
|
|
|
|
+ '&companyId=' + this.companyId
|
|
|
|
|
+ });
|
|
|
|
|
+ } else {
|
|
|
|
|
+ uni.navigateTo({
|
|
|
|
|
+ url: '/pages/jobManagement/jobManagement'
|
|
|
|
|
+ })
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
|
|
|
|
|
|
|
|
} else {
|
|
} else {
|