Browse Source

xx先生,女士 ,隐私设置,入职显示 ,跳转问题 ,实名认证调整

zhengkaixin 1 year ago
parent
commit
a997484d54

+ 6 - 0
App.vue

@@ -10,8 +10,13 @@
 	export default {
 		onLaunch: function() {
 			console.log('App Launch')
+			
 			var getOpenId =this.carhelp.getOpenId()
 			if(getOpenId){
+				
+				// #ifdef MP-WEIXIN
+					
+				
 				API.saveLoginRecord({
 					openId:getOpenId
 				}).then((res) => {
@@ -19,6 +24,7 @@
 				}).catch(error => {
 					console.log('App Launch  记录用户登陆 失败')
 				})
+				// #endif
 			}
 		},
 		onShow: function() {

+ 9 - 0
apis/pagejs/packages.js

@@ -235,3 +235,12 @@ export function updateRecruitOnline(data) {
  		url: '/mobile/recruit/updateRecruitOnline'
  	})
 }
+
+
+ export function updatePerson(data) {
+  	return request({
+  		method: 'post',
+  		data: data,
+  		url: '/mobile/user/updatePerson'
+  	})
+ }

+ 2 - 1
apis/utils/requestWhite.js

@@ -1,9 +1,10 @@
 import  carhelp from '@/apis/utils/mixin.js'
-
+import '@/config/.env.js'
 //记录请求次数和响应次数
 let reqCount = 0,
 	resCount = 0;
 //var token=carhelp.getToken();
+
 var baseUrl="https://equipment.xiaoxinda.com/jk-temporary-workers-server/";
 if(process.car){
 	 baseUrl=process.car.BASE_URL;

BIN
assets/img/riLine-shield-keyhole-line@3x.png


+ 2 - 2
config/.env.dev.js

@@ -1,6 +1,6 @@
 const UNI_APP = {  
 	ProjectName :"荆州经开区共享用工平台",
-	//BASE_URL: 'http://192.168.77.162:8086/jk-temporary-workers-server/',
+	BASE_URL: 'http://192.168.77.162:8086/jk-temporary-workers-server/',
 	BASE_URL:"https://equipment.xiaoxinda.com/jk-temporary-workers-server/",
 	//IMG_URL:"http://www.jsrailway.com.cn/",
 	PREFIX : "jp-zeroWorkerStation",
@@ -9,7 +9,7 @@ const UNI_APP = {
 
 	openId:"o_5WO4hc7MyyVNjSDePRIft6AokI",//个人企业都注册
 	//openId:"o_5WO4qUozermjNRBqypzMZg56Qw",// 杨所199
-	//openId:"o_5WO4tDGT3bJ-9Bpdizcdbs-HbI", //152
+	openId:"o_5WO4tDGT3bJ-9Bpdizcdbs-HbI", //152
 	//openId:"006",// 个人  注册 ,企业未
 	//openId:"323",// 个人  未注册 ,企业 注册
 	 

+ 9 - 1
main.js

@@ -32,7 +32,15 @@ Vue.mixin({
 
 	},
 	methods: {
-		
+		getPersonName(name,item){
+			var thisname=name
+			if(item.isAnonymous){
+				thisname=name.substring(0,1)+(item.gender==1?'先生':'女士');
+			}
+			
+			return thisname
+			
+		},
 		getTime(item){
 			var time=item.updateTime?item.updateTime:item.createTime;
 			if(time){

+ 10 - 1
pages.json

@@ -245,7 +245,16 @@
 			           }
 			           
 			       }
-		]
+		    ,{
+                    "path" : "mine/privacy",
+                    "style" :                                                                                    
+                {
+                    "navigationBarTitleText": "",
+                    "enablePullDownRefresh": false
+                }
+                
+                }
+            ]
 	}],
 	
 	 

+ 10 - 14
pages/main/index/index.vue

@@ -145,7 +145,7 @@
 		<u-divider style="margin-top: 10px;"
 		 :isnone="showList.length==0" nonetext="没有找到相关内容" 
 		 @click="gotoUrl('pages/tab/jobInformation/jobInformation')"
-		border-color="#CFD2D5">点击查看更多</u-divider>
+		border-color="#CFD2D5">查看更多</u-divider>
 		</view>
 		
 		<tabbar :current="0"></tabbar>
@@ -239,6 +239,11 @@
 				return this.tabList[this.current].list
 			}
 		},
+		onReachBottom() {
+			uni.navigateTo({
+				url:"/pages/tab/jobInformation/jobInformation"
+			})
+		},
 		methods: {
 			clickBanner(index,list) {
 					
@@ -280,18 +285,7 @@
 					 this.carhelp.setToken(res.data.token);
 					 this.carhelp.setPersonInfoPlus(res.data);
 					 
-					 if(op.shareMP){
-					 	if(op.t=='jobDetails'){
-					 		uni.navigateTo({
-					 			url:"/pages/packages/jobInformation/jobDetails?id="+op.id
-					 		})
-					 	}
-					 	if(op.t=='jobSearchDetails'){
-					 		uni.navigateTo({
-					 			url:"/pages/packages/choreInformation/jobSearchDetails?id="+op.id
-					 		})
-					 	}
-					 }
+					 
 				 }).catch(error => {
 					this.carhelp.logoff();
 				 })
@@ -444,7 +438,7 @@
 					display: flex;
 					justify-content: space-between;
 					align-items: center;
-
+					
 					// 职位
 					.position {
 						color: rgba(16, 16, 16, 1);
@@ -457,6 +451,8 @@
 						color: rgba(255, 61, 0, 1);
 						font-size: 32rpx;
 						font-family: 'PingFang Medium';
+						min-width: 260rpx;
+						text-align: end;
 					}
 				}
 

BIN
pages/packages/as-components/privacy.png


+ 14 - 6
pages/packages/choreInformation/jobSearchDetails.vue

@@ -1,6 +1,9 @@
 <template>
 	<view>
-		<u-navbar :back-text="showTitle" back-icon-size="28" back-icon-color="#ffffff"
+		<u-navbar :back-text="showTitle" v-if="share" back-icon-size="28" :customBack="customBack" back-icon-color="#ffffff"
+			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
+		
+		<u-navbar :back-text="showTitle" v-else back-icon-size="28" back-icon-color="#ffffff"
 			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
 		<view class="content">
 			<!-- 职位 -->
@@ -61,7 +64,7 @@
 						<!-- 姓名电话 -->
 						<view class="name-tel">
 							<view class="name">
-								{{personInfo.realName}}
+								{{getPersonName(personInfo.realName,personInfo)}}
 							</view>
 							<view class="tel" v-if="ck()">
 							
@@ -75,7 +78,7 @@
 						<!-- 标签 -->
 						<view class="tags">
 							<view class="tag-item" style="background-color: red;color:#fff" v-if="personInfo.intention==2" >
-								已入职
+								已入职/勿扰
 							</view>
 							
 							<view class="tag-item">
@@ -94,7 +97,7 @@
 							
 							<span class="tel" v-if="ck()">
 							
-								{{info.address?info.address:''}}
+								{{info.address?info.address:'未填写'}}
 							</span>
 							<span class="tel" style="font-size: 24rpx;" v-else >
 							
@@ -213,13 +216,13 @@
 			}
 			return {
 				title: this.showTitle,
-				path: '/pages/main/index/index?shareMP=1&t=jobSearchDetails&id=' + this.id
+				path: '/pages/packages/choreInformation/jobSearchDetails?shareMP=1&id=' + this.id
 			}
 		},
 		computed: {
 			showTitle() {
 				if (this.info.id) {
-					return this.personInfo.realName+"-"+this.info.hopeSalary+this.getUnit(this.info)
+					return (this.personInfo.intention==2?'勿扰-':'')+this.getPersonName(this.personInfo.realName,this.personInfo)+"-"+this.info.hopeSalary+this.getUnit(this.info)
 				}
 				return ''
 			}
@@ -237,6 +240,11 @@
 			this.getInfo()
 		},
 		methods: {
+			customBack(){
+				uni.redirectTo({
+					url:"/pages/main/index/index"
+				})
+			},
 			ck(){
 				var user=this.carhelp.getPersonInfo();
 				var enterpriseInfo=this.carhelp.getPersonInfoPlus().enterpriseInfo;

+ 11 - 3
pages/packages/jobInformation/jobDetails.vue

@@ -1,6 +1,9 @@
 <template>
 	<view>
-		<u-navbar :back-text="showTitle" back-icon-size="28" back-icon-color="#ffffff"
+		<u-navbar :back-text="showTitle" v-if="share" back-icon-size="28" :customBack="customBack" back-icon-color="#ffffff"
+			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
+		
+		<u-navbar :back-text="showTitle" v-else back-icon-size="28" back-icon-color="#ffffff"
 			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
 		<view class="content">
 			<view class="title">
@@ -212,7 +215,7 @@
 			}
 			return {
 				title: this.showTitle,
-				path: '/pages/main/index/index?shareMP=1&t=jobDetails&id=' + this.id
+				path: '/pages/packages/jobInformation/jobDetails?shareMP=1&id=' + this.id
 			}
 		},
 		computed: {
@@ -236,6 +239,11 @@
 			this.getInfo()
 		},
 		methods: {
+			customBack(){
+				uni.redirectTo({
+					url:"/pages/main/index/index"
+				})
+			},
 			showPhoneBtn(){
 				if(this.ck()){
 					this.showPhone=true
@@ -336,7 +344,7 @@
 					var _this= this
 					uni.showModal({
 						title: '提示',
-						content: '您当前求职意向为[已入职],是否帮您修改为[未入职],并为您报名此岗位?',
+						content: '您当前求职意向为[已入职/勿扰],是否帮您修改为[求职中],并为您报名此岗位?',
 						confirmText: "报名",
 						showCancel: true,
 						success: function(res) {

+ 3 - 1
pages/packages/mine/employmentService/laborManagement/laborManagement.vue

@@ -312,7 +312,9 @@
 			}
 
 			.salary {
-				min-width: 180rpx;
+			
+				min-width: 260rpx;
+				text-align: end;
 				color: rgba(255, 61, 0, 1);
 				font-size: 32rpx;
 				font-family: 'PingFangSC-medium';

+ 708 - 677
pages/packages/mine/employmentService/laborManagement/postMessage.vue

@@ -1,678 +1,709 @@
-<template>
-	<view>
-		<u-navbar back-text="发布求职信息" back-icon-size="28" back-icon-color="#ffffff"
-			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
-		<!-- 基本信息 -->
-		<view class="information-group">
-			<view class="headline">
-				基本信息
-			</view>
-			<!-- 职位名称 -->
-			<view class="item">
-				<view class="title">
-					<text>*</text>职位名称
-				</view>
-				<view class="input">
-					<u-input type="text"  v-model="formData.positionName"
-					placeholder="请填写职位名称"></u-input>
-					
-				</view>
-			</view>
-			<!--结算形式 -->
-			<view class="item">
-				<view class="title">
-					<text>*</text>结算形式
-				</view>
-				<view class="input">
-					
-					<u-input type="select"  v-model="settlementMethod"
-					 @click="showselect(1)" placeholder="请选择结算形式"></u-input>
-					
-				</view>
-				
-			</view>
-			<!-- *薪资待遇 -->
-			<view class="item">
-				<view class="title">
-					<text>*</text>薪资待遇
-				</view>
-				<view class="input2">
-					<u-input type="text"  v-model="formData.salary"
-					placeholder="请填写薪资待遇"></u-input>
-					
-				</view>
-				<view class="unit" >
-					{{getUnit(formData)}}
-				</view>
-				<!-- <view class="icon" @click="showselect(0)">
-					<u-icon name="arrow-right" color="#999999"></u-icon>
-				</view> -->
-
-			</view>
-			
-			<!-- 行业 -->
-			<view class="item">
-				<view class="title">
-					<text>*</text>行业
-				</view>
-				<view class="input">
-					
-					<u-input type="select"  v-model="industry"
-					 @click="popupShow=true" readonly  placeholder="请选择行业"></u-input>
-					
-				</view>
-				
-			</view>
-			<!-- 招聘人数 -->
-			<view class="item">
-				<view class="title">
-					<text>*</text>招聘人数
-				</view>
-				<view class="input">
-					
-					<u-input type="number"  v-model="formData.recruitingNumbers"
-					placeholder="请填写招聘人数"></u-input>
-				</view>
-
-			</view>
-
-
-
-
-		</view>
-		<!-- 工作描述 -->
-		<view class="job-description">
-			<view class="title">
-				<text>*</text>工作描述
-			</view>
-			<textarea class="textarea" v-model="formData.desc"
-			 placeholder="请简单描述工作内容及职位要求"></textarea>
-		</view>
-		<!-- 个人信息 -->
-		<view class="information-group">
-					<view class="headline">
-						基本信息
-					</view>
-					<!-- 联系人 -->
-					<view class="item">
-						<view class="title">
-							<text>*</text>联系人
-						</view>
-						<view class="input">
-							
-							<u-input type="text"  v-model="formData.contacts"
-							placeholder="请填写联系人"></u-input>
-													
-						</view>
-					</view>
-					<!-- 联系电话 -->
-					<view class="item">
-						<view class="title">
-							<text>*</text>联系电话
-						</view>
-						<view class="input">
-							<u-input type="text"  v-model="formData.contactsPhone"
-							placeholder="请填写联系电话"></u-input>
-						
-						</view>
-						
-						
-						
-					</view>
-					<!--工作地区 -->
-					<view class="item">
-						<view class="title">
-							<text>*</text>工作地区
-						</view>
-						<view class="input">
-							
-							<u-input type="select"  v-model="workArea"
-							 @click="showselect(3)" placeholder="请选择工作地区"></u-input>
-							
-						</view>
-						
-					</view>
-					<!-- 详细地址 -->
-					
-					<view class="item">
-						<view class="title">
-							<text>*</text>详细地址
-						</view>
-						<view class="input">
-							<u-input type="text"  v-model="formData.address"
-							placeholder="请填写详细的工作地址"></u-input>
-							
-						</view>
-						
-					</view>
-					
-					
-				</view>
-				<u-select v-model="show" value-name="value" label-name="name"
-				 :list="list" @confirm="confirm"></u-select>
-				
-		<button class="issue"   @click="submit()"
-		
-		type="default">提交审核</button>
-		
-		
-		<!-- 筛选框 -->
-		<u-popup v-model="popupShow"  @open="popupShowOpen" mode="bottom" border-radius="20" :closeable="true">
-			<view class="popup-content">
-				<view class="headline">
-					筛选
-				</view>
-		
-				<!-- 行业 -->
-				<view class="industry">
-					<view class="title">
-						<u-search v-model="querypop"></u-search>
-						<view>意向行业 <span style="color: #4696f6;">{{isChecked!=-1?'已选中:'+industryList[isChecked].name:''}}</span> (向下拉可滑动)</view>
-						
-					</view>
-						<!-- 选项 -->
-						
-						<scroll-view  class="scrollview" scroll-y="true" style="height: 620rpx;">
-						
-							<view class="options">
-								
-									<view 
-									:class="{item,checked:isChecked==index}" v-for="(item,index) in industryList"
-									  v-show="item.name.indexOf(querypop)!=-1"
-									 :key="index"
-										@click="changeChecked(index)">
-										<!-- 快递跑腿/配送/分拣 -->{{item.name}}
-									</view>
-								
-							</view>
-						</scroll-view>
-					
-				</view>
-				<!-- 结算方式 -->
-				<view class="clearing-form" v-if="false">
-					<view class="title">
-						结算方式
-					</view>
-					<!-- 选项 -->
-					<view class="options">
-						<view :class="{item,checked:wayChecked==index}" v-for="(item,index) in wayList" :key="index"
-							@click="changeWayChecked(index)">
-							{{item.name}}
-						</view>
-					</view>
-				</view>
-				<!-- 薪资形式 -->
-				<view class="salary-form" v-if="false">
-					<view class="title">
-						薪资形式
-					</view>
-					<!-- 选项 -->
-					<view class="options ">
-						<view :class="{item,checked:saralyChecked==index}" v-for="(item,index) in salaryList"
-							:key="index" @click="changeSaralyChecked(index)">
-							{{item.name}}
-						</view>
-					</view>
-				</view>
-		
-		
-		
-				<view class="button">
-					<button class="reset" @click="reset()">重置</button>
-					<button class="confirm" @click="queryBtn()" >确认</button>
-				</view>
-			</view>
-		</u-popup>
-	</view>
-</template>
-
-<script>
-	import * as API_weixin from '@/apis/weixin.js'
-	import * as API from '@/apis/pagejs/packages.js'
-	export default {
-		data() {
-			return {
-				querypop:"",
-				popupShow: false,
-				isChecked: -1,
-				industryList: [
-				],
-				
-				selectIndex:0,
-				show: false,
-				list: [],
-				formData:{
-					positionName:"",
-					salary:"",
-					settlementMethod:"",
-					industry:"",
-					recruitingNumbers:"",
-					desc:"",
-					contacts:"",
-					contactsPhone:"",
-					workArea:"",
-					address:"",
-					salaryForm:"2",
-				},
-				settlementMethod:"",
-				salaryForm:"计时",
-				industry:"",
-				workArea:"",
-				sqlList:[[],[],[],[],[],[],[]],
-				valueList:[-1,-1,-1,-1,-1,-1],
-				userInfo:{},
-				id:"",
-			}
-		},
-		onLoad(op){
-			this.userInfo=this.carhelp.getPersonInfo()	
-			if(op.id){
-				this.id=op.id
-				this.getInfo()
-			}else{
-				var enterpriseInfo=this.carhelp.getPersonInfoPlus().enterpriseInfo
-				this.formData.contacts=enterpriseInfo.contactsPersonId
-				this.formData.address=enterpriseInfo.address
-			}
-			
-			
-			//this.tel=this.userInfo.phone
-		},
-		methods: {
-			reset() {
-				this.isChecked = -1;
-			
-				
-			},
-			queryBtn(){
-				this.formData.industry=this.industryList[this.isChecked].value
-				this.industry=this.industryList[this.isChecked].name
-				this.popupShow=false;
-			},
-			changeChecked(index) {
-				this.isChecked = index;
-			},
-			popupShowOpen(){
-				if(this.industryList.length==0){
-					uni.showLoading({
-						title: "加载中",
-						mask: true,
-					})
-					API_weixin.findListByCatalogName({
-						name:'意向行业',
-						
-					}).then((res) => {
-						uni.hideLoading();
-						
-						this.industryList=res.data.dictionaryList
-						
-					}).catch(error => {
-					
-						uni.showToast({icon: 'none',
-							title: error
-						})
-						//this.getPhone()
-						
-					})
-				}
-			},
-			getInfo(){
-				uni.showLoading({
-					title: "加载中",
-					mask: true,
-				})
-				
-				API.recruitDetail({
-					recruitId:this.id
-				}).then((res) => {
-					uni.hideLoading()				
-					if(res.data.recruitInformationInfo){
-						this.formData = res.data.recruitInformationInfo;
-						var name=["salaryForm","settlementMethod","industry",]
-						for(var i in  name){
-							//.log(name[i]+'N')
-							this[name[i]]=this.formData[(name[i]+'N')]
-						}
-						this.workArea= this.formData.workArea
-					}
-					
-				}).catch(error => {
-					uni.showToast({icon: 'none',
-						title: error,
-						icon: "none"
-					})
-				})
-			},
-			confirm(e) {
-				this.show = false;
-				var name=["salaryForm","settlementMethod",
-				
-				"industry",
-				"workArea",]
-				this[name[this.selectIndex]]=e[0].label
-				this.formData[name[this.selectIndex]]=e[0].value
-				//.log(e)
-			},
-			showselect(k){
-				this.selectIndex=k;
-				if(this.sqlList[k].length==0){
-					var name=['薪资形式','结算方式','意向行业','工作地区']
-					uni.showLoading({
-						title: "加载中",
-						mask: true,
-					})
-					API_weixin.findListByCatalogName({
-						name:name[k],
-						
-					}).then((res) => {
-						uni.hideLoading();
-						this.sqlList[k]=res.data.dictionaryList
-						this.list=this.sqlList[k];
-						this.show= true
-						
-					}).catch(error => {
-					
-						uni.showToast({icon: 'none',
-							title: error
-						})
-						//this.getPhone()
-						
-					})
-				}else{
-					this.list=this.sqlList[k];
-					this.show= true
-				}
-			},
-			submit(){
-				if(!this.formData.positionName){
-					uni.showToast({icon: 'none',
-						title: "请填写职位名称"
-					})
-					return
-				}
-				if(!this.formData.salary){
-					uni.showToast({icon: 'none',
-						title: "请填写薪资待遇"
-					})
-					return
-				}
-				if(!this.formData.settlementMethod){
-					uni.showToast({icon: 'none',
-						title: "请选择结算形式"
-					})
-					return
-				}
-				if(!this.formData.industry){
-					uni.showToast({icon: 'none',
-						title: "请选择行业"
-					})
-					return
-				}
-				if(!this.formData.recruitingNumbers){
-					uni.showToast({icon: 'none',
-						title: "请填写招聘人数"
-					})
-					return
-				}
-				if(!this.formData.desc){
-					uni.showToast({icon: 'none',
-						title: "请简单描述工作内容及职位要求"
-					})
-					return
-				}
-				if(!this.formData.contacts){
-					uni.showToast({icon: 'none',
-						title: "请填写联系人"
-					})
-					return
-				}
-				if(!this.formData.contactsPhone){
-					uni.showToast({icon: 'none',
-						title: "请填写联系电话"
-					})
-					return
-				}
-				if(!this.formData.workArea){
-					uni.showToast({icon: 'none',
-						title: "请选择工作地区"
-					})
-					return
-				}
-				if(!this.formData.address){
-					uni.showToast({icon: 'none',
-						title: "请填写详细的工作地址"
-					})
-					return
-				}
-				this.formData.workArea=this.workArea
-				uni.showLoading({
-					title: "加载中",
-					mask: true,
-				})
-				API.createRecruit(this.formData).then((res) => {
-					uni.hideLoading();
-					
-					const eventChannel = this.getOpenerEventChannel();
-					eventChannel.emit('refreshData');
-					
-					uni.showModal({
-						title: '提示',
-						content: '提交成功,等待审核!',
-						showCancel:false,
-						success: function (res) {
-							if (res.confirm) {
-								
-								uni.navigateBack()
-							} else if (res.cancel) {
-								//.log('用户点击取消');
-							}
-						}
-					});
-					
-				}).catch(error => {
-				
-					uni.showToast({icon: 'none',
-						title: error
-					})
-					//this.getPhone()
-					
-				})
-			}
-		}
-	}
-</script>
-<style>
-	page {
-		background: #F0F0F2;
-		padding-bottom: 150px;
-	}
-</style>
-
-<style lang="scss" scoped>
-	.information-group {
-		margin: 32rpx;
-		padding: 24rpx 32rpx;
-		background-color: #fff;
-        border-radius: 24rpx;
-		.headline {
-			color: rgba(16, 16, 16, 1);
-			font-size: 36rpx;
-			margin-bottom: 24rpx;
-
-			font-family: 'PingFangSC-medium';
-		}
-
-		.item {
-			display: flex;
-			align-items: center;
-			padding: 12rpx 0;
-			border-bottom: 1px solid #f1f1f1;
-
-			.title {
-				color: rgba(51, 51, 51, 1);
-				font-size: 32rpx;
-				width: 148rpx;
-
-				text {
-					color: #EE3138
-				}
-			}
-			.input {
-					width: 450rpx;
-					margin-left: 24rpx;
-
-					/deep/.uni-input-input {
-						color: rgba(51, 51, 51, 1);
-					}
-				}
-			.input2 {
-				width: 350rpx;
-				margin-left: 24rpx;
-
-				/deep/.uni-input-input {
-					color: rgba(51, 51, 51, 1);
-				}
-			}
-
-			.icon {
-				margin-left: auto;
-			}
-
-			.unit {
-				margin-left: auto;
-				color: rgba(51, 51, 51, 1);
-				font-size: 32rpx;
-			}
-		}
-	}
-
-	// 工作描述
-	.job-description {
-		margin: 24rpx 32rpx;
-		background-color: #fff;
-		border-radius: 12px;
-		padding: 24rpx 32rpx;
-
-		.title {
-			color: #333333;
-			font-size: 18px;
-			font-family: 'PingFangSC-medium';
-		}
-
-		text {
-			color: #FF0000;
-		}
-
-		.textarea {
-			margin-top: 24rpx;
-			line-height: 40rpx;
-			width: 100%;
-			height: 200rpx;
-
-		}
-
-	}
-
-	/* 发布 */
-	.issue {
-		background-color: rgba(34, 149, 255, 1);
-		color: rgba(241, 241, 241, 1);
-		font-size: 18px;
-		height: 96rpx;
-		line-height: 96rpx;
-		border-radius: 50px;
-		position: fixed;
-		left: 32rpx;
-		right: 32rpx;
-		bottom: 20rpx;
-		z-index: 999;
-	}
-	// 筛选框
-	.popup-content {
-		padding: 32rpx;
-	
-		.headline {
-			color: #101010;
-			font-size: 40rpx;
-			text-align: center;
-		}
-	
-		//行业
-		.industry,
-		.clearing-form,
-		.salary-form {
-			margin-top: 16rpx;
-		
-			.title {
-				font-size: 32rpx;
-				color: #111111;
-			}
-	
-			// 选项
-			.options {
-				display: flex;
-				justify-content: space-between;
-				flex-wrap: wrap;
-				margin-top: 24rpx;
-	
-				.item {
-					height: 56rpx;
-					line-height: 56rpx;
-					min-width: 210rpx;
-					text-align: center;
-					margin-bottom: 16rpx;
-					margin-right: 16rpx;
-					color: #999999;
-					background-color: #F3F3F4;
-					border-radius: 4px;
-				}
-	
-				.checked {
-					background-color: #2795FD;
-					color: #fff;
-				}
-			}
-		}
-	
-		.button {
-			display: flex;
-	
-			margin-top: 8rpx;
-			.reset:after{
-					border:0
-			}
-			.reset {
-				color: #999999;
-				background-color: #F3F3F4;
-				width: 200rpx;
-				height: 72rpx;
-				line-height: 72rpx;
-				border-radius: 8px;
-				
-			}
-	
-			.confirm {
-				width: 440rpx;
-				background-color: #2795FD;
-				color: #fff;
-				height: 72rpx;
-				line-height: 72rpx;
-				border-radius: 8px;
-			}
-		}
-	}
-	
-	.salary-form,
-	.clearing-form {
-		.options {
-			justify-content: start !important;
-		}
-	
-		.item {
-			margin-right: 24rpx;
-		}
-	}
-	.scrollview{
-		border: 1px #101010 dashed;
-	}
+<template>
+	<view>
+		<u-navbar back-text="发布求职信息" back-icon-size="28" back-icon-color="#ffffff"
+			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
+		<!-- 基本信息 -->
+		<view class="information-group">
+			<view class="headline">
+				基本信息
+			</view>
+			<!-- 职位名称 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>职位名称
+				</view>
+				<view class="input">
+					<u-input type="text" v-model="formData.positionName" placeholder="请填写职位名称"></u-input>
+
+				</view>
+			</view>
+			<!--结算形式 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>结算形式
+				</view>
+				<view class="input">
+
+					<u-input type="select" v-model="settlementMethod" @click="showselect(1)"
+						placeholder="请选择结算形式"></u-input>
+
+				</view>
+
+			</view>
+			<!-- *薪资待遇 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>薪资待遇
+				</view>
+				<view class="input2">
+					<u-input type="text" v-model="formData.salary" placeholder="请填写薪资待遇"></u-input>
+
+				</view>
+				<view class="unit">
+					{{getUnit(formData)}}
+				</view>
+				<!-- <view class="icon" @click="showselect(0)">
+					<u-icon name="arrow-right" color="#999999"></u-icon>
+				</view> -->
+
+			</view>
+
+			<!-- 行业 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>行业
+				</view>
+				<view class="input">
+
+					<u-input type="select" v-model="industry" @click="popupShow=true" readonly
+						placeholder="请选择行业"></u-input>
+
+				</view>
+
+			</view>
+			<!-- 招聘人数 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>招聘人数
+				</view>
+				<view class="input">
+
+					<u-input type="number" v-model="formData.recruitingNumbers" placeholder="请填写招聘人数"></u-input>
+				</view>
+
+			</view>
+
+
+
+
+		</view>
+		<!-- 工作描述 -->
+		<view class="job-description">
+			<view class="title">
+				<text>*</text>工作描述
+			</view>
+			<textarea class="textarea" v-model="formData.desc" placeholder="请简单描述工作内容及职位要求"></textarea>
+		</view>
+		<!-- 个人信息 -->
+		<view class="information-group">
+			<view class="headline">
+				基本信息
+			</view>
+			<!-- 联系人 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>联系人
+				</view>
+				<view class="input">
+
+					<u-input type="text" v-model="formData.contacts" placeholder="请填写联系人"></u-input>
+
+				</view>
+			</view>
+			<!-- 联系电话 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>联系电话
+				</view>
+				<view class="input">
+					<u-input type="text" v-model="formData.contactsPhone" placeholder="请填写联系电话"></u-input>
+
+				</view>
+
+
+
+			</view>
+			<!--工作地区 -->
+			<view class="item">
+				<view class="title">
+					<text>*</text>工作地区
+				</view>
+				<view class="input">
+
+					<u-input type="text" v-model="formData.contactsPhone" placeholder="请选择工作地区"></u-input>
+
+				</view>
+
+			</view>
+			<!-- 详细地址 -->
+
+			<view class="item">
+				<view class="title">
+					<text>*</text>详细地址
+				</view>
+				<view class="input">
+					<u-input type="text" v-model="formData.address" placeholder="请填写详细的工作地址"></u-input>
+
+				</view>
+
+			</view>
+
+
+		</view>
+		<u-select v-model="show" value-name="value" label-name="name" :list="list" @confirm="confirm"></u-select>
+
+		<button class="issue" @click="submit()" type="default">提交审核</button>
+
+
+		<!-- 筛选框 -->
+		<u-popup v-model="popupShow" @open="popupShowOpen" mode="bottom" border-radius="20" :closeable="true">
+			<view class="popup-content">
+				<view class="headline">
+					筛选
+				</view>
+
+				<!-- 行业 -->
+				<view class="industry">
+					<view class="title">
+						<u-search v-model="querypop"></u-search>
+						<view>意向行业 <span
+								style="color: #4696f6;">{{isChecked!=-1?'已选中:'+industryList[isChecked].name:''}}</span>
+							(向下拉可滑动)</view>
+
+					</view>
+					<!-- 选项 -->
+
+					<scroll-view class="scrollview" scroll-y="true" style="height: 620rpx;">
+
+						<view class="options">
+
+							<view :class="{item,checked:isChecked==index}" v-for="(item,index) in industryList"
+								v-show="item.name.indexOf(querypop)!=-1" :key="index" @click="changeChecked(index)">
+								<!-- 快递跑腿/配送/分拣 -->{{item.name}}
+							</view>
+
+						</view>
+					</scroll-view>
+
+				</view>
+				<!-- 结算方式 -->
+				<view class="clearing-form" v-if="false">
+					<view class="title">
+						结算方式
+					</view>
+					<!-- 选项 -->
+					<view class="options">
+						<view :class="{item,checked:wayChecked==index}" v-for="(item,index) in wayList" :key="index"
+							@click="changeWayChecked(index)">
+							{{item.name}}
+						</view>
+					</view>
+				</view>
+				<!-- 薪资形式 -->
+				<view class="salary-form" v-if="false">
+					<view class="title">
+						薪资形式
+					</view>
+					<!-- 选项 -->
+					<view class="options ">
+						<view :class="{item,checked:saralyChecked==index}" v-for="(item,index) in salaryList"
+							:key="index" @click="changeSaralyChecked(index)">
+							{{item.name}}
+						</view>
+					</view>
+				</view>
+
+
+
+				<view class="button">
+					<button class="reset" @click="reset()">重置</button>
+					<button class="confirm" @click="queryBtn()">确认</button>
+				</view>
+			</view>
+		</u-popup>
+	</view>
+</template>
+
+<script>
+	import * as API_weixin from '@/apis/weixin.js'
+	import * as API from '@/apis/pagejs/packages.js'
+	export default {
+		data() {
+			return {
+				querypop: "",
+				popupShow: false,
+				isChecked: -1,
+				industryList: [],
+
+				selectIndex: 0,
+				show: false,
+				list: [],
+				formData: {
+					positionName: "",
+					salary: "",
+					settlementMethod: "",
+					industry: "",
+					recruitingNumbers: "",
+					desc: "",
+					contacts: "",
+					contactsPhone: "",
+					workArea: "",
+					address: "",
+					salaryForm: "2",
+				},
+				settlementMethod: "",
+				salaryForm: "计时",
+				industry: "",
+				workArea: "",
+				sqlList: [
+					[],
+					[{
+							"name": "日结",
+							"value": "1",
+						},
+						{
+							"name": "周结",
+							"value": "2",
+						},
+						{
+
+							"name": "月结",
+							"value": "3",
+
+						}
+					],
+					[],
+					[],
+					[],
+					[],
+					[]
+				],
+				valueList: [-1, -1, -1, -1, -1, -1],
+				userInfo: {},
+				id: "",
+			}
+		},
+		onLoad(op) {
+			this.userInfo = this.carhelp.getPersonInfo()
+			if (op.id) {
+				this.id = op.id
+				this.getInfo()
+			} else {
+				var enterpriseInfo = this.carhelp.getPersonInfoPlus().enterpriseInfo
+				this.formData.contacts = enterpriseInfo.contactsPersonId
+				this.formData.address = enterpriseInfo.address
+			}
+
+
+			//this.tel=this.userInfo.phone
+		},
+		methods: {
+			reset() {
+				this.isChecked = -1;
+
+
+			},
+			queryBtn() {
+				this.formData.industry = this.industryList[this.isChecked].value
+				this.industry = this.industryList[this.isChecked].name
+				this.popupShow = false;
+			},
+			changeChecked(index) {
+				this.isChecked = index;
+			},
+			popupShowOpen() {
+				if (this.industryList.length == 0) {
+					uni.showLoading({
+						title: "加载中",
+						mask: true,
+					})
+					API_weixin.findListByCatalogName({
+						name: '意向行业',
+
+					}).then((res) => {
+						uni.hideLoading();
+
+						this.industryList = res.data.dictionaryList
+
+					}).catch(error => {
+
+						uni.showToast({
+							icon: 'none',
+							title: error
+						})
+						//this.getPhone()
+
+					})
+				}
+			},
+			getInfo() {
+				uni.showLoading({
+					title: "加载中",
+					mask: true,
+				})
+
+				API.recruitDetail({
+					recruitId: this.id
+				}).then((res) => {
+					uni.hideLoading()
+					if (res.data.recruitInformationInfo) {
+						this.formData = res.data.recruitInformationInfo;
+						var name = ["salaryForm", "settlementMethod", "industry", ]
+						for (var i in name) {
+							//.log(name[i]+'N')
+							this[name[i]] = this.formData[(name[i] + 'N')]
+						}
+						//this.workArea= this.formData.workArea
+					}
+
+				}).catch(error => {
+					uni.showToast({
+						icon: 'none',
+						title: error,
+						icon: "none"
+					})
+				})
+			},
+			confirm(e) {
+				this.show = false;
+				var name = ["salaryForm", "settlementMethod",
+
+					"industry",
+					"workArea",
+				]
+				this[name[this.selectIndex]] = e[0].label
+				this.formData[name[this.selectIndex]] = e[0].value
+				//.log(e)
+			},
+			showselect(k) {
+				this.selectIndex = k;
+				if (this.sqlList[k].length == 0) {
+					var name = ['薪资形式', '结算方式', '意向行业', '工作地区']
+					uni.showLoading({
+						title: "加载中",
+						mask: true,
+					})
+					API_weixin.findListByCatalogName({
+						name: name[k],
+
+					}).then((res) => {
+						uni.hideLoading();
+						this.sqlList[k] = res.data.dictionaryList
+						this.list = this.sqlList[k];
+						this.show = true
+
+					}).catch(error => {
+
+						uni.showToast({
+							icon: 'none',
+							title: error
+						})
+						//this.getPhone()
+
+					})
+				} else {
+					this.list = this.sqlList[k];
+					this.show = true
+				}
+			},
+			submit() {
+				if (!this.formData.positionName) {
+					uni.showToast({
+						icon: 'none',
+						title: "请填写职位名称"
+					})
+					return
+				}
+				if (!this.formData.salary) {
+					uni.showToast({
+						icon: 'none',
+						title: "请填写薪资待遇"
+					})
+					return
+				}
+				if (!this.formData.settlementMethod) {
+					uni.showToast({
+						icon: 'none',
+						title: "请选择结算形式"
+					})
+					return
+				}
+				if (!this.formData.industry) {
+					uni.showToast({
+						icon: 'none',
+						title: "请选择行业"
+					})
+					return
+				}
+				if (!this.formData.recruitingNumbers) {
+					uni.showToast({
+						icon: 'none',
+						title: "请填写招聘人数"
+					})
+					return
+				}
+				if (!this.formData.desc) {
+					uni.showToast({
+						icon: 'none',
+						title: "请简单描述工作内容及职位要求"
+					})
+					return
+				}
+				if (!this.formData.contacts) {
+					uni.showToast({
+						icon: 'none',
+						title: "请填写联系人"
+					})
+					return
+				}
+				if (!this.formData.contactsPhone) {
+					uni.showToast({
+						icon: 'none',
+						title: "请填写联系电话"
+					})
+					return
+				}
+				if (!this.formData.workArea) {
+					uni.showToast({
+						icon: 'none',
+						title: "请选择工作地区"
+					})
+					return
+				}
+				if (!this.formData.address) {
+					uni.showToast({
+						icon: 'none',
+						title: "请填写详细的工作地址"
+					})
+					return
+				}
+				//this.formData.workArea=this.workArea
+				uni.showLoading({
+					title: "加载中",
+					mask: true,
+				})
+				API.createRecruit(this.formData).then((res) => {
+					uni.hideLoading();
+
+					const eventChannel = this.getOpenerEventChannel();
+					eventChannel.emit('refreshData');
+
+					uni.showModal({
+						title: '提示',
+						content: '提交成功,等待审核!',
+						showCancel: false,
+						success: function(res) {
+							if (res.confirm) {
+
+								uni.navigateBack()
+							} else if (res.cancel) {
+								//.log('用户点击取消');
+							}
+						}
+					});
+
+				}).catch(error => {
+
+					uni.showToast({
+						icon: 'none',
+						title: error
+					})
+					//this.getPhone()
+
+				})
+			}
+		}
+	}
+</script>
+<style>
+	page {
+		background: #F0F0F2;
+		padding-bottom: 150px;
+	}
+</style>
+
+<style lang="scss" scoped>
+	.information-group {
+		margin: 32rpx;
+		padding: 24rpx 32rpx;
+		background-color: #fff;
+		border-radius: 24rpx;
+
+		.headline {
+			color: rgba(16, 16, 16, 1);
+			font-size: 36rpx;
+			margin-bottom: 24rpx;
+
+			font-family: 'PingFangSC-medium';
+		}
+
+		.item {
+			display: flex;
+			align-items: center;
+			padding: 12rpx 0;
+			border-bottom: 1px solid #f1f1f1;
+
+			.title {
+				color: rgba(51, 51, 51, 1);
+				font-size: 32rpx;
+				width: 148rpx;
+
+				text {
+					color: #EE3138
+				}
+			}
+
+			.input {
+				width: 450rpx;
+				margin-left: 24rpx;
+
+				/deep/.uni-input-input {
+					color: rgba(51, 51, 51, 1);
+				}
+			}
+
+			.input2 {
+				width: 350rpx;
+				margin-left: 24rpx;
+
+				/deep/.uni-input-input {
+					color: rgba(51, 51, 51, 1);
+				}
+			}
+
+			.icon {
+				margin-left: auto;
+			}
+
+			.unit {
+				margin-left: auto;
+				color: rgba(51, 51, 51, 1);
+				font-size: 32rpx;
+			}
+		}
+	}
+
+	// 工作描述
+	.job-description {
+		margin: 24rpx 32rpx;
+		background-color: #fff;
+		border-radius: 12px;
+		padding: 24rpx 32rpx;
+
+		.title {
+			color: #333333;
+			font-size: 18px;
+			font-family: 'PingFangSC-medium';
+		}
+
+		text {
+			color: #FF0000;
+		}
+
+		.textarea {
+			margin-top: 24rpx;
+			line-height: 40rpx;
+			width: 100%;
+			height: 200rpx;
+
+		}
+
+	}
+
+	/* 发布 */
+	.issue {
+		background-color: rgba(34, 149, 255, 1);
+		color: rgba(241, 241, 241, 1);
+		font-size: 18px;
+		height: 96rpx;
+		line-height: 96rpx;
+		border-radius: 50px;
+		position: fixed;
+		left: 32rpx;
+		right: 32rpx;
+		bottom: 20rpx;
+		z-index: 999;
+	}
+
+	// 筛选框
+	.popup-content {
+		padding: 32rpx;
+
+		.headline {
+			color: #101010;
+			font-size: 40rpx;
+			text-align: center;
+		}
+
+		//行业
+		.industry,
+		.clearing-form,
+		.salary-form {
+			margin-top: 16rpx;
+
+			.title {
+				font-size: 32rpx;
+				color: #111111;
+			}
+
+			// 选项
+			.options {
+				display: flex;
+				justify-content: space-between;
+				flex-wrap: wrap;
+				margin-top: 24rpx;
+
+				.item {
+					height: 56rpx;
+					line-height: 56rpx;
+					min-width: 210rpx;
+					text-align: center;
+					margin-bottom: 16rpx;
+					margin-right: 16rpx;
+					color: #999999;
+					background-color: #F3F3F4;
+					border-radius: 4px;
+				}
+
+				.checked {
+					background-color: #2795FD;
+					color: #fff;
+				}
+			}
+		}
+
+		.button {
+			display: flex;
+
+			margin-top: 8rpx;
+
+			.reset:after {
+				border: 0
+			}
+
+			.reset {
+				color: #999999;
+				background-color: #F3F3F4;
+				width: 200rpx;
+				height: 72rpx;
+				line-height: 72rpx;
+				border-radius: 8px;
+
+			}
+
+			.confirm {
+				width: 440rpx;
+				background-color: #2795FD;
+				color: #fff;
+				height: 72rpx;
+				line-height: 72rpx;
+				border-radius: 8px;
+			}
+		}
+	}
+
+	.salary-form,
+	.clearing-form {
+		.options {
+			justify-content: start !important;
+		}
+
+		.item {
+			margin-right: 24rpx;
+		}
+	}
+
+	.scrollview {
+		border: 1px #101010 dashed;
+	}
 </style>

+ 9 - 5
pages/packages/mine/employmentService/receiveRegistration.vue

@@ -17,8 +17,10 @@
 					
 				<!-- 头像 -->
 				<view class="photo">
+					<!--  -->
+					<span  v-if="current==0&&!item.isRead" class="tag" >未读</span>
 					<u-avatar :src="item.jobInformationInfo.photo"></u-avatar>
-					<span>{{item.workPersonInfo?item.workPersonInfo.realName:''}}</span>
+					<span>{{item.workPersonInfo?getPersonName(item.workPersonInfo.realName,item.workPersonInfo):''}}</span>
 					
 				</view>
 				<!-- 信息 -->
@@ -35,8 +37,9 @@
 					<view class="tags-date">
 						
 						<view class="salary">
+							
 							{{item.jobInformationInfo.hopeSalary}}{{getUnit(item.jobInformationInfo)}}
-							<span class="tag" v-if="current==0&&!item.isRead">未读</span>
+							
 						</view>
 						
 						<view class="date">
@@ -46,7 +49,7 @@
 					<view class="tags-date">
 						<view class="tags">
 							<view class="item" style="background-color: red;color:#fff" v-if="item.workPersonInfo&&item.workPersonInfo.intention==2" >
-								已入职
+								已入职/勿扰
 							</view>
 							<view class="item" v-if="item.workPersonInfo">
 								{{item.workPersonInfo.gender==1?'男':'女'}}
@@ -222,6 +225,7 @@
 			color: rgba(255, 61, 0, 1);
 			font-size: 32rpx;
 			font-family: 'PingFangSC-medium';
+			min-width: 200px;
 		}
 		.positon-salary{
 			display: flex;
@@ -312,8 +316,8 @@
 	}
 	.tag {
 	
-		 top: -100rpx;
-		left: -280rpx;
+		 top: -30rpx;
+		left: -40rpx;
 		position: relative;
 		border-radius: 4px 4px 4px 0px;
 		color: #fff;

+ 131 - 11
pages/packages/mine/myJobInformation/myJobInformation.vue

@@ -7,13 +7,14 @@
 			<view class="person-infos">
 				<view class="infos">
 					<view class="name" v-if="userInfo.status==1">
-						{{userInfo.realName?userInfo.realName:'实名认证后生效'}}
+						{{userInfo.realName?userInfo.realName:''}}
 					</view>
-					<view class="name" v-if="userInfo.status==0" style=" font-size: 36rpx;color: #4CAF50;">
-						实名认证后生效
-						<view  style=" font-size: 24rpx;color: #4CAF50;" >
-							生效后可以进行简历投递,可以被企业邀请等
-						</view>
+					<view class="gender-age" v-if="userInfo.status==0">
+						
+						<text class="text">简历状态</text>
+						
+						<text>[未创建]</text>
+						
 					</view>
 					<view class="gender-age" v-if="userInfo.status==1">
 						<text class="text">{{userInfo.gender==1?'男':'女'}}</text>|
@@ -149,7 +150,43 @@
 			<textarea class="textarea"  v-model="formData.serviceDesc"
 			 placeholder="请填写您的个人简历,如工作年限/工作经历/擅长技能等,有助于您更快、更准确的找到工作。"></textarea>
 		</view>
-
+		<view class="main">
+			<view class="information-group">
+				<view class="titlesm">
+					{{userInfo.status==0?'实名认证':'已实名'}}
+				</view>
+				<!--意向岗位 -->
+				<view class="item">
+					<view class="title">
+						真实姓名<text class="redtext">*</text>
+					</view>
+					<view class="input" v-if="userInfo.status==0">
+						<u-input type="text"  v-model="personalForm.realName"
+						  placeholder="请填写真实姓名"></u-input>
+						
+					</view>
+					<view  v-if="userInfo.status==1" class="input input3" >
+						{{personalForm.realName}}
+					</view>
+				
+				</view>
+				<!--意向岗位 -->
+				<view class="item">
+					<view class="title">
+						身份证号<text class="redtext">*</text>
+					</view>
+					<view class="input "  v-if="userInfo.status==0">
+						<u-input type="text" v-model="personalForm.idCard"
+						 placeholder="请填写18位身份证号"></u-input>
+						
+					</view>
+					<view  v-if="userInfo.status==1" class="input input3" >
+						{{personalForm.idCard}}
+					</view>
+				</view>
+				
+			</view>
+		</view>
 		<button class="save"  @click="submit"
 		type="default">
 		<span v-if="formData.status==0">提交修改</span>
@@ -229,7 +266,9 @@
 
 <script>
 	import * as API_weixin from '@/apis/weixin.js'
-	
+	import {
+		checkIdCard
+	} from '@/apis/utils'
 	import * as API from '@/apis/pagejs/packages.js'
 	export default {
 		data() {
@@ -239,7 +278,10 @@
 				isChecked: -1,
 				industryList: [
 				],
-				
+				personalForm:{
+					realName:'',
+					idCard:"",
+				},
 				src: '',
 				tel: '15011110000',
 				show: false,
@@ -259,7 +301,22 @@
 				method:"",
 				workExperience:"",
 				education:"",
-				sqlList:[[],[],[],[],[],[],[]],
+				sqlList:[[],[
+    {
+       "name": "日结",
+       "value": "1",
+    },
+    {
+        "name": "周结",
+        "value": "2",
+    },
+    {
+        
+        "name": "月结",
+        "value": "3",
+     
+    }
+],[],[],[],[],[]],
 				valueList:[-1,-1,-1,-1,-1,-1],
 				selectIndex:0,
 				form: {},
@@ -269,6 +326,11 @@
 		onLoad(){
 			this.userInfo=this.carhelp.getPersonInfo()	
 			this.tel=this.userInfo.phone
+			if(this.userInfo.realName){
+				this.personalForm.realName=this.userInfo.realName
+				this.personalForm.idCard=this.userInfo.idCard
+			}
+			
 			this.myJobHunt()
 		},
 		methods: {
@@ -374,6 +436,53 @@
 					mask: true,
 				})
 				this.formData.photo=this.src
+				
+				if(this.userInfo.status==0){
+					if(!this.personalForm.realName) {
+						uni.showToast({icon: 'none',
+							title: "请填写真实姓名",
+							icon: "none"
+						})
+						return
+					}
+					if(!this.personalForm.idCard) {
+						uni.showToast({icon: 'none',
+							title: "请填写身份证号",
+							icon: "none"
+						})
+						return
+					}
+					var checkIdCardResult = checkIdCard(this.personalForm.idCard);
+					if (checkIdCardResult !== true) {
+						uni.showToast({icon: 'none',
+							title: checkIdCardResult,
+							icon: "none"
+						})
+						return;
+					}
+					this.personalAutApi();
+				}else{
+					this.createJobHuntApi()
+				}
+				
+				
+			},
+			personalAutApi(){
+				uni.showLoading({
+					title: "加载中",
+					mask: true
+				})
+				API.createAuthentication(this.personalForm).then((res) => {
+					uni.hideLoading();
+					this.createJobHuntApi();
+				}).catch(error => {
+					uni.showToast({icon: 'none',
+						title: error,
+						icon: "none"
+					})
+				})
+			},
+			createJobHuntApi(){
 				API.createJobHunt(this.formData).then((res) => {
 					uni.hideLoading();
 					
@@ -522,7 +631,15 @@
 		background-color: #fff;
 		padding: 40rpx 32rpx 0;
 		border-radius: 12px;
-
+		.redtext{
+			color:red;
+		}
+		.titlesm {
+			color: #333333;
+			font-size: 18px;
+			font-family: 'PingFangSC-medium';
+			
+		}
 		.person-infos {
 			display: flex;
 			justify-content: space-between;
@@ -586,6 +703,9 @@
 						color: #FF0000;
 					}
 				}
+				.input3{
+					padding: 16rpx 0;
+				}
 				.input2 {
 					width: 360rpx;
 					margin-left: 24rpx;

+ 232 - 0
pages/packages/mine/privacy.vue

@@ -0,0 +1,232 @@
+<template>
+	<view>
+		<u-navbar back-text="隐私设置"  back-icon-color="#ffffff"
+			:background="{backgroundColor: '#2795FD',}" :back-text-style="{color: '#ffffff'}"></u-navbar>
+		<view class="top">
+			<view>
+				<img src="@/pages/packages/as-components/privacy.png">
+			</view>
+			<view>
+				<view>我们时刻保护</view>
+				<view>你的隐私安全</view>
+			</view>
+		</view>
+		<u-select v-model="updateintention" :list="intentionList" @confirm="updateintentionBtn" ></u-select>
+
+		<!-- 其他服务 -->
+		<view class="card ">
+			<view class="span_view">
+				<view>求职状态
+					
+					
+					
+				</view>
+				<view  class="span_view_select">
+					勿扰<u-switch  size="40"  @change="change1" v-model="intention"></u-switch>求职
+					
+				</view>
+			</view>
+				<u-line color="#E6E6E6"></u-line>
+			<view class="span_view">
+				<view>简历状态</view>
+				<view  class="span_view_select">
+					隐藏<u-switch  size="40" @change="change2" v-model="jobStatus"></u-switch>公开
+					
+				</view>
+			</view>
+			<u-line color="#E6E6E6"></u-line>
+			<view class="span_view">
+				<view>真实姓名保护
+					<view class="span_view777">开启后,对外显示名称将展示“X女士/先生”</view>
+				</view>
+				<view  class="span_view_select">
+					关闭<u-switch  size="40"  @change="change3" v-model="isAnonymous"></u-switch>开启
+					
+				</view>
+			</view>
+				
+
+			
+		</view>
+		
+	</view>
+</template>
+
+<script>
+	import * as API from '@/apis/pagejs/packages.js'
+	import * as API_weixin from '@/apis/weixin.js'
+
+
+	export default {
+		components: {
+		
+		},
+		data() {
+			return {
+				src: '',
+				show: false,
+				value: 'false',
+				userInfo: {},
+				showPhone: false,
+				confirmText: '拨打电话',
+				content: "",
+				checked:false,
+				num1: 0,
+				num2: 0,
+				num3: 0,//0 未创建 ,1 审批中, 2 成功
+				isReady:false,
+				updateintention:false,
+				intention: '',
+				jobStatus:false,
+				isAnonymous:false,
+				intentionList:[
+					{
+						value: '1',
+						label: '求职中'
+					},
+					{
+						value: '2',
+						label: '隐藏简历'
+					},
+					{
+						value: '3',
+						label: '已入职/勿扰'
+					},
+				],
+				
+			}
+		},
+		onLoad() {
+			
+		},
+		onShow(){
+			this.userInfo = this.carhelp.getPersonInfo()
+			this.intention=this.userInfo .intention==1
+			this.isAnonymous=this.userInfo.isAnonymous
+			this.jobStatus=this.userInfo.jobStatus==null?true:this.userInfo.jobStatus=="1"
+		},
+		methods: {
+			change1(index){
+				this.intention=index;
+				this.updateApi()
+			},
+			change2(index){
+				this.jobStatus=index;
+				this.updateApi()
+			},
+			change3(index){
+				this.isAnonymous=index;
+				this.updateApi()
+			},
+			updateApi(){
+				uni.showLoading({
+					title: "加载中",
+					mask: true,
+				})
+				API.updatePerson({
+					intention: this.intention?"1":"2",
+					isAnonymous:this.isAnonymous,
+					jobStatus:this.jobStatus?"1":"0"
+				}).then((res) => {
+					uni.hideLoading();
+					this.userInfo.intention=this.intention?"1":"2";
+					this.userInfo.isAnonymous=this.isAnonymous;
+					this.userInfo.jobStatus=this.jobStatus?"1":"0";
+					this.carhelp.setPersonInfo(this.userInfo)
+				}).catch(error => {
+					this.showPhone = false;
+					uni.hideLoading();
+				})
+			},
+			updateintentionBtn(e){
+				console.log(e);
+				this.intention=e[0].value
+				this.updateApi()
+			},
+			
+		}
+	}
+</script>
+<style>
+	page {
+		background: #F0F0F2;
+		padding-bottom: 150px;
+	}
+</style>
+<style lang="scss" scoped>
+	.showImg {
+		width: 38rpx;
+		height: 38rpx;
+	}
+
+	.top {
+		background-color: #2795FD ;
+		display: flex;
+		align-items: center;
+		padding: 40rpx 32rpx 88rpx;
+		font-size: 48rpx;
+		justify-content: center;
+		color:#fff;
+		img{
+			width: 168rpx;
+			height: 168rpx;
+		}
+	}
+
+
+	.card {
+		    position: relative;
+		    top: -40px;
+		background-color: #fff;
+		border-radius: 12px;
+		margin: 32rpx;
+		padding:8rpx 32rpx;
+
+		.title {
+			color: rgba(16, 16, 16, 1);
+			font-size: 32rpx;
+			margin-bottom: 20rpx;
+		}
+		.span_view{
+			display: flex;
+			justify-content: space-between;
+			padding:32rpx 0;
+			font-size: 38rpx;
+			color: rgba(51, 51, 51, 1);
+			.span_view777{
+				color:#777777;
+				font-size: 24rpx;
+			}
+			
+			.span_view_select{
+				display: flex;
+				font-size: 24rpx;
+				align-items: center;
+				min-width: 220rpx;
+				 justify-content: flex-end;
+			}
+			
+		}
+
+	}
+
+	
+	
+	
+	
+	.greencircle:after {
+	  content: '';
+	  margin: 3px;
+	  display: table;
+	  width: 6px;
+	  height: 6px;
+	 
+	  border-radius: 50%;
+	}
+	.greencircle2:after {
+		 background: #54b86c;
+	}
+	.greencircle1:after {
+		 background:  #dc4441;
+	}
+</style>

+ 3 - 1
pages/packages/search/search.vue

@@ -69,7 +69,7 @@
 						</view>
 					</view>
 					<view class="issuer">
-						{{item.personName}}
+						{{getPersonName(item.realName,item)}}
 					</view>
 					<view class="bottom">
 						<view class="tags">
@@ -607,6 +607,8 @@
 					.salary {
 						color: rgba(255, 61, 0, 1);
 						font-size: 32rpx;
+						min-width: 260rpx;
+						text-align: end;
 					}
 				}
 			

+ 1 - 1
pages/tab/choreInformation/choreInformation.vue

@@ -46,7 +46,7 @@
 						</view>
 					</view>
 					<view class="issuer">
-						{{item.personName}}
+						{{getPersonName(item.personName,item)}}
 					</view>
 					<view class="bottom">
 						<view class="tags">

+ 1 - 1
pages/tab/issue/issue.vue

@@ -164,7 +164,7 @@
 			},
 			toMyJobInformation() {
 				
-				if(this.ck1()&&this.ck2()){
+				if(this.ck1()){
 					
 				}else{
 					return

+ 28 - 9
pages/tab/mine/mine.vue

@@ -31,8 +31,7 @@
 
 			</view>
 		</view>
-				<u-select v-model="updateintention" :list="intentionList" @confirm="updateintentionBtn" ></u-select>
-
+				
 		<!-- 求职信息 -->
 		<view class="card card1">
 			<view class="title">
@@ -41,14 +40,10 @@
 				<u-icon size="34" v-if="ck1()" name="checkmark-circle-fill" style="color: #54b86c;"></u-icon>
 				<u-icon size="34" @click="showIcon(1)" v-else name="error-circle-fill" style="color: #dc4441;"></u-icon>
 				
-				<span v-if="ck1()"  class="intentionClass" @click="updateintention=true">求职意向 <span  :class="{
-					intentionClassSpan:true,
-					intentionClassSpan1:userInfo.intention!=2,
-					intentionClassSpan2:userInfo.intention==2,
-				}" >{{userInfo.intention==2?'已入职':'求职中'}} </span><u-icon name="arrow-right"></u-icon></span>
+			
 			</view>
 			<u-grid :col="3" :border="false">
-				<u-grid-item @click="gotoUrl1('pages/packages/mine/myJobInformation/myJobInformation')">
+				<u-grid-item @click="gotoUrl0('pages/packages/mine/myJobInformation/myJobInformation')">
 					<u-badge :count="num3==2?0:(num3==0?'未创建':'审批中')"
 					 :type="num3==0?'error':'warning'"
 					 size="mini" :offset="[18,4]"></u-badge>
@@ -71,6 +66,15 @@
 						<img src="@/assets/img/riLine-mail-star-line@1x.png" alt="">
 					</view>
 					<view class="grid-text">收到邀请</view>
+				</u-grid-item>
+				
+				<u-grid-item 
+				 @click="gotoUrl0('pages/packages/mine/privacy')">
+					
+					<view class="icon">
+						<img src="@/assets/img/riLine-shield-keyhole-line@3x.png" alt="">
+					</view>
+					<view class="grid-text">隐私设置</view>
 				</u-grid-item>
 			</u-grid>
 		</view>
@@ -225,7 +229,7 @@
 										},
 										{
 											value: '2',
-											label: '已入职'
+											label: '已入职/勿扰'
 										}
 				],
 				
@@ -305,6 +309,21 @@
 				uni.navigateTo({
 					url: "/" + url
 				})
+			},
+			gotoUrl0(url) {
+				var user = this.carhelp.getPersonInfo();
+				
+				if (!user.id) {
+					uni.showToast({
+						title:"请登录",
+						icon:"none"
+					})
+					return false
+				}
+			
+				uni.navigateTo({
+					url: "/" + url
+				})
 			},
 			gotoUrl2(url) {
 				if (this.ck2()) {