diff --git a/root/detail/job.vue b/root/detail/job.vue
index b211860..5a71744 100644
--- a/root/detail/job.vue
+++ b/root/detail/job.vue
@@ -978,9 +978,20 @@ export default {
if (!this.attention) {
return false;
}
- // 处理isfans字段传 1是 或 0不是
+ let params = {
+ jobId: this.jobDetail.id,
+ jobName: this.jobDetail.jobName,
+ title: "报名",
+ type: that.jobDetail.jobType,
+ agencyId: that.jobDetail.agencyId,
+ };
+ if (that.isFans !== false) {
+ params.isFans = that.isFans;
+ }
+ that.shareUserId && (params.agencyUserId = that.shareUserId);
+ that.shareUserAgencyId && (params.shareUserAgencyId = that.shareUserAgencyId);
uni.navigateTo({
- url: `/root/home/quickApplication?jobId=${this.jobDetail.id}&jobName=${this.jobDetail.jobName}&title=报名&type=${that.jobDetail.jobType}&agencyId=${that.jobDetail.agencyId}${that.isFans === false ? '' : `&isFans=${that.isFans }`}`,
+ url: `/root/home/quickApplication?params=${JSON.stringify(params)}`,
});
// if (this.jobDetail.recruitment == 1) {
// this.formInfo = {
diff --git a/root/home/quickApplication.vue b/root/home/quickApplication.vue
index 9265cd3..b3aeabe 100644
--- a/root/home/quickApplication.vue
+++ b/root/home/quickApplication.vue
@@ -147,21 +147,22 @@ export default {
},
onLoad(options) {
let that = this;
+ console.log("options", options);
console.log("options.jobId", options.jobId);
- if (options.jobId) {
- this.updateInfo.jobId = options.jobId;
- this.updateInfo.jobName = options.jobName;
+ let params = options.params ? JSON.parse(options.params) : {};
+ if (params.jobId) {
+ this.updateInfo.jobId = params.jobId;
+ this.updateInfo.jobName = params.jobName;
}
uni.setNavigationBarTitle({
- title: options.title ? options.title : "报名",
+ title: params.title ? params.title : "报名",
});
- if (options.type == 1 || options.type == 2) {
- that.jobType = options.type;
- }
- if (options.agencyId) {
- that.updateInfo.upAgencyId = options.agencyId;
- }
- options.isFans && (that.isFans = options.isFans);
+ if (params.type == 1 || params.type == 2) that.jobType = params.type;
+ if (params.agencyId) that.updateInfo.upAgencyId = params.agencyId;
+
+ params.isFans && (that.isFans = params.isFans);
+ params.agencyUserId && (that.updateInfo.agencyUserId = params.agencyUserId); // 分享人id
+ params.shareUserAgencyId && (that.updateInfo.agencyId = params.shareUserAgencyId); // 分享人团队id
this.updateInfo.interviewTimeStr = "";
setTimeout(() => {
that.IS_CREATOR = uni.getStorageSync("IS_CREATOR") == 1 ? true : false;
diff --git a/root/person/loginIndex.vue b/root/person/loginIndex.vue
index 839850e..7a10a13 100644
--- a/root/person/loginIndex.vue
+++ b/root/person/loginIndex.vue
@@ -1,51 +1,51 @@
-
-
-
-
-
-
- 劳务上下游收发单工具
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ isLoginCode ? "密码登录" : "验证码登录" }}
-
-
-
-
-
+
+
+
+
+
+
+ 劳务上下游收发单工具
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ isLoginCode ? "密码登录" : "验证码登录" }}
+
+
+
+
+
+
+
+
+
+
+
+ 或
+
+
+
+
+
+
+
+
+
-
-
-
-
-
- 或
-
-
-
-
-
-
-
-
-
-
-
+