Explorar o código

Merge branch 'master' of https://git.nanodreamtech.com/Boss/yizhizan-h5

lyuis hai 7 meses
pai
achega
c0aaecf5bd

+ 623 - 567
my/order/pay.vue

@@ -28,15 +28,15 @@
 			<view class="job-info-card">
 				<view class="job-header">
 					<view class="job-title-section">
-						<text class="job-title">{{info.stationName}}</text>
+						<text class="job-title">{{ info.stationName }}</text>
 					</view>
 					<view class="job-status">
 						<text class="status-text">审核未通过</text>
 					</view>
 				</view>
 				<view class="job-info">
-					<text class="job-details">{{info.county}} {{info.education}} {{info.experience}}
-						{{info.salaryRange}} {{info.postType}}</text>
+					<text class="job-details">{{ info.county }} {{ info.education }} {{ info.experience }}
+						{{ info.salaryRange }} {{ info.postType }}</text>
 				</view>
 			</view>
 
@@ -45,7 +45,7 @@
 				<view class="section-title">失败原因</view>
 				<view class="reason-list">
 					<view class="reason-item">
-						<text class="reason-text">{{info.auditContent}}</text>
+						<text class="reason-text">{{ info.auditContent }}</text>
 					</view>
 				</view>
 			</view>
@@ -55,15 +55,16 @@
 		<view v-if="info.status !== 3">
 			<view class="remarks flex justify-center">
 				<view class="remarks-box flex justify-between align-center">
-					<text
-						style="color: rgba(1, 107, 246, 1);font-weight: bold;">{{info.status==1?'待审核':(info.status==2?'进行中':(info.status==3?'已拒绝':(info.status==4?'已取消':'已关闭')))}}</text>
-					<text style="color: rgba(156, 164, 171, 1);font-size: 24rpx;">{{info.createTime}}</text>
+					<text style="color: rgba(1, 107, 246, 1);font-weight: bold;">{{ info.status == 1 ? '待审核' :
+						(info.status == 2 ? '进行中' : (info.status == 3 ? '已拒绝' : (info.status == 4 ? '已取消' : '已关闭')))
+					}}</text>
+					<text style="color: rgba(156, 164, 171, 1);font-size: 24rpx;">{{ info.createTime }}</text>
 				</view>
 			</view>
-			<view class="remarks flex justify-center" v-if="info.isOverdue==1">
+			<view class="remarks flex justify-center" v-if="info.isOverdue == 1">
 				<view class="remarks-box flex justify-between align-center">
 					<text style="color: #000000;font-weight: bold;">已到期</text>
-					<text style="color: #000000;font-size: 24rpx;">{{info.overdueTime}}</text>
+					<text style="color: #000000;font-size: 24rpx;">{{ info.overdueTime }}</text>
 				</view>
 			</view>
 			<!-- 岗位要求 -->
@@ -72,10 +73,10 @@
 					<view class="job-info-c">
 						<view class="job-info-c-header">
 							<view class="job-info-c-title">
-								{{info.ruleClassifyName}}
+								{{ info.ruleClassifyName }}
 							</view>
 							<view class="job-info-c-price">
-								{{info.salaryRange}}
+								{{ info.salaryRange }}
 							</view>
 						</view>
 
@@ -83,26 +84,31 @@
 						<view class="job-info-c-address">
 							<u-icon name="map" color="rgba(58, 57, 67, 1)" style="margin-right: 10rpx;"
 								size="24"></u-icon>
-							{{info.city}} {{info.county}} {{info.address}}
+							{{ info.city }} {{ info.county }} {{ info.address }}
 						</view>
 
 						<view class="job-info-c-label flex align-center flex-wrap">
 							<view class="job-info-c-label-item">
-								{{info.experience}}
+								{{ info.experience }}
 							</view>
 							<view class="job-info-c-label-item">
-								{{info.education}}
+								{{ info.education }}
 							</view>
 							<view class="job-info-c-label-item">
-								{{info.industry}}
+								{{ info.industry }}
 							</view>
 						</view>
+						<view class="warning-box">
+							<image src="@/static/images/index/tishi.png"/>
+							<view class="warning-txt">请注意辨认信息真伪,拒绝交纳报名费、线下交易等要求,谨防上当受骗</view>
+						</view>
+
 					</view>
 				</view>
 			</view>
 
 			<!-- 急聘 -->
-			<view class="urgent-banner" v-if="info.isDue==1">
+			<view class="urgent-banner" v-if="info.isDue == 1">
 				<view class="urgent-left-section flex align-center">
 					<view class="urgent-star-icon-wrapper flex align-center justify-center">
 						<u-icon name="star-fill" color="rgba(251, 231, 185, 1)" size="40rpx"></u-icon>
@@ -128,9 +134,9 @@
 							<text>职位说明</text>
 						</view>
 						<view class="jobRemarks-box-c-label flex align-center flex-wrap" v-if="info.tag">
-							<view class="jobRemarks-box-c-label-item" v-for="(item,index) in info.tag.split(',')"
+							<view class="jobRemarks-box-c-label-item" v-for="(item, index) in info.tag.split(',')"
 								:key="index">
-								{{item}}
+								{{ item }}
 							</view>
 						</view>
 						<!-- 				
@@ -158,8 +164,8 @@
 						</view>
 						<view class="jobRemarks-box-c-label flex align-center flex-wrap" v-if="info.welfareTag">
 							<view class="jobRemarks-box-c-label-item"
-								v-for="(item,index) in info.welfareTag?info.welfareTag.split(';'):[]" :key="index">
-								{{item}}
+								v-for="(item, index) in info.welfareTag ? info.welfareTag.split(';') : []" :key="index">
+								{{ item }}
 							</view>
 						</view>
 						<view class="jobRemarks-box-c-label flex align-center flex-wrap" v-else>
@@ -183,15 +189,16 @@
 			<!-- 企业简介 -->
 			<view class="enterprise">
 				<!-- 公司介绍卡片 -->
-				<view class="company-intro-card" @click="goInfo(info.company.companyId)">
+				<view class="company-intro-card">
+					<!-- @click="goInfo(info.company.companyId)" -->
 					<view class="company-avatar">
-						<image :src="info.company?info.company.companyLogo:'../../../static/logo.png'"
+						<image :src="info.company ? info.company.companyLogo : '../../../static/logo.png'"
 							style="width: 95rpx;height: 95rpx;border-radius: 50%;" mode="aspectFill"></image>
 					</view>
 					<view class="company-info">
-						<view class="company-name">{{info.company?info.company.companyAllName:''}}</view>
-						<view class="company-details">{{info.company?info.company.companyPeople:''}} ·
-							{{info.company?info.company.companyScope:''}}
+						<view class="company-name">{{ info.company ? info.company.companyAllName : '' }}</view>
+						<view class="company-details">{{ info.company ? info.company.companyPeople : '' }} ·
+							{{ info.company ? info.company.companyScope : '' }}
 						</view>
 					</view>
 					<view class="company-arrow">
@@ -206,7 +213,7 @@
 							<view class="enterprise-box-c-bto-l flex align-center">
 								<u-icon name="map" color="#016BF6" style="margin-left: 20rpx;margin-right: 10rpx;"
 									size="28"></u-icon>
-								<!-- 	{{info.province}}{{info.city}}{{info.county}} -->{{info.address}}
+								<!-- 	{{info.province}}{{info.city}}{{info.county}} -->{{ info.address }}
 							</view>
 							<view class="enterprise-box-c-bto-r">
 								<u-icon name="arrow-right" color="#016BF6" style="margin-right: 20rpx;"
@@ -236,34 +243,36 @@
 							<view class="postNum-li-txt">收藏</view>
 						</view>
 					</view>
-					<view style="font-size: 22rpx;color: rgba(102, 102, 102, 1);">职位发布时间:{{info.createTime}}</view>
+					<view style="font-size: 22rpx;color: rgba(102, 102, 102, 1);">职位发布时间:{{ info.createTime }}</view>
 				</view>
 
 
 			</view>
 		</view>
 		<!-- 底部操作 -->
-		<view class="btn flex justify-center" v-if="info.status==1">
+		<view class="btn flex justify-center" v-if="info.status == 1">
 			<view class="btn-box bgBox flex justify-center align-center" @click="cancelProject">
 				取消招聘
 			</view>
 		</view>
-		<view class="btn flex justify-center" v-if="info.status==4 || info.isOverdue==1"
-			@click="updataServeType(info.postPushId,'save')">
+		<view class="btn flex justify-center" v-if="info.status == 4 || info.isOverdue == 1"
+			@click="updataServeType(info.postPushId, 'save')">
 			<view class="btn-box bgBox flex justify-center align-center">
 				重新发布
 			</view>
 		</view>
-		<view class="btn flex justify-center" v-if="info.status==3 && info.isOverdue==0">
+		<view class="btn flex justify-center" v-if="info.status == 3 && info.isOverdue == 0">
 			<view class="btn-box bgBox flex justify-center align-center"
-				@click="updataServeType(info.postPushId,'update')" style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
+				@click="updataServeType(info.postPushId, 'update')"
+				style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
 				编辑
 			</view>
 		</view>
-		<view class="btn flex justify-center" v-if="info.status==2 && info.isOverdue == 0">
+		<view class="btn flex justify-center" v-if="info.status == 2 && info.isOverdue == 0">
 			<view class="btn-box flex justify-between">
 				<view class="btn-box bgBox btn-boxs flex justify-center align-center"
-					@click="updataServeType(info.postPushId,'update')" style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
+					@click="updataServeType(info.postPushId, 'update')"
+					style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
 					编辑
 				</view>
 				<view class="btn-box bgBox btn-boxs flex justify-center align-center" @click="closeOpenJob('close')">
@@ -271,10 +280,11 @@
 				</view>
 			</view>
 		</view>
-		<view class="btn flex justify-center" v-if="info.status==5 && info.isOverdue == 0">
+		<view class="btn flex justify-center" v-if="info.status == 5 && info.isOverdue == 0">
 			<view class="btn-box flex justify-between">
 				<view class="btn-box bgBox btn-boxs flex justify-center align-center"
-					@click="updataServeType(info.postPushId,'update')" style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
+					@click="updataServeType(info.postPushId, 'update')"
+					style="background-color: #ffffff;border: 1px solid #016bf6;color: #016bf6;">
 					编辑
 				</view>
 				<view class="btn-box bgBox btn-boxs flex justify-center align-center" @click="closeOpenJob('open')">
@@ -286,651 +296,697 @@
 </template>
 
 <script>
-	export default {
-		data() {
-			return {
-				postPushId: '',
-				info: {}, //岗位详情
-			};
-		},
-		onLoad(option) {
-			this.postPushId = option.postPushId
-			this.getInfo()
-		},
-		methods: {
-			//返回上一页
-			goBack() {
-				// 检查页面栈,如果没有可返回的页面,则跳转到职位管理
-				const pages = getCurrentPages()
-				if (pages.length > 1) {
-					uni.navigateBack()
-				} else {
-					// 如果没有可返回的页面,跳转到职位管理页面
-					uni.navigateTo({
-						url: '/pages/jobManagement/jobManagement'
-					})
-				}
-			},
-			//修改岗位
-			updataServeType(postPushId, type) {
-				let companyStatus = uni.getStorageSync('companyStatus')
-				if (companyStatus == 1) {
-					uni.showToast({
-						title: '企业认证审核中,请审核通过后操作!',
-						icon: 'none'
-					})
-					return
-				}
-				if (companyStatus == 3) {
-					uni.showToast({
-						title: '企业认证审核未通过,请重新认证!',
-						icon: 'none'
-					})
-					return
-				}
+export default {
+	data() {
+		return {
+			postPushId: '',
+			info: {}, //岗位详情
+		};
+	},
+	onLoad(option) {
+		this.postPushId = option.postPushId
+		this.getInfo()
+	},
+	methods: {
+		//返回上一页
+		goBack() {
+			// 检查页面栈,如果没有可返回的页面,则跳转到职位管理
+			const pages = getCurrentPages()
+			if (pages.length > 1) {
+				uni.navigateBack()
+			} else {
+				// 如果没有可返回的页面,跳转到职位管理页面
 				uni.navigateTo({
-					url: '/pages/my/jobPosting?postPushId=' + postPushId + '&type=' + type
+					url: '/pages/jobManagement/jobManagement'
 				})
-			},
-			//取消招聘
-			cancelProject() {
-				let that = this
-				uni.showModal({
-					content: '确认取消该招聘?',
-					title: '提示',
-					confirmColor: '#016BF6',
-					success(iet) {
-						if (iet.confirm) {
-							let data = {
-								postPushId: that.postPushId
-							}
-							that.$Request.postT('/app/postPush/cancelPostPush', data).then(res => {
-								if (res.code == 0) {
-									uni.showToast({
-										title: '取消成功',
-										duration: 1500,
-										complete() {
-											that.getInfo()
-										}
-									})
-								} else {
-									uni.showToast({
-										title: res.msg,
-										icon: 'none'
-									})
-								}
-								uni.hideLoading()
-							})
-						}
-					}
+			}
+		},
+		//修改岗位
+		updataServeType(postPushId, type) {
+			let companyStatus = uni.getStorageSync('companyStatus')
+			if (companyStatus == 1) {
+				uni.showToast({
+					title: '企业认证审核中,请审核通过后操作!',
+					icon: 'none'
 				})
-			},
-			//关闭/开启岗位
-			closeOpenJob(type) {
-				let that = this
-				uni.showModal({
-					title: '提示',
-					content: type == 'close' ? '关闭岗位后,该岗位不会再推荐给用户,是否关闭?' : '开启岗位后,该岗位会重新推荐给用户,是否开启?',
-					complete(ret) {
-						if (ret.confirm) {
-							that.$Request.getT('/app/postPush/closeOrOpen', {
-								postPushId: that.postPushId
-							}).then(res => {
-								if (res.code == 0) {
-									uni.showToast({
-										title: type == 'close' ? '已关闭' : '已开启',
-										duration: 1500,
-										complete() {
-											that.getInfo()
-										}
-									})
-								} else {
-									uni.showToast({
-										title: res.msg,
-										icon: 'none'
-									})
-								}
-							})
+				return
+			}
+			if (companyStatus == 3) {
+				uni.showToast({
+					title: '企业认证审核未通过,请重新认证!',
+					icon: 'none'
+				})
+				return
+			}
+			uni.navigateTo({
+				url: '/pages/my/jobPosting?postPushId=' + postPushId + '&type=' + type
+			})
+		},
+		//取消招聘
+		cancelProject() {
+			let that = this
+			uni.showModal({
+				content: '确认取消该招聘?',
+				title: '提示',
+				confirmColor: '#016BF6',
+				success(iet) {
+					if (iet.confirm) {
+						let data = {
+							postPushId: that.postPushId
 						}
+						that.$Request.postT('/app/postPush/cancelPostPush', data).then(res => {
+							if (res.code == 0) {
+								uni.showToast({
+									title: '取消成功',
+									duration: 1500,
+									complete() {
+										that.getInfo()
+									}
+								})
+							} else {
+								uni.showToast({
+									title: res.msg,
+									icon: 'none'
+								})
+							}
+							uni.hideLoading()
+						})
 					}
-				})
-			},
-			//拉起地图导航
-			gotoMap() {
-				let that = this
-				uni.openLocation({
-					latitude: that.info.lat,
-					longitude: that.info.lng,
-					address: that.info.province + '' + that.info.city + '' + that.info.county + '' + that.info
-						.address,
-					name: that.info.address,
-					// complete(ret) {
-
-					// }
-				})
-			},
-			/**
-			 * 获取岗位详情
-			 */
-			getInfo() {
-				this.$Request.getT("/app/postPush/selectPostPushDetails", {
-					// userId:uni.getStorageSync('userId'),
-					postPushId: this.postPushId
-				}).then(res => {
-					if (res.code == 0) {
-						this.info = res.data
+				}
+			})
+		},
+		//关闭/开启岗位
+		closeOpenJob(type) {
+			let that = this
+			uni.showModal({
+				title: '提示',
+				content: type == 'close' ? '关闭岗位后,该岗位不会再推荐给用户,是否关闭?' : '开启岗位后,该岗位会重新推荐给用户,是否开启?',
+				complete(ret) {
+					if (ret.confirm) {
+						that.$Request.getT('/app/postPush/closeOrOpen', {
+							postPushId: that.postPushId
+						}).then(res => {
+							if (res.code == 0) {
+								uni.showToast({
+									title: type == 'close' ? '已关闭' : '已开启',
+									duration: 1500,
+									complete() {
+										that.getInfo()
+									}
+								})
+							} else {
+								uni.showToast({
+									title: res.msg,
+									icon: 'none'
+								})
+							}
+						})
 					}
-				})
-			},
-		}
+				}
+			})
+		},
+		//拉起地图导航
+		gotoMap() {
+			let that = this
+			uni.openLocation({
+				latitude: that.info.lat,
+				longitude: that.info.lng,
+				address: that.info.province + '' + that.info.city + '' + that.info.county + '' + that.info
+					.address,
+				name: that.info.address,
+				// complete(ret) {
+
+				// }
+			})
+		},
+		/**
+		 * 获取岗位详情
+		 */
+		getInfo() {
+			this.$Request.getT("/app/postPush/selectPostPushDetails", {
+				// userId:uni.getStorageSync('userId'),
+				postPushId: this.postPushId
+			}).then(res => {
+				if (res.code == 0) {
+					this.info = res.data
+				}
+			})
+		},
 	}
+}
 </script>
 
 <style lang="scss">
-	page {
-		// background-color: #F2F2F7;
-		padding-top: 160rpx;
+page {
+	// background-color: #F2F2F7;
+	padding-top: 160rpx;
+}
+
+.warning-box {
+	background: rgba(255, 251, 232, 1);
+	color: rgba(237, 106, 12, 1);
+	font-family: Microsoft YaHei UI;
+	font-size: 22rpx;
+	font-weight: 400;
+	letter-spacing: 0px;
+	padding: 20rpx 32rpx;
+	box-sizing: border-box;
+	text-align: left;
+	margin-top: 20rpx;
+	display: flex;
+	align-items: center;
+	.warning-txt{
+		flex: 1;
+		overflow: hidden;
+		white-space: nowrap;
+		text-overflow: ellipsis;
 	}
-
-	.fixed-header {
-		position: fixed;
-		top: 0;
-		left: 0;
-		right: 0;
-		z-index: 9999;
-		background-color: #ffffff;
+	image{
+		width: 32rpx;
+		height: 32rpx;
+		flex-shrink: 0;
+		margin-right: 20rpx;
 	}
+}
+
+.fixed-header {
+	position: fixed;
+	top: 0;
+	left: 0;
+	right: 0;
+	z-index: 9999;
+	background-color: #ffffff;
+}
+
+.custom-navbar {
+	padding-top: 80rpx;
+	background-color: #ffffff;
+	box-sizing: border-box;
+
+	.navbar-content {
+		display: flex;
+		align-items: center;
+		justify-content: space-between;
+		height: 88rpx;
+		padding: 0 40rpx;
 
-	.custom-navbar {
-		padding-top: 80rpx;
-		background-color: #ffffff;
-		box-sizing: border-box;
-
-		.navbar-content {
+		.nav-left,
+		.nav-right {
+			width: 60rpx;
+			height: 60rpx;
 			display: flex;
 			align-items: center;
-			justify-content: space-between;
-			height: 88rpx;
-			padding: 0 40rpx;
-
-			.nav-left,
-			.nav-right {
-				width: 60rpx;
-				height: 60rpx;
-				display: flex;
-				align-items: center;
-				justify-content: center;
-			}
+			justify-content: center;
+		}
 
-			.nav-title {
-				color: rgba(51, 51, 51, 1);
-				font-family: DM Sans;
-				font-size: 30rpx;
-				font-weight: 700;
-				line-height: 52px;
-				letter-spacing: 0.5%;
-				text-align: center;
-			}
+		.nav-title {
+			color: rgba(51, 51, 51, 1);
+			font-family: DM Sans;
+			font-size: 30rpx;
+			font-weight: 700;
+			line-height: 52px;
+			letter-spacing: 0.5%;
+			text-align: center;
 		}
 	}
+}
+
+.status-section {
+	display: flex;
+	justify-content: center;
+	align-items: center;
+	margin: 40rpx 0rpx 40rpx 0rpx;
 
-	.status-section {
+	.status-icon {
+		margin-right: 20rpx;
 		display: flex;
-		justify-content: center;
 		align-items: center;
-		margin: 40rpx 0rpx 40rpx 0rpx;
 
-		.status-icon {
-			margin-right: 20rpx;
-			display: flex;
-			align-items: center;
-
-			.status-icon-img {
-				width: 48rpx;
-				height: 48rpx;
-			}
+		.status-icon-img {
+			width: 48rpx;
+			height: 48rpx;
 		}
+	}
 
-		.status-title {
-			color: rgba(29, 33, 41, 1);
-			font-family: DM Sans;
-			font-size: 36rpx;
-			font-weight: 500;
-			line-height: 48rpx;
-			letter-spacing: 0%;
-			text-align: left;
-			display: flex;
-			align-items: center;
-		}
+	.status-title {
+		color: rgba(29, 33, 41, 1);
+		font-family: DM Sans;
+		font-size: 36rpx;
+		font-weight: 500;
+		line-height: 48rpx;
+		letter-spacing: 0%;
+		text-align: left;
+		display: flex;
+		align-items: center;
 	}
+}
 
-	.job-info-card {
-		background: #ffffff;
-		border-radius: 12rpx;
-		margin: 0 40rpx 40rpx 40rpx;
-		padding: 32rpx;
-		border: 0.5px solid rgba(227, 231, 236, 1);
+.job-info-card {
+	background: #ffffff;
+	border-radius: 12rpx;
+	margin: 0 40rpx 40rpx 40rpx;
+	padding: 32rpx;
+	border: 0.5px solid rgba(227, 231, 236, 1);
 
-		.job-header {
-			display: flex;
-			justify-content: space-between;
-			align-items: flex-start;
-			margin-bottom: 16rpx;
-
-			.job-title-section {
-				flex: 1;
-
-				.job-title {
-					color: rgba(153, 153, 153, 1);
-					font-family: DM Sans;
-					font-size: 28rpx;
-					font-weight: 400;
-					line-height: 44rpx;
-					letter-spacing: 0.5%;
-					text-align: left;
-				}
-			}
+	.job-header {
+		display: flex;
+		justify-content: space-between;
+		align-items: flex-start;
+		margin-bottom: 16rpx;
 
-			.job-status {
-				.status-text {
-					color: rgba(153, 153, 153, 1);
-					font-family: DM Sans;
-					font-size: 18rpx;
-					font-weight: 400;
-					line-height: 20rpx;
-					letter-spacing: -0.5px;
-					text-align: right;
-				}
-			}
-		}
+		.job-title-section {
+			flex: 1;
 
-		.job-info {
-			.job-details {
+			.job-title {
 				color: rgba(153, 153, 153, 1);
 				font-family: DM Sans;
 				font-size: 28rpx;
 				font-weight: 400;
-				line-height: 36rpx;
+				line-height: 44rpx;
 				letter-spacing: 0.5%;
 				text-align: left;
 			}
 		}
-	}
 
-	.failure-reason-section {
-		margin: 0 40rpx;
+		.job-status {
+			.status-text {
+				color: rgba(153, 153, 153, 1);
+				font-family: DM Sans;
+				font-size: 18rpx;
+				font-weight: 400;
+				line-height: 20rpx;
+				letter-spacing: -0.5px;
+				text-align: right;
+			}
+		}
+	}
 
-		.section-title {
-			color: rgba(31, 44, 55, 1);
+	.job-info {
+		.job-details {
+			color: rgba(153, 153, 153, 1);
 			font-family: DM Sans;
 			font-size: 28rpx;
-			font-weight: 500;
-			line-height: 44rpx;
+			font-weight: 400;
+			line-height: 36rpx;
 			letter-spacing: 0.5%;
 			text-align: left;
-			margin-bottom: 20rpx;
 		}
+	}
+}
+
+.failure-reason-section {
+	margin: 0 40rpx;
+
+	.section-title {
+		color: rgba(31, 44, 55, 1);
+		font-family: DM Sans;
+		font-size: 28rpx;
+		font-weight: 500;
+		line-height: 44rpx;
+		letter-spacing: 0.5%;
+		text-align: left;
+		margin-bottom: 20rpx;
+	}
 
-		.reason-list {
-			.reason-item {
-				margin-bottom: 16rpx;
-
-				.reason-text {
-					color: rgba(153, 153, 153, 1);
-					font-family: DM Sans;
-					font-size: 24rpx;
-					font-weight: 500;
-					line-height: 48rpx;
-					letter-spacing: 0.5%;
-					text-align: left;
-				}
+	.reason-list {
+		.reason-item {
+			margin-bottom: 16rpx;
+
+			.reason-text {
+				color: rgba(153, 153, 153, 1);
+				font-family: DM Sans;
+				font-size: 24rpx;
+				font-weight: 500;
+				line-height: 48rpx;
+				letter-spacing: 0.5%;
+				text-align: left;
 			}
 		}
 	}
+}
 
-	.remarks {
-		width: 100%;
-		margin-top: 30rpx;
-
-		.remarks-box {
-			width: 686rpx;
-			border-radius: 24rpx;
-			background-color: #ffffff;
-			padding: 0rpx 20rpx;
-			color: red;
-		}
+.remarks {
+	width: 100%;
+	margin-top: 30rpx;
+
+	.remarks-box {
+		width: 686rpx;
+		border-radius: 24rpx;
+		background-color: #ffffff;
+		padding: 0rpx 20rpx;
+		color: red;
 	}
+}
 
-	.job {
-		width: 100%;
-		margin-top: 30rpx;
+.job {
+	width: 100%;
+	margin-top: 30rpx;
+
+	.job-info {
+		width: 686rpx;
+		height: 100%;
+		border-radius: 24rpx;
+		background-color: #ffffff;
 
-		.job-info {
-			width: 686rpx;
+		.job-info-c {
+			// width: 626rpx;
+			width: 100%;
 			height: 100%;
-			border-radius: 24rpx;
-			background-color: #ffffff;
-
-			.job-info-c {
-				// width: 626rpx;
-				width: 100%;
-				height: 100%;
-				padding: 30rpx 20rpx;
-			}
+			padding: 30rpx 20rpx;
+		}
 
-			.job-info-c-header {
-				display: flex;
-				justify-content: space-between;
-				align-items: center;
-			}
+		.job-info-c-header {
+			display: flex;
+			justify-content: space-between;
+			align-items: center;
+		}
+
+		.job-info-c-address {
+			color: rgba(156, 164, 171, 1);
+			font-family: DM Sans;
+			font-size: 24rpx;
+			font-weight: 400;
+			line-height: 26rpx;
+			letter-spacing: 0.5%;
+			text-align: left;
+			padding: 20rpx 0;
+		}
+
+		.job-info-c-title {
+			color: rgba(58, 57, 67, 1);
+			font-family: DM Sans;
+			font-size: 48rpx;
+			font-weight: 700;
+			line-height: 60rpx;
+			letter-spacing: 0px;
+			text-align: left;
+		}
 
-			.job-info-c-address {
-				color: rgba(156, 164, 171, 1);
+		.job-info-c-label {
+
+			// margin-top: 30rpx;
+			.job-info-c-label-item {
+				color: rgba(153, 153, 153, 1);
 				font-family: DM Sans;
 				font-size: 24rpx;
 				font-weight: 400;
-				line-height: 26rpx;
+				line-height: 20rpx;
 				letter-spacing: 0.5%;
+				padding: 12rpx;
 				text-align: left;
-				padding: 20rpx 0;
-			}
-
-			.job-info-c-title {
-				color: rgba(58, 57, 67, 1);
-				font-family: DM Sans;
-				font-size: 48rpx;
-				font-weight: 700;
-				line-height: 60rpx;
-				letter-spacing: 0px;
-				text-align: left;
-			}
-
-			.job-info-c-label {
-
-				// margin-top: 30rpx;
-				.job-info-c-label-item {
-					color: rgba(153, 153, 153, 1);
-					font-family: DM Sans;
-					font-size: 24rpx;
-					font-weight: 400;
-					line-height: 20rpx;
-					letter-spacing: 0.5%;
-					padding: 12rpx;
-					text-align: left;
-					margin-right: 30rpx;
-					border-radius: 12rpx;
-					background: rgba(198, 198, 198, 0.1);
-				}
+				margin-right: 30rpx;
+				border-radius: 12rpx;
+				background: rgba(198, 198, 198, 0.1);
 			}
+		}
 
-			.job-info-c-price {
-				color: rgba(1, 107, 246, 1);
-				font-family: DM Sans;
-				font-size: 32rpx;
-				font-weight: 700;
-				line-height: 40rpx;
-				letter-spacing: 0.5%;
-				text-align: right;
-			}
+		.job-info-c-price {
+			color: rgba(1, 107, 246, 1);
+			font-family: DM Sans;
+			font-size: 32rpx;
+			font-weight: 700;
+			line-height: 40rpx;
+			letter-spacing: 0.5%;
+			text-align: right;
 		}
 	}
+}
 
-	.jobRemarks {
+.jobRemarks {
+	width: 100%;
+	padding: 0 20rpx;
+
+	.jobRemarks-box {
 		width: 100%;
-		padding: 0 20rpx;
+		height: 100%;
+		background-color: #ffffff;
+		border-radius: 24rpx;
 
-		.jobRemarks-box {
+		.jobRemarks-box-c {
 			width: 100%;
 			height: 100%;
-			background-color: #ffffff;
-			border-radius: 24rpx;
+			padding: 30rpx 20rpx;
+		}
 
-			.jobRemarks-box-c {
-				width: 100%;
-				height: 100%;
-				padding: 30rpx 20rpx;
+		.jobRemarks-box-c-title {
+			color: rgba(1, 107, 246, 1);
+			font-size: 32rpx;
+			padding: 8px 12px;
+			border-radius: 36px;
+			font-weight: 500;
+			background: rgba(246, 246, 246, 1);
+
+			.title-icon {
+				width: 32rpx;
+				height: 32rpx;
 			}
+		}
 
-			.jobRemarks-box-c-title {
-				color: rgba(1, 107, 246, 1);
-				font-size: 32rpx;
-				padding: 8px 12px;
-				border-radius: 36px;
-				font-weight: 500;
-				background: rgba(246, 246, 246, 1);
+		.job-description {
+			margin-top: 20rpx;
+			margin-bottom: 20rpx;
 
-				.title-icon {
-					width: 32rpx;
-					height: 32rpx;
-				}
+			.description-item {
+				color: rgba(97, 110, 124, 1);
+				font-family: DM Sans;
+				font-size: 26rpx;
+				font-weight: 400;
+				line-height: 16px;
+				letter-spacing: 0px;
+				text-align: left;
+				margin-bottom: 8rpx;
 			}
+		}
 
-			.job-description {
-				margin-top: 20rpx;
-				margin-bottom: 20rpx;
-
-				.description-item {
-					color: rgba(97, 110, 124, 1);
-					font-family: DM Sans;
-					font-size: 26rpx;
-					font-weight: 400;
-					line-height: 16px;
-					letter-spacing: 0px;
-					text-align: left;
-					margin-bottom: 8rpx;
-				}
-			}
+		.jobRemarks-box-c-label {
+			width: 100%;
+			margin-top: 25rpx;
 
-			.jobRemarks-box-c-label {
-				width: 100%;
-				margin-top: 25rpx;
-
-				.jobRemarks-box-c-label-item {
-					color: rgba(1, 107, 246, 1);
-					font-size: 20rpx;
-					padding: 10rpx 15rpx;
-					background-color: #F6F6F6;
-					border-radius: 10rpx;
-					margin-right: 20rpx;
-					margin-bottom: 10rpx;
-					background: rgba(252, 233, 220, 1);
-				}
+			.jobRemarks-box-c-label-item {
+				color: rgba(1, 107, 246, 1);
+				font-size: 20rpx;
+				padding: 10rpx 15rpx;
+				background-color: #F6F6F6;
+				border-radius: 10rpx;
+				margin-right: 20rpx;
+				margin-bottom: 10rpx;
+				background: rgba(252, 233, 220, 1);
 			}
+		}
 
-			.jobRemarks-box-c-con {
-				width: 100%;
-				margin-top: 25rpx;
+		.jobRemarks-box-c-con {
+			width: 100%;
+			margin-top: 25rpx;
 
-				.jobRemarks-box-c-con-item {
-					margin-bottom: 10rpx;
-					color: #141414;
-					font-size: 28rpx;
-					font-weight: 500;
-				}
+			.jobRemarks-box-c-con-item {
+				margin-bottom: 10rpx;
+				color: #141414;
+				font-size: 28rpx;
+				font-weight: 500;
 			}
+		}
 
-			.jobRemarks-box-c-line {
-				width: 100%;
-				border: 1rpx solid #E6E6E6;
-				margin-top: 25rpx;
-			}
+		.jobRemarks-box-c-line {
+			width: 100%;
+			border: 1rpx solid #E6E6E6;
+			margin-top: 25rpx;
 		}
 	}
+}
 
-	.enterprise {
-		width: 100%;
-		margin-top: 25rpx;
-		padding: 0 20rpx;
-
-		.company-intro-card {
-			width: 100%;
-			background-color: #ffffff;
-			border-radius: 24rpx;
-			padding: 12rpx 24rpx;
-			margin-bottom: 20rpx;
-			display: flex;
-			align-items: center;
-			border: 0.5px solid rgba(227, 231, 236, 1);
+.enterprise {
+	width: 100%;
+	margin-top: 25rpx;
+	padding: 0 20rpx;
 
-			.company-avatar {
-				flex-shrink: 0;
-				margin-right: 24rpx;
-			}
+	.company-intro-card {
+		width: 100%;
+		background-color: #ffffff;
+		border-radius: 24rpx;
+		padding: 12rpx 24rpx;
+		margin-bottom: 20rpx;
+		display: flex;
+		align-items: center;
+		border: 0.5px solid rgba(227, 231, 236, 1);
 
-			.company-info {
-				flex: 1;
+		.company-avatar {
+			flex-shrink: 0;
+			margin-right: 24rpx;
+		}
 
-				.company-name {
-					color: rgba(51, 51, 51, 1);
-					font-size: 26rpx;
-					font-weight: 600;
-					line-height: 1.4;
-					margin-bottom: 8rpx;
-				}
+		.company-info {
+			flex: 1;
 
-				.company-details {
-					color: rgba(153, 153, 153, 1);
-					font-size: 24rpx;
-					font-weight: 400;
-					line-height: 1.4;
-				}
+			.company-name {
+				color: rgba(51, 51, 51, 1);
+				font-size: 26rpx;
+				font-weight: 600;
+				line-height: 1.4;
+				margin-bottom: 8rpx;
 			}
 
-			.company-arrow {
-				flex-shrink: 0;
-				margin-left: 48rpx;
+			.company-details {
+				color: rgba(153, 153, 153, 1);
+				font-size: 24rpx;
+				font-weight: 400;
+				line-height: 1.4;
 			}
 		}
 
-		.enterprise-box {
+		.company-arrow {
+			flex-shrink: 0;
+			margin-left: 48rpx;
+		}
+	}
+
+	.enterprise-box {
+		width: 100%;
+		background-color: #ffffff;
+		height: 100%;
+		padding-bottom: 25rpx;
+		border-radius: 24rpx;
+
+		.enterprise-box-c {
 			width: 100%;
-			background-color: #ffffff;
 			height: 100%;
-			padding-bottom: 25rpx;
-			border-radius: 24rpx;
-
-			.enterprise-box-c {
-				width: 100%;
-				height: 100%;
-			}
+		}
 
-			.enterprise-box-c-bto {
-				width: 100%;
-				// padding-top: 15rpx;
-				padding-bottom: 15rpx;
-				background-color: #EDFFFB;
-				border-radius: 30rpx;
-				margin-top: 20rpx;
-				color: #016BF6;
-				font-size: 24rpx;
-				font-weight: 500;
-			}
+		.enterprise-box-c-bto {
+			width: 100%;
+			// padding-top: 15rpx;
+			padding-bottom: 15rpx;
+			background-color: #EDFFFB;
+			border-radius: 30rpx;
+			margin-top: 20rpx;
+			color: #016BF6;
+			font-size: 24rpx;
+			font-weight: 500;
 		}
 	}
-	.postNum{padding: 12rpx;}
-.postNum-ul{margin: 22px auto;font-family: DM Sans;}
-.postNum-li-num{font-size: 32rpx;font-weight: 600;line-height: 48rpx;text-align: center;}
-.postNum-li-txt{font-size: 26rpx;font-weight: 600;line-height: 48rpx;text-align: center;}
-
-	.urgent-banner {
-		width: 686rpx;
-		height: 150rpx;
-		background: linear-gradient(180deg, rgba(255, 181, 60, 1) 100%, rgba(251, 231, 185, 1) 50%);
-		border-radius: 16rpx;
+}
+
+.postNum {
+	padding: 12rpx;
+}
+
+.postNum-ul {
+	margin: 22px auto;
+	font-family: DM Sans;
+}
+
+.postNum-li-num {
+	font-size: 32rpx;
+	font-weight: 600;
+	line-height: 48rpx;
+	text-align: center;
+}
+
+.postNum-li-txt {
+	font-size: 26rpx;
+	font-weight: 600;
+	line-height: 48rpx;
+	text-align: center;
+}
+
+.urgent-banner {
+	width: 686rpx;
+	height: 150rpx;
+	background: linear-gradient(180deg, rgba(255, 181, 60, 1) 100%, rgba(251, 231, 185, 1) 50%);
+	border-radius: 16rpx;
+	display: flex;
+	align-items: flex-start;
+	justify-content: space-between;
+	padding: 20rpx 30rpx;
+	margin: 0 auto 20rpx auto;
+
+	.urgent-left-section {
+		flex: 1;
 		display: flex;
-		align-items: flex-start;
-		justify-content: space-between;
-		padding: 20rpx 30rpx;
-		margin: 0 auto 20rpx auto;
+		align-items: center;
+
+		.urgent-star-icon-wrapper {
+			width: 72rpx;
+			height: 72rpx;
+			border-radius: 50%;
+			background: linear-gradient(90deg, rgba(255, 65, 86, 1) 0%, rgba(255, 102, 0, 0.35) 100%);
+			margin-right: 24rpx;
+			flex-shrink: 0;
+		}
 
-		.urgent-left-section {
+		.urgent-text-content {
 			flex: 1;
-			display: flex;
-			align-items: center;
 
-			.urgent-star-icon-wrapper {
-				width: 72rpx;
-				height: 72rpx;
-				border-radius: 50%;
-				background: linear-gradient(90deg, rgba(255, 65, 86, 1) 0%, rgba(255, 102, 0, 0.35) 100%);
-				margin-right: 24rpx;
-				flex-shrink: 0;
+			.urgent-main-title {
+				color: rgba(255, 255, 255, 1);
+				font-family: DM Sans;
+				font-size: 24rpx;
+				font-weight: 500;
+				line-height: 32rpx;
+				letter-spacing: 0%;
+				text-align: left;
+				margin-bottom: 8rpx;
 			}
 
-			.urgent-text-content {
-				flex: 1;
-
-				.urgent-main-title {
-					color: rgba(255, 255, 255, 1);
-					font-family: DM Sans;
-					font-size: 24rpx;
-					font-weight: 500;
-					line-height: 32rpx;
-					letter-spacing: 0%;
-					text-align: left;
-					margin-bottom: 8rpx;
-				}
-
-				.urgent-sub-description {
-					color: rgba(255, 255, 255, 1);
-					font-family: DM Sans;
-					font-size: 20rpx;
-					font-weight: 400;
-					line-height: 26rpx;
-					letter-spacing: 0%;
-					text-align: left;
-					margin-bottom: 6rpx;
-				}
-
-				.urgent-benefits {
-					color: rgba(255, 255, 255, 1);
-					font-family: DM Sans;
-					font-size: 20rpx;
-					font-weight: 400;
-					line-height: 26rpx;
-					letter-spacing: 0%;
-					text-align: left;
-				}
+			.urgent-sub-description {
+				color: rgba(255, 255, 255, 1);
+				font-family: DM Sans;
+				font-size: 20rpx;
+				font-weight: 400;
+				line-height: 26rpx;
+				letter-spacing: 0%;
+				text-align: left;
+				margin-bottom: 6rpx;
 			}
-		}
 
-		.urgent-upgrade-button {
-			background: linear-gradient(90deg, rgba(255, 65, 86, 1) 0%, rgba(255, 102, 0, 0.35) 100%);
-			padding: 8rpx;
-			border-radius: 8rpx;
-			color: rgba(255, 255, 255, 1);
-			font-family: DM Sans;
-			font-size: 16rpx;
-			font-weight: 400;
-			line-height: 20rpx;
-			letter-spacing: -0.5px;
-			text-align: right;
-			margin-left: 20rpx;
+			.urgent-benefits {
+				color: rgba(255, 255, 255, 1);
+				font-family: DM Sans;
+				font-size: 20rpx;
+				font-weight: 400;
+				line-height: 26rpx;
+				letter-spacing: 0%;
+				text-align: left;
+			}
 		}
 	}
 
-	.bgBox {
-		color: #ffffff;
-		background-color: rgba(1, 107, 246, 1);
-		font-weight: bold;
-		border-radius: 50rpx;
+	.urgent-upgrade-button {
+		background: linear-gradient(90deg, rgba(255, 65, 86, 1) 0%, rgba(255, 102, 0, 0.35) 100%);
+		padding: 8rpx;
+		border-radius: 8rpx;
+		color: rgba(255, 255, 255, 1);
+		font-family: DM Sans;
+		font-size: 16rpx;
+		font-weight: 400;
+		line-height: 20rpx;
+		letter-spacing: -0.5px;
+		text-align: right;
+		margin-left: 20rpx;
 	}
+}
 
-	.btn {
-		width: 100%;
-		height: 88rpx;
-		margin: 30rpx 0rpx;
-		border-radius: 40rpx;
+.bgBox {
+	color: #ffffff;
+	background-color: rgba(1, 107, 246, 1);
+	font-weight: bold;
+	border-radius: 50rpx;
+}
 
-		.btn-boxs {
-			width: 49% !important;
+.btn {
+	width: 100%;
+	height: 88rpx;
+	margin: 30rpx 0rpx;
+	border-radius: 40rpx;
 
-		}
+	.btn-boxs {
+		width: 49% !important;
 
-		.btn-box {
-			width: 686rpx;
-			height: 100%;
+	}
+
+	.btn-box {
+		width: 686rpx;
+		height: 100%;
 
-		}
 	}
+}
 </style>

+ 1 - 1
my/renzheng/companyMsg.vue

@@ -78,7 +78,7 @@ import navBar from "@/components/nav-bar/index.vue";
 export default {
   data() {
     return {
-      peopleList: ["双休", "排版轮休"],
+      peopleList: ["单休", "双休"],
       workList: ["不加班", "偶尔加班", "弹性工作"],
       check: 0,
       work: 0,

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 644 - 599
pages/my/index.vue


+ 478 - 469
pages/my/jobPosting.vue

@@ -1,10 +1,10 @@
 <template>
 	<view class="switch-roles">
-		<nav-bar title="发布职位" color="#000" :isBack="false"></nav-bar>
+		<nav-bar title="发布职位" color="#000" :isBack="isBack"></nav-bar>
 		<view class="roles-content">
 			<view class="content">
-				<view class="title">{{isDisabled?'编辑【'+jobInfo.ruleClassifyName+'】':'发布社招'}}岗位</view>
-				<view class="desc">{{companyName}}</view>
+				<view class="title">{{ isDisabled ? '编辑【' + jobInfo.ruleClassifyName + '】' : '发布社招' }}岗位</view>
+				<view class="desc">{{ companyName }}</view>
 				<view class="step">
 					<u-steps :list="numList" mode="number" :current="0"></u-steps>
 				</view>
@@ -17,10 +17,11 @@
 								<radio value="0" :checked="true" class="radio-size" :disabled="isDisabled" />普通岗位招聘
 							</label>
 							<label class="radio radioselet">
-								<radio value="1" class="radio-size" :disabled="isDisabled"/>急聘
+								<radio value="1" class="radio-size" :disabled="isDisabled" />急聘
 							</label>
 							<text
-								style="position: absolute;right: 0;bottom: 18px;font-size: 12px;color: rgba(120, 130, 138, 1);">急聘职位剩余{{vipDueTimes}}个</text>
+								style="position: absolute;right: 0;bottom: 18px;font-size: 12px;color: rgba(120, 130, 138, 1);">急聘职位剩余{{
+								vipDueTimes }}个</text>
 						</view>
 					</radio-group>
 
@@ -34,12 +35,12 @@
 				</view>
 				<view class="check-title-big">招聘职位</view>
 				<view class="check-select" @click="!isDisabledid && goJob()" :class="{ disabled: isDisabledid }">
-					<view class="select-txt">{{jobInfo.ruleClassifyName}}</view>
+					<view class="select-txt">{{ jobInfo.ruleClassifyName }}</view>
 					<u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
 				</view>
 				<view class="check-title-big">岗位描述</view>
 				<view class="check-select" @click="goJobContent">
-					<view class="select-txt">{{this.text ? this.text : "介绍工作内容、职位要求" }}</view>
+					<view class="select-txt">{{ this.text ? this.text : "介绍工作内容、职位要求" }}</view>
 					<u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
 				</view>
 				<view class="txt-desc">注:职位名称、职位类型等发布后不可修改</view>
@@ -49,533 +50,541 @@
 	</view>
 </template>
 <script>
-	import navBar from "@/components/nav-bar/index.vue";
-	export default {
-		data() {
-			return {
-				selectedValue: 0, // 默认选中值
-				peopleList: ["社招全职", "应届生校园招聘", "实习生招聘", "兼职招聘"],
-				check: 0,
-				isDisabled: false,
-				isDisabledid:false,
-				isCompanyVip: 0,
-				vipDueTimes: 0,
-				postPushId:"",
-				update:"",
-				vipPostTimes: 0,
-				text: "",
-				status: "",
-				companyName: "",
-				companyId: "",
-				numList: [{
-						name: "填写基本信息",
-					},
-					{
-						name: "选择职位要求",
-					},
-				],
-				jobInfo: {
-					ruleClassifyId: '',
-					ruleClassifyName: '请选择要招聘的职位',
-					price: ''
-				}
-			};
-		},
-		components: {
-			navBar,
-		},
-
-		onLoad(options) {
-			// 接收上个页面传递的公司名称参数
-			if(options.postPushId){
-				this.postPushId=options.postPushId
-				this.getInfo()
-			}
-			if(options.type){
-				this.update=decodeURIComponent(options.type);
-				 this.isDisabled = true;
-			}
-			if (options.companyName) {
-				this.companyName = decodeURIComponent(options.companyName);
-			}else{
-				this.companyName = uni.getStorageSync('companyName')
+import navBar from "@/components/nav-bar/index.vue";
+export default {
+	data() {
+		return {
+			selectedValue: 0, // 默认选中值
+			peopleList: ["社招全职", "应届生校园招聘", "实习生招聘", "兼职招聘"],
+			check: 0,
+			isDisabled: false,
+			isDisabledid: false,
+			isCompanyVip: 0,
+			vipDueTimes: 0,
+			postPushId: "",
+			update: "",
+			vipPostTimes: 0,
+			text: "",
+			status: "",
+			companyName: "",
+			companyId: "",
+			isBack: true,
+			numList: [{
+				name: "填写基本信息",
+			},
+			{
+				name: "选择职位要求",
+			},
+			],
+			jobInfo: {
+				ruleClassifyId: '',
+				ruleClassifyName: '请选择要招聘的职位',
+				price: ''
 			}
-			this.descListener = uni.$on("jobDescUpdated", (data) => {
-				this.text = data.desc; // 赋值给当前页变量
+		};
+	},
+	components: {
+		navBar,
+	},
+
+	onLoad(options) {
+		if (options.isBack == 'false') {
+
+			this.isBack = false;
+		}
+		// 接收上个页面传递的公司名称参数
+		if (options.postPushId) {
+			this.postPushId = options.postPushId
+			this.getInfo()
+		}
+		if (options.type) {
+			this.update = decodeURIComponent(options.type);
+			this.isDisabled = true;
+		}
+		if (options.companyName) {
+			this.companyName = decodeURIComponent(options.companyName);
+		} else {
+			this.companyName = uni.getStorageSync('companyName')
+		}
+		this.descListener = uni.$on("jobDescUpdated", (data) => {
+			this.text = data.desc; // 赋值给当前页变量
+		});
+		this.jobListener = uni.$on('jobs', (data) => {
+			console.log('接收从B页传来的数据:', data);
+			// 手动更新 A 页的 data
+			this.jobInfo = data;
+		});
+		if (options.companyId) {
+			this.companyId = options.companyId;
+		} else {
+			this.companyId = uni.getStorageSync('companyId')
+		}
+		if (options.status) {
+			this.status = options.status;
+		} else {
+			this.status = uni.getStorageSync('companyStatus')
+		}
+		this.isCompanyVip = uni.getStorageSync('isCompanyVip') || 0
+		this.vipDueTimes = uni.getStorageSync('vipDueTimes') || 0
+		this.vipPostTimes = uni.getStorageSync('vipPostTimes') || 0
+
+
+		console.log('接收的公司名称:', this.companyName);
+		console.log("收到岗位描述数据:", this.text);
+		console.log('接收的公司ID:', this.companyId);
+		console.log('接收的公司状态:', this.status);
+
+
+
+	},
+	onUnload() {
+		// 页面卸载时移除监听,避免内存泄漏
+		uni.$off('jobs', this.jobListener);
+	},
+	methods: {
+		goBusinessLicense() {
+			uni.navigateTo({
+				url: "/pages/my/businessLicense"
 			});
-			this.jobListener = uni.$on('jobs', (data) => {
-				console.log('接收从B页传来的数据:', data);
-				// 手动更新 A 页的 data
-				this.jobInfo = data;
+		},
+		checkPeople(index) {
+			this.check = index;
+		},
+		goJob() {
+			uni.navigateTo({
+				url: "/package/jobIntention/jobList",
 			});
-			if (options.companyId) {
-				this.companyId = options.companyId;
-			}else{
-				this.companyId = uni.getStorageSync('companyId')
-			}
-			if (options.status) {
-				this.status = options.status;
-			}else{
-				this.status = uni.getStorageSync('companyStatus')
-			}
-			this.isCompanyVip = uni.getStorageSync('isCompanyVip') || 0
-			this.vipDueTimes = uni.getStorageSync('vipDueTimes') || 0
-			this.vipPostTimes = uni.getStorageSync('vipPostTimes') || 0
-			
-			
-			console.log('接收的公司名称:', this.companyName);
-			console.log("收到岗位描述数据:", this.text);
-			console.log('接收的公司ID:', this.companyId);
-			console.log('接收的公司状态:', this.status);
-		
-			
-
 		},
-		onUnload() {
-			// 页面卸载时移除监听,避免内存泄漏
-			uni.$off('jobs', this.jobListener);
+		goJobContent() {
+			uni.navigateTo({
+				url: `/package/jobIntention/editJob?text=${this.text}`,
+			});
 		},
-		methods: {
-			goBusinessLicense() {
-				uni.navigateTo({
-					url: "/pages/my/businessLicense"
-				});
-			},
-			checkPeople(index) {
-				this.check = index;
-			},
-			goJob() {
-				uni.navigateTo({
-					url: "/package/jobIntention/jobList",
-				});
-			},
-			goJobContent() {
-				uni.navigateTo({
-					url: `/package/jobIntention/editJob?text=${this.text}`,
-				});
-			},
-			
-			/**
-			 * 获取岗位详情
-			 */
-			getInfo(){
-				this.$Request.getT("/app/postPush/selectPostPushDetails",{
-					// userId:uni.getStorageSync('userId'),
-					postPushId:this.postPushId
-				}).then(res => {
-					if(res.code==0){
-						this.jobInfo = res.data
-						this.text=res.data.positionDetails
-						if(!this.jobInfo?.ruleClassifyId){
-							this.isDisabledid=false
-						}else{
-							this.isDisabledid=true
-						}
-					}
-				})
-			},
-			
-			
-			//radio 选中变化时触发
-			onRadioChange(e) {
-				// 获取选中的值
-
-
-				// 根据值做不同处理
-				if (this.selectedValue === 0) {
-					console.log('选中了:普通岗位招聘');
-					// 执行普通岗位招聘的逻辑
-				} else if (this.selectedValue === 1) {
-					console.log('选中了:急聘');
-					if (!this.isCompanyVip) {
-						uni.showToast({
-							title: '对不起,您还不是会员,不能发布急聘。',
-							icon: 'none',
-							duration: 2000
-						});
-						return
-					}
-					if (this.vipDueTimes < 1) {
-						uni.showToast({
-							title: '对不起,您的次数已经用完,不能发布。',
-							icon: 'none',
-							duration: 2000
-						});
-						return
+
+		/**
+		 * 获取岗位详情
+		 */
+		getInfo() {
+			this.$Request.getT("/app/postPush/selectPostPushDetails", {
+				// userId:uni.getStorageSync('userId'),
+				postPushId: this.postPushId
+			}).then(res => {
+				if (res.code == 0) {
+					this.jobInfo = res.data
+					this.text = res.data.positionDetails
+					if (!this.jobInfo?.ruleClassifyId) {
+						this.isDisabledid = false
+					} else {
+						this.isDisabledid = true
 					}
+				}
+			})
+		},
 
-					// 执行急聘的逻辑
+
+		//radio 选中变化时触发
+		onRadioChange(e) {
+			// 获取选中的值
+
+
+			// 根据值做不同处理
+			if (this.selectedValue === 0) {
+				console.log('选中了:普通岗位招聘');
+				// 执行普通岗位招聘的逻辑
+			} else if (this.selectedValue === 1) {
+				console.log('选中了:急聘');
+				if (!this.isCompanyVip) {
+					uni.showToast({
+						title: '对不起,您还不是会员,不能发布急聘。',
+						icon: 'none',
+						duration: 2000
+					});
+					return
+				}
+				if (this.vipDueTimes < 1) {
+					uni.showToast({
+						title: '对不起,您的次数已经用完,不能发布。',
+						icon: 'none',
+						duration: 2000
+					});
+					return
 				}
-				this.selectedValue = e.detail.value;
 
+				// 执行急聘的逻辑
+			}
+			this.selectedValue = e.detail.value;
 
-			},
 
-			//提交
-			goJobPostingSecond() {
+		},
 
-				// 显示加载中
-				uni.showLoading({
-					title: '提交中...'
-				});
+		//提交
+		goJobPostingSecond() {
 
-				//校验数据
+			// 显示加载中
+			uni.showLoading({
+				title: '提交中...'
+			});
 
-				// 校验数据
-				const validate = () => {
+			//校验数据
 
-					// 2. 校验岗位描述(positionDetails)
-					if (!this.text || this.text.trim() === '') {
-						uni.hideLoading();
-						uni.showToast({
-							title: '岗位描述不能为空',
-							icon: 'none',
-							duration: 2000
-						});
-						return false;
-					}
-					if (this.text.length > 500) {
-						uni.hideLoading();
-						uni.showToast({
-							title: '岗位描述不能超过500字',
-							icon: 'none',
-							duration: 2000
-						});
-						return false;
-					}
-					// 校验是否包含违规内容(简单示例,可根据实际需求扩展)
-					const illegalChars = /QQ|微信|电话|手机号|\?/g;
-					if (illegalChars.test(this.text)) {
-						uni.hideLoading();
-						uni.showToast({
-							title: '岗位描述不能包含联系方式或特殊符号',
-							icon: 'none',
-							duration: 2000
-						});
-						return false;
-					}
+			// 校验数据
+			const validate = () => {
 
-					// 3. 校验岗位分类信息(假设ruleClassifyId是必选)
-					if (!this.jobInfo?.ruleClassifyId) {
-						uni.hideLoading();
-						uni.showToast({
-							title: '请选择岗位分类',
-							icon: 'none',
-							duration: 2000
-						});
-						return false;
-					}
-					if (!this.jobInfo?.ruleClassifyName || this.jobInfo?.ruleClassifyName == '请选择要招聘的职位') {
-						uni.hideLoading();
-						uni.showToast({
-							title: '岗位分类名称异常,请重新选择',
-							icon: 'none',
-							duration: 2000
-						});
-						return false;
-					}
+				// 2. 校验岗位描述(positionDetails)
+				if (!this.text || this.text.trim() === '') {
+					uni.hideLoading();
+					uni.showToast({
+						title: '岗位描述不能为空',
+						icon: 'none',
+						duration: 2000
+					});
+					return false;
+				}
+				if (this.text.length > 500) {
+					uni.hideLoading();
+					uni.showToast({
+						title: '岗位描述不能超过500字',
+						icon: 'none',
+						duration: 2000
+					});
+					return false;
+				}
+				// 校验是否包含违规内容(简单示例,可根据实际需求扩展)
+				const illegalChars = /QQ|微信|电话|手机号|\?/g;
+				if (illegalChars.test(this.text)) {
+					uni.hideLoading();
+					uni.showToast({
+						title: '岗位描述不能包含联系方式或特殊符号',
+						icon: 'none',
+						duration: 2000
+					});
+					return false;
+				}
 
-					// 4. 校验orderId(如果有实际业务含义,可根据需求调整)
-					// if (!this.orderId || this.orderId < 1) {
-					//   uni.hideLoading();
-					//   uni.showToast({
-					//     title: '订单信息异常',
-					//     icon: 'none',
-					//     duration: 2000
-					//   });
-					//   return false;
-					// }
-
-					// 所有校验通过
-					return true;
-				};
-
-				// 执行校验,通过后再提交
-				if (!validate()) {
-					return; // 校验失败,终止提交
+				// 3. 校验岗位分类信息(假设ruleClassifyId是必选
+				if (!this.jobInfo?.ruleClassifyId) {
+					uni.hideLoading();
+					uni.showToast({
+						title: '请选择岗位分类',
+						icon: 'none',
+						duration: 2000
+					});
+					return false;
+				}
+				if (!this.jobInfo?.ruleClassifyName || this.jobInfo?.ruleClassifyName == '请选择要招聘的职位') {
+					uni.hideLoading();
+					uni.showToast({
+						title: '岗位分类名称异常,请重新选择',
+						icon: 'none',
+						duration: 2000
+					});
+					return false;
 				}
 
+				// 4. 校验orderId(如果有实际业务含义,可根据需求调整)
+				// if (!this.orderId || this.orderId < 1) {
+				//   uni.hideLoading();
+				//   uni.showToast({
+				//     title: '订单信息异常',
+				//     icon: 'none',
+				//     duration: 2000
+				//   });
+				//   return false;
+				// }
+
+				// 所有校验通过
+				return true;
+			};
 
-				if (this.selectedValue == 1) {//急聘刚
-					if (!this.isCompanyVip) {
-						uni.showToast({
-							title: '对不起,您还不是会员,不能发布急聘。',
-							icon: 'none',
-							duration: 2000
-						});
-						return
-					}
-					if (this.vipDueTimes < 1) {
-						uni.showToast({
-							title: '对不起,您的次数已经用完,不能发布。',
-							icon: 'none',
-							duration: 2000
-						});
-						return
-					}
-				}
+			// 执行校验,通过后再提交
+			if (!validate()) {
+				return; // 校验失败,终止提交
+			}
 
 
-				const data = {
-					postPushId:this.postPushId,
-					type: this.check,
-					isDue: this.selectedValue,
-					companyId:(this.companyId === undefined || this.companyId === 'undefined') ? '' : this.companyId,
-					positionDetails: this.text,
-					ruleClassifyId: this.jobInfo.ruleClassifyId,
-					ruleClassifyName: this.jobInfo.ruleClassifyName,
-					orderId: 1
+			if (this.selectedValue == 1) {//急聘刚
+				if (!this.isCompanyVip) {
+					uni.showToast({
+						title: '对不起,您还不是会员,不能发布急聘。',
+						icon: 'none',
+						duration: 2000
+					});
+					return
 				}
+				if (this.vipDueTimes < 1) {
+					uni.showToast({
+						title: '对不起,您的次数已经用完,不能发布。',
+						icon: 'none',
+						duration: 2000
+					});
+					return
+				}
+			}
 
-				// 发送请求
-				this.$Request.postJson("/app/postPush/savePostPush", data)
-					.then((res) => {
-						uni.hideLoading();
 
-						if (res.code === 0) {
-							uni.showToast({
-								title: '提交成功',
-								icon: 'success'
-							});
-							console.log("sssssss", this.companyId)
-							var pid = res.data || ""
-							if (!pid) {
-								uni.showToast({
-									title: '系统错误,请重新提交',
-									icon: 'none'
-								});
-								return
-							}
-							// 提交成功后跳转到职位发布页面
-							setTimeout(() => {
-								uni.redirectTo({
-									url: "/pages/my/jobPostingSecond?pid=" + pid + "&status=" + this
-										.status + "&companyName=" + this.companyName + '&companyId=' +
-										this.companyId+'&type='+this.update
-								});
-							}, 1500);
-						} else {
+			const data = {
+				postPushId: this.postPushId,
+				type: this.check,
+				isDue: this.selectedValue,
+				companyId: (this.companyId === undefined || this.companyId === 'undefined') ? '' : this.companyId,
+				positionDetails: this.text,
+				ruleClassifyId: this.jobInfo.ruleClassifyId,
+				ruleClassifyName: this.jobInfo.ruleClassifyName,
+				orderId: 1
+			}
+
+			// 发送请求
+			this.$Request.postJson("/app/postPush/savePostPush", data)
+				.then((res) => {
+					uni.hideLoading();
+
+					if (res.code === 0) {
+						uni.showToast({
+							title: '提交成功',
+							icon: 'success'
+						});
+						console.log("sssssss", this.companyId)
+						var pid = res.data || ""
+						if (!pid) {
 							uni.showToast({
-								title: res.msg || '提交失败,请重试',
+								title: '系统错误,请重新提交',
 								icon: 'none'
 							});
+							return
 						}
-					})
-					.catch((err) => {
-						uni.hideLoading();
-						console.error('请求失败:', err);
+						// 提交成功后跳转到职位发布页面
+						setTimeout(() => {
+							uni.redirectTo({
+								url: "/pages/my/jobPostingSecond?pid=" + pid + "&status=" + this
+									.status + "&companyName=" + this.companyName + '&companyId=' +
+									this.companyId + '&type=' + this.update
+							});
+						}, 1500);
+					} else {
 						uni.showToast({
-							title: '网络异常,请稍后重试',
+							title: res.msg || '提交失败,请重试',
 							icon: 'none'
 						});
+					}
+				})
+				.catch((err) => {
+					uni.hideLoading();
+					console.error('请求失败:', err);
+					uni.showToast({
+						title: '网络异常,请稍后重试',
+						icon: 'none'
 					});
+				});
 
 
-			}
-		},
-	};
+		}
+	},
+};
 </script>
 <style lang="scss" scoped>
-	.switch-roles {
-		background-color: #fff;
-		position: absolute;
-		left: 0;
-		right: 0;
-		top: 0;
-		bottom: 0;
-		display: flex;
-		flex-direction: column;
+.switch-roles {
+	background-color: #fff;
+	position: absolute;
+	left: 0;
+	right: 0;
+	top: 0;
+	bottom: 0;
+	display: flex;
+	flex-direction: column;
+
+	.roles-content {
+		width: 100%;
+		flex: 1;
+		overflow: hidden;
+		overflow-y: auto;
+
+		.content {
+			padding: 40rpx;
+			box-sizing: border-box;
+			display: flex;
+			flex-direction: column;
+			align-items: center;
+			justify-content: center;
 
-		.roles-content {
-			width: 100%;
-			flex: 1;
-			overflow: hidden;
-			overflow-y: auto;
+			.title {
+				color: #333;
+				width: 100%;
+				font-family: DM Sans;
+				font-size: 40rpx;
+				font-weight: 600;
+			}
 
-			.content {
-				padding: 40rpx;
+			.desc {
+				color: rgba(102, 102, 102, 1);
+				width: 100%;
+				font-family: DM Sans;
+				font-size: 24rpx;
+				font-weight: 400;
+				line-height: 32rpx;
+				letter-spacing: 0.5%;
+				text-align: left;
+				padding: 20rpx 0;
 				box-sizing: border-box;
-				display: flex;
-				flex-direction: column;
-				align-items: center;
-				justify-content: center;
-
-				.title {
-					color: #333;
-					width: 100%;
-					font-family: DM Sans;
-					font-size: 40rpx;
-					font-weight: 600;
-				}
-
-				.desc {
-					color: rgba(102, 102, 102, 1);
-					width: 100%;
-					font-family: DM Sans;
-					font-size: 24rpx;
-					font-weight: 400;
-					line-height: 32rpx;
-					letter-spacing: 0.5%;
-					text-align: left;
-					padding: 20rpx 0;
-					box-sizing: border-box;
-				}
+			}
 
-				.check-title {
-					width: 100%;
-					color: rgba(31, 44, 55, 1);
-					font-family: DM Sans;
-					font-size: 28rpx;
-					font-weight: 500;
-					line-height: 44rpx;
-					margin-top: 20rpx;
-					margin-bottom: 16rpx;
-				}
+			.check-title {
+				width: 100%;
+				color: rgba(31, 44, 55, 1);
+				font-family: DM Sans;
+				font-size: 28rpx;
+				font-weight: 500;
+				line-height: 44rpx;
+				margin-top: 20rpx;
+				margin-bottom: 16rpx;
+			}
 
-				.check-title-big {
-					color: rgba(58, 57, 67, 1);
-					font-family: DM Sans;
-					font-size: 36rpx;
-					font-weight: 500;
-					line-height: 48rpx;
-					width: 100%;
-					padding: 20rpx 0;
-					box-sizing: border-box;
-				}
+			.check-title-big {
+				color: rgba(58, 57, 67, 1);
+				font-family: DM Sans;
+				font-size: 36rpx;
+				font-weight: 500;
+				line-height: 48rpx;
+				width: 100%;
+				padding: 20rpx 0;
+				box-sizing: border-box;
+			}
 
-				.check-select {
-					width: 100%;
-					display: flex;
-					justify-content: space-between;
-					align-items: center;
-					border-radius: 12rpx;
-					box-shadow: 0px 16rpx 300rpx 0px rgba(0, 0, 0, 0.06);
-					background: rgba(255, 255, 255, 1);
-					padding: 32rpx 47rpx;
-					box-sizing: border-box;
+			.check-select {
+				width: 100%;
+				display: flex;
+				justify-content: space-between;
+				align-items: center;
+				border-radius: 12rpx;
+				box-shadow: 0px 16rpx 300rpx 0px rgba(0, 0, 0, 0.06);
+				background: rgba(255, 255, 255, 1);
+				padding: 32rpx 47rpx;
+				box-sizing: border-box;
 
-					.select-txt {}
-				}
+				.select-txt {}
+			}
 
-/* 禁用状态样式 */
-.check-select.disabled {
-    background-color: #f5f5f5;
-    opacity: 0.6;
-    pointer-events: none; /* 防止点击穿透 */
-}
+			/* 禁用状态样式 */
+			.check-select.disabled {
+				background-color: #f5f5f5;
+				opacity: 0.6;
+				pointer-events: none;
+				/* 防止点击穿透 */
+			}
 
-.check-select.disabled .select-txt {
-    color: #999; /* 文字变灰 */
-}
+			.check-select.disabled .select-txt {
+				color: #999;
+				/* 文字变灰 */
+			}
 
-.check-select.disabled u-icon {
-    color: #ccc; /* 图标变灰 */
-}
+			.check-select.disabled u-icon {
+				color: #ccc;
+				/* 图标变灰 */
+			}
 
-/* 禁用状态样式 */
-.check-box.disabled {
-    opacity: 0.6;
-}
+			/* 禁用状态样式 */
+			.check-box.disabled {
+				opacity: 0.6;
+			}
 
-.check-box.disabled .check-item {
-    pointer-events: none;
-    background-color: #e9e9e9;
-    color: #999;
-}
+			.check-box.disabled .check-item {
+				pointer-events: none;
+				background-color: #e9e9e9;
+				color: #999;
+			}
 
-.check-box.disabled .check-item.is-check {
-    background-color: #b3d1ff;
-    color: #666;
-}
+			.check-box.disabled .check-item.is-check {
+				background-color: #b3d1ff;
+				color: #666;
+			}
 
-				.radioseletvi {
-					position: relative;
-				}
+			.radioseletvi {
+				position: relative;
+			}
 
-				.radioseletview {
-					display: flex;
-					flex-direction: column;
-					justify-content: space-between;
-					font-size: 14px;
-				}
+			.radioseletview {
+				display: flex;
+				flex-direction: column;
+				justify-content: space-between;
+				font-size: 14px;
+			}
 
-				.radioselet {
-					display: block;
-					margin-top: 10px;
-				}
+			.radioselet {
+				display: block;
+				margin-top: 10px;
+			}
 
-				.radio-size {
-					transform: scale(0.5);
-					/* 放大到1.5倍,可根据需要调整数值 */
-					/* 可选:调整位置避免偏移 */
-				}
+			.radio-size {
+				transform: scale(0.5);
+				/* 放大到1.5倍,可根据需要调整数值 */
+				/* 可选:调整位置避免偏移 */
+			}
 
 
 
 
-				.check-box {
-					width: 100%;
-					display: grid;
-					grid-template-columns: repeat(2, 1fr);
-					gap: 24rpx;
+			.check-box {
+				width: 100%;
+				display: grid;
+				grid-template-columns: repeat(2, 1fr);
+				gap: 24rpx;
 
-					.check-item {
-						border-radius: 16rpx;
-						background: rgba(245, 248, 254, 1);
-						color: rgba(153, 153, 153, 1);
-						font-family: DM Sans;
-						font-size: 28rpx;
-						font-weight: 400;
-						line-height: 44rpx;
-						text-align: center;
-						padding: 12rpx 48rpx;
-						box-sizing: border-box;
-					}
+				.check-item {
+					border-radius: 16rpx;
+					background: rgba(245, 248, 254, 1);
+					color: rgba(153, 153, 153, 1);
+					font-family: DM Sans;
+					font-size: 28rpx;
+					font-weight: 400;
+					line-height: 44rpx;
+					text-align: center;
+					padding: 12rpx 48rpx;
+					box-sizing: border-box;
+				}
 
-					.is-check {
-						box-sizing: border-box;
-						border: 1rpx solid #016bf6;
-						border-radius: 16rpx;
-						background: rgba(252, 233, 220, 1);
-						color: #016bf6;
-					}
+				.is-check {
+					box-sizing: border-box;
+					border: 1rpx solid #016bf6;
+					border-radius: 16rpx;
+					background: rgba(252, 233, 220, 1);
+					color: #016bf6;
 				}
 			}
 		}
+	}
 
-		.step {
-			width: 100%;
-			padding: 32rpx 0;
-			box-sizing: border-box;
-		}
+	.step {
+		width: 100%;
+		padding: 32rpx 0;
+		box-sizing: border-box;
+	}
 
-		.submit-btn {
-			flex-shrink: 0;
-			border-radius: 999px;
-			box-shadow: 0px 2px 4px 0px rgba(9, 196, 116, 0.3);
-			background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
-			color: rgba(255, 255, 255, 1);
-			font-family: DM Sans;
-			font-size: 32rpx;
-			font-weight: 400;
-			line-height: 48rpx;
-			display: flex;
-			justify-content: center;
-			align-items: center;
-			padding: 16rpx 32rpx;
-			box-sizing: border-box;
-			margin: 60rpx 20rpx;
-		}
+	.submit-btn {
+		flex-shrink: 0;
+		border-radius: 999px;
+		box-shadow: 0px 2px 4px 0px rgba(9, 196, 116, 0.3);
+		background: linear-gradient(90deg, rgba(13, 39, 247, 1), rgba(19, 193, 234, 1) 100%);
+		color: rgba(255, 255, 255, 1);
+		font-family: DM Sans;
+		font-size: 32rpx;
+		font-weight: 400;
+		line-height: 48rpx;
+		display: flex;
+		justify-content: center;
+		align-items: center;
+		padding: 16rpx 32rpx;
+		box-sizing: border-box;
+		margin: 60rpx 20rpx;
+	}
 
-		.txt-desc {
-			color: rgba(102, 102, 102, 1);
-			font-family: DM Sans;
-			font-size: 24rpx;
-			font-weight: 400;
-			line-height: 32rpx;
-			text-align: left;
-			width: 100%;
-			margin-top: 20rpx;
-		}
+	.txt-desc {
+		color: rgba(102, 102, 102, 1);
+		font-family: DM Sans;
+		font-size: 24rpx;
+		font-weight: 400;
+		line-height: 32rpx;
+		text-align: left;
+		width: 100%;
+		margin-top: 20rpx;
 	}
+}
 </style>

+ 563 - 562
pages/my/jobPostingSecond.vue

@@ -4,7 +4,7 @@
 		<view class="roles-content">
 			<view class="content">
 				<view class="title">继续填写</view>
-				<view class="desc">“{{companyName}}”的职位要求</view>
+				<view class="desc">“{{ companyName }}”的职位要求</view>
 				<view class="step">
 					<u-steps :list="numList" mode="number" :current="2"></u-steps>
 				</view>
@@ -26,7 +26,7 @@
 				<!-- 薪资范围 -->
 				<view class="check-title-big">薪资范围</view>
 				<view class="check-select" @click="showMoney = true">
-					<view class="select-txt">{{ selectedSalary+'——'+salaryTimes || "请选择合理的薪资范围" }}</view>
+					<view class="select-txt">{{ selectedSalary + '——' + salaryTimes || "请选择合理的薪资范围" }}</view>
 					<u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
 				</view>
 
@@ -40,7 +40,8 @@
 				<!-- 职位关键词 -->
 				<view class="check-title-big">职位关键词</view>
 				<view class="check-select" @click="goJobSkill">
-					<view class="select-txt">{{ positionTag || "被选中的关键词将突出展示给牛人" }}</view>
+					<view class="select-txt">{{ positionTag && positionTag.length > 0 ? positionTag.join(',') :
+						"被选中的关键词将突出展示给牛人" }}</view>
 					<u-icon name="arrow-down" color="#D3D3D6" size="22"></u-icon>
 				</view>
 
@@ -75,634 +76,634 @@
 </template>
 
 <script>
-	import navBar from "@/components/nav-bar/index.vue";
-	export default {
-		data() {
-			return {
-				// 选中值(用于页面渲染)
-				selectedExper: "", // 经验
-				selectedLevel: "", // 学历
-				selectedSalary: "", // 薪资范围
-				welfareTag: "", // 福利待遇
-				positionTag: "", // 职位关键词
-				stationName: [],
-				companyName: "",
-				companyId: "",
-				status: 1,
-				pid: "",
-				address:"",
-				salaryTimes:"",
-
-				// 选择器显示控制
-				showExper: false,
-				showLevel: false,
-				showMoney: false,
-				
-
-				// 经验选择数据源
-				listExper: [{
-						label: "不限",
-						value: "不限"
+import navBar from "@/components/nav-bar/index.vue";
+export default {
+	data() {
+		return {
+			// 选中值(用于页面渲染)
+			selectedExper: "", // 经验
+			selectedLevel: "", // 学历
+			selectedSalary: "", // 薪资范围
+			welfareTag: "", // 福利待遇
+			positionTag: "", // 职位关键词
+			stationName: [],
+			companyName: "",
+			companyId: "",
+			status: 1,
+			pid: "",
+			address: "",
+			salaryTimes: "",
+
+			// 选择器显示控制
+			showExper: false,
+			showLevel: false,
+			showMoney: false,
+
+
+			// 经验选择数据源
+			listExper: [{
+				label: "不限",
+				value: "不限"
+			},
+			{
+				label: "1年以内",
+				value: "1年以内"
+			},
+			{
+				label: "1-3年",
+				value: "1-3年"
+			},
+			{
+				label: "3-5年",
+				value: "3-5年"
+			},
+			{
+				label: "5-8年",
+				value: "5-8年"
+			},
+			{
+				label: "8年以上",
+				value: "8年以上"
+			},
+			],
+
+			// 学历选择数据源
+			listLevel: [{
+				label: "不限",
+				value: "不限"
+			},
+			{
+				label: "专科",
+				value: "专科"
+			},
+			{
+				label: "本科",
+				value: "本科"
+			},
+			{
+				label: "硕士",
+				value: "硕士"
+			},
+			{
+				label: "博士",
+				value: "博士"
+			},
+			],
+
+			// 薪资选择数据源(修正格式)
+			listMoney: [
+				[{
+					value: "3k",
+					label: "3k"
+				},
+				{
+					value: "4k",
+					label: "4k"
+				},
+				{
+					value: "5k",
+					label: "5k"
+				},
+				{
+					value: "6k",
+					label: "6k"
+				},
+				{
+					value: "8k",
+					label: "8k"
+				},
+				{
+					value: "10k",
+					label: "10k"
+				},
+				{
+					value: "12k",
+					label: "12k"
+				},
+				{
+					value: "15k",
+					label: "15k"
+				},
+				{
+					value: "18k",
+					label: "18k"
+				},
+				{
+					value: "20k",
+					label: "20k"
+				},
+				{
+					value: "30k",
+					label: "30k"
+				},
+				{
+					value: "50k",
+					label: "50k"
+				},
+				],
+				[{
+					value: "3k",
+					label: "3k"
+				},
+				{
+					value: "4k",
+					label: "4k"
+				},
+				{
+					value: "5k",
+					label: "5k"
+				},
+				{
+					value: "6k",
+					label: "6k"
+				},
+				{
+					value: "8k",
+					label: "8k"
+				},
+				{
+					value: "10k",
+					label: "10k"
+				},
+				{
+					value: "12k",
+					label: "12k"
+				},
+				{
+					value: "15k",
+					label: "15k"
+				},
+				{
+					value: "18k",
+					label: "18k"
+				},
+				{
+					value: "20k",
+					label: "20k"
+				},
+				{
+					value: "30k",
+					label: "30k"
+				},
+				{
+					value: "50k",
+					label: "50k"
+				},
+				],
+				[
+					{
+						"value": "12薪",
+						"label": "12薪"
 					},
 					{
-						label: "1年以内",
-						value: "1年以内"
+						"value": "13薪",
+						"label": "13薪"
 					},
 					{
-						label: "1-3年",
-						value: "1-3年"
+						"value": "14薪",
+						"label": "14薪"
 					},
 					{
-						label: "3-5年",
-						value: "3-5年"
+						"value": "15薪",
+						"label": "15薪"
 					},
 					{
-						label: "5-8年",
-						value: "5-8年"
+						"value": "16薪",
+						"label": "16薪"
 					},
 					{
-						label: "8年以上",
-						value: "8年以上"
+						"value": "17薪",
+						"label": "17薪"
 					},
-				],
-
-				// 学历选择数据源
-				listLevel: [{
-						label: "不限",
-						value: "不限"
+					{
+						"value": "18薪",
+						"label": "18薪"
 					},
 					{
-						label: "专科",
-						value: "专科"
+						"value": "19薪",
+						"label": "19薪"
 					},
 					{
-						label: "本科",
-						value: "本科"
+						"value": "20薪",
+						"label": "20薪"
 					},
 					{
-						label: "硕士",
-						value: "硕士"
+						"value": "21薪",
+						"label": "21薪"
 					},
 					{
-						label: "博士",
-						value: "博士"
+						"value": "22薪",
+						"label": "22薪"
 					},
-				],
+					{
+						"value": "23薪",
+						"label": "23薪"
+					}
+				]
+			],
 
-				// 薪资选择数据源(修正格式)
-				listMoney: [
-					[{
-							value: "3k",
-							label: "3k"
-						},
-						{
-							value: "4k",
-							label: "4k"
-						},
-						{
-							value: "5k",
-							label: "5k"
-						},
-						{
-							value: "6k",
-							label: "6k"
-						},
-						{
-							value: "8k",
-							label: "8k"
-						},
-						{
-							value: "10k",
-							label: "10k"
-						},
-						{
-							value: "12k",
-							label: "12k"
-						},
-						{
-							value: "15k",
-							label: "15k"
-						},
-						{
-							value: "18k",
-							label: "18k"
-						},
-						{
-							value: "20k",
-							label: "20k"
-						},
-						{
-							value: "30k",
-							label: "30k"
-						},
-						{
-							value: "50k",
-							label: "50k"
-						},
-					],
-					[{
-							value: "3k",
-							label: "3k"
-						},
-						{
-							value: "4k",
-							label: "4k"
-						},
-						{
-							value: "5k",
-							label: "5k"
-						},
-						{
-							value: "6k",
-							label: "6k"
-						},
-						{
-							value: "8k",
-							label: "8k"
-						},
-						{
-							value: "10k",
-							label: "10k"
-						},
-						{
-							value: "12k",
-							label: "12k"
-						},
-						{
-							value: "15k",
-							label: "15k"
-						},
-						{
-							value: "18k",
-							label: "18k"
-						},
-						{
-							value: "20k",
-							label: "20k"
-						},
-						{
-							value: "30k",
-							label: "30k"
-						},
-						{
-							value: "50k",
-							label: "50k"
-						},
-					],
-					[
-					    {
-					        "value": "12薪",
-					        "label": "12薪"
-					    },
-					    {
-					        "value": "13薪",
-					        "label": "13薪"
-					    },
-					    {
-					        "value": "14薪",
-					        "label": "14薪"
-					    },
-					    {
-					        "value": "15薪",
-					        "label": "15薪"
-					    },
-					    {
-					        "value": "16薪",
-					        "label": "16薪"
-					    },
-					    {
-					        "value": "17薪",
-					        "label": "17薪"
-					    },
-					    {
-					        "value": "18薪",
-					        "label": "18薪"
-					    },
-					    {
-					        "value": "19薪",
-					        "label": "19薪"
-					    },
-					    {
-					        "value": "20薪",
-					        "label": "20薪"
-					    },
-					    {
-					        "value": "21薪",
-					        "label": "21薪"
-					    },
-					    {
-					        "value": "22薪",
-					        "label": "22薪"
-					    },
-					    {
-					        "value": "23薪",
-					        "label": "23薪"
-					    }
-					]
-				],
+			numList: [{
+				name: "填写基本信息"
+			},
+			{
+				name: "选择职位要求"
+			},
+			],
+			type: ''
+		};
+	},
+	components: {
+		navBar,
+	},
+	onLoad(options) {
+		// 接收上个页面传递的公司名称参数
+		if (options.companyName) {
+			this.companyName = decodeURIComponent(options.companyName);
+			console.log('接收的公司名称:', this.companyName);
+		}
 
-				numList: [{
-						name: "填写基本信息"
-					},
-					{
-						name: "选择职位要求"
-					},
-				],
-				type:''
-			};
-		},
-		components: {
-			navBar,
-		},
-		onLoad(options) {
-			// 接收上个页面传递的公司名称参数
-			if (options.companyName) {
-				this.companyName = decodeURIComponent(options.companyName);
-				console.log('接收的公司名称:', this.companyName);
-			}
+		if (options.status) {
+			this.status = decodeURIComponent(options.status);
+			console.log('接收的公司状态:', this.status);
+		} else {
+			//this.status = uni.getStorageSync('companyStatus')
+			this.getcompanystatus()
+		}
+		this.fundListener = uni.$on("fundData", (data) => {
+			console.log("接收到的福利数据:", data);
+			this.welfareTag = data; // 赋值给当前页面变量
+		});
+		this.fundListener = uni.$on("skillsUpdated", (data) => {
+			console.log("接收到的职位技能数据:", data);
+			this.positionTag = data.selectedTags; // 赋值给当前页面变量
+		});
+		this.fundListener = uni.$on("addressData", (data) => {
+			console.log("接收到的地址数据:", data);
+			this.stationName = data; // 赋值给当前页面变量
+		});
+		if (options.companyId) {
+			this.companyId = options.companyId;
+			console.log('接收的公司ID:', this.companyId);
+		} else {
+			this.companyId = uni.getStorageSync('companyId') || ""
+		}
 
-			if (options.status) {
-				this.status = decodeURIComponent(options.status);
-				console.log('接收的公司状态:', this.status);
-			}else{
-				//this.status = uni.getStorageSync('companyStatus')
-				this.getcompanystatus()
-			}
-			this.fundListener = uni.$on("fundData", (data) => {
-				console.log("接收到的福利数据:", data);
-				this.welfareTag = data; // 赋值给当前页面变量
-			});
-			this.fundListener = uni.$on("skillsUpdated", (data) => {
-				console.log("接收到的职位技能数据:", data);
-				this.positionTag = data.selectedTags; // 赋值给当前页面变量
-			});
-			this.fundListener = uni.$on("addressData", (data) => {
-				console.log("接收到的地址数据:", data);
-				this.stationName = data; // 赋值给当前页面变量
-			});
-			if (options.companyId) {
-				this.companyId = options.companyId;
-				console.log('接收的公司ID:', this.companyId);
-			} else {
-				this.companyId = uni.getStorageSync('companyId') || ""
-			}
 
-			
 
 
 
-			if (options.pid) {
-				this.pid = options.pid;
-				this.type = options.type;
-				if(options.type && options.type=='updata'){
-					this.getInfo()
-				}
-				
-				console.log('接收PID:', this.pid);
-			} else {
-				uni.navigateTo({
-					url: '/pages/my/jobPosting?companyId=' + this.companyId + '&status=' + this.status +
-						'&companyName=' + this.companyName
-				})
+		if (options.pid) {
+			this.pid = options.pid;
+			this.type = options.type;
+			if (options.type && options.type == 'updata') {
+				this.getInfo()
 			}
 
-		},
-		onUnload() {
-			// 页面关闭时移除监听,避免内存泄漏
-			if (this.fundListener) {
-				uni.$off("fundData", this.fundListener);
+			console.log('接收PID:', this.pid);
+		} else {
+			uni.navigateTo({
+				url: '/pages/my/jobPosting?companyId=' + this.companyId + '&status=' + this.status +
+					'&companyName=' + this.companyName
+			})
+		}
+
+	},
+	onUnload() {
+		// 页面关闭时移除监听,避免内存泄漏
+		if (this.fundListener) {
+			uni.$off("fundData", this.fundListener);
+		}
+	},
+	methods: {
+		// 处理经验选择(核心修复:直接接收选中的label)
+		onExperConfirm(selectedItem) {
+			// 不同版本u-select返回格式可能是对象或数组,这里兼容处理
+			if (Array.isArray(selectedItem)) {
+				this.selectedExper = selectedItem[0]?.label || "";
+			} else {
+				this.selectedExper = selectedItem?.label || "";
 			}
+			this.showExper = false; // 关闭选择器
 		},
-		methods: {
-			// 处理经验选择(核心修复:直接接收选中的label)
-			onExperConfirm(selectedItem) {
-				// 不同版本u-select返回格式可能是对象或数组,这里兼容处理
-				if (Array.isArray(selectedItem)) {
-					this.selectedExper = selectedItem[0]?.label || "";
-				} else {
-					this.selectedExper = selectedItem?.label || "";
-				}
-				this.showExper = false; // 关闭选择器
-			},
 
-			// 处理学历选择(核心修复)
-			onLevelConfirm(selectedItem) {
-				if (Array.isArray(selectedItem)) {
-					this.selectedLevel = selectedItem[0]?.label || "";
-				} else {
-					this.selectedLevel = selectedItem?.label || "";
-				}
-				this.showLevel = false;
-			},
+		// 处理学历选择(核心修复)
+		onLevelConfirm(selectedItem) {
+			if (Array.isArray(selectedItem)) {
+				this.selectedLevel = selectedItem[0]?.label || "";
+			} else {
+				this.selectedLevel = selectedItem?.label || "";
+			}
+			this.showLevel = false;
+		},
 
 
-	/**
-			 * 获取岗位详情
-			 */
-			getInfo(){
-				this.$Request.getT("/app/postPush/selectPostPushDetails",{
-					// userId:uni.getStorageSync('userId'),
-					postPushId:this.pid
-				}).then(res => {
-					if(res.code==0){
-						this.selectedExper=res.data.experience
-						this.selectedLevel=res.data.education
-						this.selectedSalary=res.data.salaryRange
-						this.welfareTag=res.data.welfareTag
-						this.positionTag=res.data.positionTag
-						this.address=res.data.address
-						this.stationName.fullText=res.data.address
-						this.stationName.latitude=res.data.lat
-						this.stationName.longitude=res.data.lng
-						this.stationName.province=res.data.province
-						this.stationName.city=res.data.city
-						this.stationName.district=res.data.county
-						this.salaryTimes=res.data.salaryTimes
-						console.log(this.stationName)
-					}else{
+		/**
+				 * 获取岗位详情
+				 */
+		getInfo() {
+			this.$Request.getT("/app/postPush/selectPostPushDetails", {
+				// userId:uni.getStorageSync('userId'),
+				postPushId: this.pid
+			}).then(res => {
+				if (res.code == 0) {
+					this.selectedExper = res.data.experience
+					this.selectedLevel = res.data.education
+					this.selectedSalary = res.data.salaryRange
+					this.welfareTag = res.data.welfareTag
+					this.positionTag = res.data.positionTag
+					this.address = res.data.address
+					this.stationName.fullText = res.data.address
+					this.stationName.latitude = res.data.lat
+					this.stationName.longitude = res.data.lng
+					this.stationName.province = res.data.province
+					this.stationName.city = res.data.city
+					this.stationName.district = res.data.county
+					this.salaryTimes = res.data.salaryTimes
+					console.log(this.stationName)
+				} else {
 					uni.showToast({
-					    title: '数据有误',
-					    icon: 'none',  // 注意这里需要加引号
-					    duration: 2000, // 可选:设置提示框显示时长
-					    complete() {    // 正确的回调函数写法
-					        uni.navigateBack();
-					    }
-					});
-						
-					}
-				})
-			},
-			
-			// 查询用户企业状态
-			getcompanystatus() {
-				this.$Request.get("/app/company/selectCompanyByUserId", "")
-					.then((res) => {
-						if (res.code != 0) {
-							uni.showToast({
-								title: res.msg || "查询状态失败",
-								icon: "none"
-							});
-							return;
+						title: '数据有误',
+						icon: 'none',  // 注意这里需要加引号
+						duration: 2000, // 可选:设置提示框显示时长
+						complete() {    // 正确的回调函数写法
+							uni.navigateBack();
 						}
-						this.status = res.data.companyinfo || "";
-			    this.$queue.setData('companyId', res.data.companyId);
-				this.$queue.setData('companyStatus', res.data.companyStatus);
-						console.log("查询用户企业状态", this.companyinfo)
-					})
-					.catch((err) => {
-						console.error("查询失败:", err);
+					});
+
+				}
+			})
+		},
+
+		// 查询用户企业状态
+		getcompanystatus() {
+			this.$Request.get("/app/company/selectCompanyByUserId", "")
+				.then((res) => {
+					if (res.code != 0) {
 						uni.showToast({
-							title: "网络异常",
+							title: res.msg || "查询状态失败",
 							icon: "none"
 						});
+						return;
+					}
+					this.status = res.data.companyinfo || "";
+					this.$queue.setData('companyId', res.data.companyId);
+					this.$queue.setData('companyStatus', res.data.companyStatus);
+					console.log("查询用户企业状态", this.companyinfo)
+				})
+				.catch((err) => {
+					console.error("查询失败:", err);
+					uni.showToast({
+						title: "网络异常",
+						icon: "none"
 					});
-			},
-			
-			
-
-			// 处理薪资范围选择(核心修复)
-			onMoneyConfirm(selectedItems) {
-				// 多列选择器返回数组,取每列选中的label拼接
-				console.log(selectedItems)
-				if (Array.isArray(selectedItems) && selectedItems.length >= 2) {
-					const min = selectedItems[0]?.label || "";
-					const max = selectedItems[1]?.label || "";
-					const xin = selectedItems[2]?.label || "";
-					this.selectedSalary = `${min}-${max}`;
-					this.salaryTimes=`${xin}`
-				}
-				this.showMoney = false;
-			},
-
-			// 跳转页面并接收参数(福利待遇)
-			goFund() {
-				uni.navigateTo({
-					url: "/package/jobIntention/fund",
-					events: {
-						// 监听子页面发送的福利数据
-						fundData: (data) => {
-							this.welfareTag = data;
-						},
-					},
 				});
-			},
+		},
+
+
+
+		// 处理薪资范围选择(核心修复)
+		onMoneyConfirm(selectedItems) {
+			// 多列选择器返回数组,取每列选中的label拼接
+			console.log(selectedItems)
+			if (Array.isArray(selectedItems) && selectedItems.length >= 2) {
+				const min = selectedItems[0]?.label || "";
+				const max = selectedItems[1]?.label || "";
+				const xin = selectedItems[2]?.label || "";
+				this.selectedSalary = `${min}-${max}`;
+				this.salaryTimes = `${xin}`
+			}
+			this.showMoney = false;
+		},
 
-			// 跳转页面并接收参数(职位关键词)
-			goJobSkill() {
-				uni.navigateTo({
-					url: "/package/jobIntention/jobSkills",
-					events: {
-						skillsUpdated: (data) => {
-							this.positionTag = data.selectedTags;
-						},
+		// 跳转页面并接收参数(福利待遇)
+		goFund() {
+			uni.navigateTo({
+				url: "/package/jobIntention/fund",
+				events: {
+					// 监听子页面发送的福利数据
+					fundData: (data) => {
+						this.welfareTag = data;
 					},
-				});
-			},
+				},
+			});
+		},
 
-			// 跳转页面并接收参数(工作地址)
-			goAddAddress() {
-				uni.navigateTo({
-					url: "/package/jobIntention/addAddress",
-					events: {
-						addressData: (data) => {
-							this.stationName = data;
-						},
+		// 跳转页面并接收参数(职位关键词)
+		goJobSkill() {
+			uni.navigateTo({
+				url: "/package/jobIntention/jobSkills",
+				events: {
+					skillsUpdated: (data) => {
+						this.positionTag = data.selectedTags;
 					},
-				});
-			},
+				},
+			});
+		},
 
-			// 提交表单
-			submitPost() {
-				// 验证必填项
-				if (!this.selectedExper) {
-					return uni.showToast({
-						title: "请选择经验要求",
-						icon: "none"
-					});
-				}
-				if (!this.selectedLevel) {
-					return uni.showToast({
-						title: "请选择最低学历",
-						icon: "none"
-					});
-				}
-				if (!this.selectedSalary) {
-					return uni.showToast({
-						title: "请选择薪资范围",
-						icon: "none"
-					});
-				}
-				if (!this.stationName.fullText && !this.address) {
-					return uni.showToast({
-						title: "请填写工作地址",
-						icon: "none"
-					});
-				}
-				if (this.type && this.type=='updata' && !this.stationName.longitude) {
-					return uni.showToast({
-						title: "请选择位置",
-						icon: "none"
-					});
-				}
-				if (!this.positionTag) {
-					return uni.showToast({
-						title: "请选择职位标签",
-						icon: "none"
-					});
-				}
+		// 跳转页面并接收参数(工作地址)
+		goAddAddress() {
+			uni.navigateTo({
+				url: "/package/jobIntention/addAddress",
+				events: {
+					addressData: (data) => {
+						this.stationName = data;
+					},
+				},
+			});
+		},
 
-				var positionTag = this.positionTag
-				const str = positionTag.join(',');
-				// 构造提交数据
-				const data = {
-					orderid: 1,
-					postPushId: this.pid,
-					experience: this.selectedExper, //工作经验
-					education: this.selectedLevel, //学历
-					salaryRange: this.selectedSalary, //薪资范围
-					welfareTag: this.welfareTag, //福利相关标签
-					positionTag: str, //职位技能
-					address: this.stationName.fullText|| this.address, //地址
-					lat: this.stationName.latitude,
-					lng: this.stationName.longitude,
-					province: this.stationName.province,
-					city: this.stationName.city,
-					county: this.stationName.district,
-					companyId:(this.companyId === undefined || this.companyId === 'undefined') ? '' : this.companyId,
-					salaryTimes:this.salaryTimes
-
-				};
-
-				// 调用接口提交
-				uni.showLoading({
-					title: "提交中..."
+		// 提交表单
+		submitPost() {
+			// 验证必填项
+			if (!this.selectedExper) {
+				return uni.showToast({
+					title: "请选择经验要求",
+					icon: "none"
 				});
-				this.$Request.postJson("/app/postPush/savePostPush", data)
-					.then((res) => {
-						uni.hideLoading();
-						if (res.code === 0) {
-							uni.showToast({
-								title: "提交成功",
-								icon: "success"
-							});
-							//这里要选择跳转,第一次是要跳公司页,如果是二次就到职位管理页
-							if (this.status == 1) { //审核中
-								uni.navigateTo({
-									url: "/package/jobIntention/company?companyName=" + this.companyName +
-										'&companyId=' + this.companyId
-								});
-							} else if(this.status == 2){//审核通过
-								uni.navigateTo({
-									url: '/pages/jobManagement/jobManagement'
-								})
-								
-							}else {
-								uni.navigateTo({
-									url: '/my/renzheng/editCompany'
-								})
-							}
+			}
+			if (!this.selectedLevel) {
+				return uni.showToast({
+					title: "请选择最低学历",
+					icon: "none"
+				});
+			}
+			if (!this.selectedSalary) {
+				return uni.showToast({
+					title: "请选择薪资范围",
+					icon: "none"
+				});
+			}
+			if (!this.stationName.fullText && !this.address) {
+				return uni.showToast({
+					title: "请填写工作地址",
+					icon: "none"
+				});
+			}
+			if (this.type && this.type == 'updata' && !this.stationName.longitude) {
+				return uni.showToast({
+					title: "请选择位置",
+					icon: "none"
+				});
+			}
+			if (!this.positionTag) {
+				return uni.showToast({
+					title: "请选择职位标签",
+					icon: "none"
+				});
+			}
 
+			var positionTag = this.positionTag
+			const str = positionTag.join(',');
+			// 构造提交数据
+			const data = {
+				orderid: 1,
+				postPushId: this.pid,
+				experience: this.selectedExper, //工作经验
+				education: this.selectedLevel, //学历
+				salaryRange: this.selectedSalary, //薪资范围
+				welfareTag: this.welfareTag, //福利相关标签
+				positionTag: str, //职位技能
+				address: this.stationName.fullText || this.address, //地址
+				lat: this.stationName.latitude,
+				lng: this.stationName.longitude,
+				province: this.stationName.province,
+				city: this.stationName.city,
+				county: this.stationName.district,
+				companyId: (this.companyId === undefined || this.companyId === 'undefined') ? '' : this.companyId,
+				salaryTimes: this.salaryTimes
 
+			};
 
-						} else {
-							uni.showToast({
-								title: res.msg || "提交失败",
-								icon: "none"
+			// 调用接口提交
+			uni.showLoading({
+				title: "提交中..."
+			});
+			this.$Request.postJson("/app/postPush/savePostPush", data)
+				.then((res) => {
+					uni.hideLoading();
+					if (res.code === 0) {
+						uni.showToast({
+							title: "提交成功",
+							icon: "success"
+						});
+						//这里要选择跳转,第一次是要跳公司页,如果是二次就到职位管理页
+						if (this.status == 1) { //审核中
+							uni.navigateTo({
+								url: "/package/jobIntention/company?companyName=" + this.companyName +
+									'&companyId=' + this.companyId
 							});
+						} else if (this.status == 2) {//审核通过
+							uni.navigateTo({
+								url: '/pages/jobManagement/jobManagement'
+							})
+
+						} else {
+							uni.navigateTo({
+								url: '/my/renzheng/editCompany'
+							})
 						}
-					})
-					.catch((err) => {
-						uni.hideLoading();
-						console.error("提交失败:", err);
+
+
+
+					} else {
 						uni.showToast({
-							title: "网络异常",
+							title: res.msg || "提交失败",
 							icon: "none"
 						});
+					}
+				})
+				.catch((err) => {
+					uni.hideLoading();
+					console.error("提交失败:", err);
+					uni.showToast({
+						title: "网络异常",
+						icon: "none"
 					});
-			},
+				});
 		},
-	};
+	},
+};
 </script>
 
 <style lang="scss" scoped>
-	/* 原有样式保持不变 */
-	.switch-roles {
-		background-color: #fff;
-		position: absolute;
-		left: 0;
-		right: 0;
-		top: 0;
-		bottom: 0;
-		display: flex;
-		flex-direction: column;
-
-		.roles-content {
-			width: 100%;
-			flex: 1;
-			overflow: auto;
-
-			.content {
-				padding: 40rpx;
-
-				.title {
-					color: #333;
-					font-size: 40rpx;
-					font-weight: 600;
-					margin-bottom: 10rpx;
-				}
+/* 原有样式保持不变 */
+.switch-roles {
+	background-color: #fff;
+	position: absolute;
+	left: 0;
+	right: 0;
+	top: 0;
+	bottom: 0;
+	display: flex;
+	flex-direction: column;
+
+	.roles-content {
+		width: 100%;
+		flex: 1;
+		overflow: auto;
+
+		.content {
+			padding: 40rpx;
+
+			.title {
+				color: #333;
+				font-size: 40rpx;
+				font-weight: 600;
+				margin-bottom: 10rpx;
+			}
 
-				.desc {
-					color: #666;
-					font-size: 24rpx;
-					margin-bottom: 20rpx;
-				}
+			.desc {
+				color: #666;
+				font-size: 24rpx;
+				margin-bottom: 20rpx;
+			}
 
-				.check-title-big {
-					color: #3a3943;
-					font-size: 36rpx;
-					font-weight: 500;
-					padding: 20rpx 0;
-				}
+			.check-title-big {
+				color: #3a3943;
+				font-size: 36rpx;
+				font-weight: 500;
+				padding: 20rpx 0;
+			}
 
-				.check-select {
-					width: 100%;
-					display: flex;
-					justify-content: space-between;
-					align-items: center;
-					padding: 32rpx 47rpx;
-					border-radius: 12rpx;
-					box-shadow: 0 16rpx 300rpx rgba(0, 0, 0, 0.06);
-					background: #fff;
-					margin-bottom: 20rpx;
-
-					.select-txt {
-						color: #999;
-						font-size: 28rpx;
-					}
+			.check-select {
+				width: 100%;
+				display: flex;
+				justify-content: space-between;
+				align-items: center;
+				padding: 32rpx 47rpx;
+				border-radius: 12rpx;
+				box-shadow: 0 16rpx 300rpx rgba(0, 0, 0, 0.06);
+				background: #fff;
+				margin-bottom: 20rpx;
+
+				.select-txt {
+					color: #999;
+					font-size: 28rpx;
 				}
+			}
 
-				.txt-desc {
-					color: #666;
-					font-size: 24rpx;
-					margin-top: 20rpx;
-					line-height: 1.5;
-				}
+			.txt-desc {
+				color: #666;
+				font-size: 24rpx;
+				margin-top: 20rpx;
+				line-height: 1.5;
 			}
 		}
+	}
 
-		.step {
-			padding: 32rpx 0;
-		}
+	.step {
+		padding: 32rpx 0;
+	}
 
-		.submit-btn {
-			margin: 60rpx 20rpx;
-			padding: 16rpx 32rpx;
-			border-radius: 999px;
-			background: linear-gradient(90deg, #0d27f7, #13c1ea);
-			color: #fff;
-			font-size: 32rpx;
-			text-align: center;
-			line-height: 48rpx;
-		}
+	.submit-btn {
+		margin: 60rpx 20rpx;
+		padding: 16rpx 32rpx;
+		border-radius: 999px;
+		background: linear-gradient(90deg, #0d27f7, #13c1ea);
+		color: #fff;
+		font-size: 32rpx;
+		text-align: center;
+		line-height: 48rpx;
 	}
+}
 </style>

+ 29 - 19
pages/my/peopleNumber.vue

@@ -6,13 +6,8 @@
         <view class="title">公司规模</view>
         <view class="desc">“{{ companyName || '当前公司' }}”的人员规模</view>
         <view class="check-box">
-          <view
-            class="check-item"
-            :class="{ 'is-check': check == index }"
-            v-for="(item, index) in peopleList"
-            :key="index"
-            @click="checkPeople(index)"
-          >{{ item }}</view>
+          <view class="check-item" :class="{ 'is-check': check == index }" v-for="(item, index) in peopleList"
+            :key="index" @click="checkPeople(index)">{{ item }}</view>
         </view>
       </view>
     </view>
@@ -34,8 +29,8 @@ export default {
         "10000人以上",
       ],
       check: 0, // 默认选中第一个选项
-      companyName: '' ,// 接收上个页面传递的公司名称
-	  companyId:""
+      companyName: '',// 接收上个页面传递的公司名称
+      companyId: ""
     };
   },
   components: {
@@ -47,11 +42,11 @@ export default {
       this.companyName = decodeURIComponent(options.companyName);
       console.log('接收的公司名称:', this.companyName);
     }
-	if (options.companyId) {
-		this.companyId = decodeURIComponent(options.companyId);
-		console.log('接收的公司ID:', this.companyId);
-	}
-	
+    if (options.companyId) {
+      this.companyId = decodeURIComponent(options.companyId);
+      console.log('接收的公司ID:', this.companyId);
+    }
+
   },
   methods: {
     // 选择公司规模
@@ -76,8 +71,8 @@ export default {
 
       // 获取选中的公司规模
       //const selectedPeople = this.peopleList[this.check];
-	   const selectedPeople = this.check
-      
+      const selectedPeople = this.check
+
       // 显示加载中
       uni.showLoading({
         title: '提交中...'
@@ -94,7 +89,7 @@ export default {
       this.$Request.postJson("/app/company/insertCompany", data)
         .then((res) => {
           uni.hideLoading();
-          
+
           if (res.code === 0) {
             uni.showToast({
               title: '提交成功',
@@ -123,9 +118,16 @@ export default {
 
     // 跳转到职位发布页面
     goJobPosting(companyId) {
-      uni.navigateTo({
-        url: '/pages/my/jobPosting?companyName='+this.companyName+'&companyId='+companyId
+      // uni.navigateTo({
+      //   url: '/pages/my/jobPosting?companyName='+this.companyName+'&companyId='+companyId
+      // });
+      uni.reLaunch({
+        url: '/pages/my/jobPosting?companyName=' + this.companyName + '&companyId=' + companyId + '&isBack=' + false
       });
+      // 如果是H5,额外处理
+      // #ifdef H5
+      history.replaceState(null, null, window.location.href);
+      // #endif
     }
   },
 };
@@ -142,11 +144,13 @@ export default {
   bottom: 0;
   display: flex;
   flex-direction: column;
+
   .roles-content {
     width: 100%;
     flex: 1;
     overflow: hidden;
     overflow-y: auto;
+
     .content {
       padding: 40rpx;
       box-sizing: border-box;
@@ -154,6 +158,7 @@ export default {
       flex-direction: column;
       align-items: center;
       justify-content: center;
+
       .title {
         color: #333;
         width: 100%;
@@ -161,6 +166,7 @@ export default {
         font-size: 40rpx;
         font-weight: 600;
       }
+
       .desc {
         color: rgba(102, 102, 102, 1);
         width: 100%;
@@ -173,11 +179,13 @@ export default {
         padding: 20rpx 0;
         box-sizing: border-box;
       }
+
       .check-box {
         width: 100%;
         display: grid;
         grid-template-columns: repeat(2, 1fr);
         gap: 24rpx;
+
         .check-item {
           border-radius: 16rpx;
           background: rgba(245, 248, 254, 1);
@@ -191,6 +199,7 @@ export default {
           box-sizing: border-box;
           transition: all 0.3s ease;
         }
+
         .is-check {
           box-sizing: border-box;
           border: 1rpx solid #016bf6;
@@ -201,6 +210,7 @@ export default {
       }
     }
   }
+
   .submit-btn {
     flex-shrink: 0;
     border-radius: 999px;

BIN=BIN
static/images/index/tishi.png


BIN=BIN
static/images/index/wyts.png


Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio