xxdezh 8 bulan lalu
induk
melakukan
5658ccc88f
2 mengubah file dengan 7 tambahan dan 2 penghapusan
  1. 6 1
      pages/my/jobPosting.vue
  2. 1 1
      pages/my/jobPostingSecond.vue

+ 6 - 1
pages/my/jobPosting.vue

@@ -39,6 +39,7 @@
 				peopleList: ["社招全职", "应届生校园招聘", "实习生招聘", "兼职招聘"],
 				check: 0,
 				text: "",
+				status:"",
 				companyName: "",
 				companyId:"",
 				numList: [{
@@ -79,6 +80,10 @@
 				this.companyId = options.companyId;
 				console.log('接收的公司ID:', this.companyId);
 			}
+			if (options.status) {
+				this.status = decodeURIComponent(options.status);
+				console.log('接收的公司状态:', this.status);
+			}
 
 
 		},
@@ -211,7 +216,7 @@
 							// 提交成功后跳转到职位发布页面
 							setTimeout(() => {
 								uni.navigateTo({
-									url: "/pages/my/jobPostingSecond?companyName="+this.companyName+'&companyId='+this.companyId
+									url: "/pages/my/jobPostingSecond?status="+this.status+"companyName="+this.companyName+'&companyId='+this.companyId
 								});
 
 							}, 1500);

+ 1 - 1
pages/my/jobPostingSecond.vue

@@ -223,7 +223,7 @@
 			}
 			if (options.status) {
 				this.status = decodeURIComponent(options.status);
-				console.log('接收的公司名称:', this.status);
+				console.log('接收的公司状态:', this.status);
 			}
 			this.fundListener = uni.$on("fundData", (data) => {
 				console.log("接收到的福利数据:", data);