Browse Source

用户协议

zhengkaixin 1 year ago
parent
commit
612d32f0dd

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

@@ -8,7 +8,7 @@ const UNI_APP = {
 	SIMPLE_RUN:false,// 无视权限控制跳转页面   , 用于样式人员快速访问各种功能 ,快速测试等
 	SIMPLE_RUN:false,// 无视权限控制跳转页面   , 用于样式人员快速访问各种功能 ,快速测试等
 
 
 	openId:"o_5WO4hc7MyyVNjSDePRIft6AokI",//个人企业都注册
 	openId:"o_5WO4hc7MyyVNjSDePRIft6AokI",//个人企业都注册
-	//openId:"o_5WO4qUozermjNRBqypzMZg56Qw",// 杨所199
+	openId:"o_5WO4qUozermjNRBqypzMZg56Qw",// 杨所199
 	openId:"o_5WO4tDGT3bJ-9Bpdizcdbs-HbI", //152
 	openId:"o_5WO4tDGT3bJ-9Bpdizcdbs-HbI", //152
 	//openId:"o_5WO4vGBgkh_aAzZV19XV5aKVas",// 个人  注册 ,企业未
 	//openId:"o_5WO4vGBgkh_aAzZV19XV5aKVas",// 个人  注册 ,企业未
 	//openId:"323",// 个人  未注册 ,企业 注册
 	//openId:"323",// 个人  未注册 ,企业 注册

+ 50 - 1
pages/packages/mine/myJobInformation/myJobInformation.vue

@@ -198,7 +198,18 @@
 				<view  class="itemView">开启后,对外显示名称将展示“X女士/先生”<br/>(只修改"真实姓名保护"无需提交审批)</view>
 				<view  class="itemView">开启后,对外显示名称将展示“X女士/先生”<br/>(只修改"真实姓名保护"无需提交审批)</view>
 				
 				
 			</view>
 			</view>
+			<view class="viewradio">
+				<u-radio-group v-model="valueradio">
+				<u-radio name="1">阅读并同意</u-radio>
+				</u-radio-group>
+				
+				<span v-for="(item,i) in newsList" :key="i">
+					{{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
+				</span>
+				
+			</view>
 		</view>
 		</view>
+		
 		<button class="save"  @click="submit"
 		<button class="save"  @click="submit"
 		type="default">
 		type="default">
 		<span v-if="formData.status==0">提交修改</span>
 		<span v-if="formData.status==0">提交修改</span>
@@ -285,6 +296,7 @@
 	export default {
 	export default {
 		data() {
 		data() {
 			return {
 			return {
+				valueradio:'',
 				querypop:"",
 				querypop:"",
 				popupShow: false,
 				popupShow: false,
 				isChecked: -1,
 				isChecked: -1,
@@ -334,6 +346,7 @@
 				form: {},
 				form: {},
 				userInfo:{},
 				userInfo:{},
 				isAnonymous:"",
 				isAnonymous:"",
+				newsList:[],
 			}
 			}
 		},
 		},
 		onLoad(){
 		onLoad(){
@@ -345,8 +358,27 @@
 			}
 			}
 			this.isAnonymous=this.userInfo.isAnonymous
 			this.isAnonymous=this.userInfo.isAnonymous
 			this.myJobHunt()
 			this.myJobHunt()
+			this.getNewsInfo()
 		},
 		},
 		methods: {
 		methods: {
+			getNewsInfo(){
+				
+				API.newsList({
+					category:9,
+					
+				}).then((res) => {
+					uni.hideLoading();
+					
+					this.newsList = res.data.data;
+					
+					
+				}).catch(error => {
+					uni.showToast({icon: 'none',
+						title: error,
+						icon: "none"
+					})
+				})
+			},
 			change3(index){
 			change3(index){
 				this.isAnonymous=index;
 				this.isAnonymous=index;
 				this.updateApi()
 				this.updateApi()
@@ -421,6 +453,7 @@
 				API.myJobHunt().then((res) => {
 				API.myJobHunt().then((res) => {
 					uni.hideLoading()				
 					uni.hideLoading()				
 					if(res.data.jobInformationInfo){
 					if(res.data.jobInformationInfo){
+						this.valueradio=1
 						this.formData = res.data.jobInformationInfo;
 						this.formData = res.data.jobInformationInfo;
 						var name=["intendedIndustries","method",
 						var name=["intendedIndustries","method",
 						"workExperience","education",]
 						"workExperience","education",]
@@ -440,6 +473,13 @@
 				})
 				})
 			},
 			},
 			submit(){
 			submit(){
+				if(!this.valueradio) {
+					uni.showToast({icon: 'none',
+						title: "请勾选`阅读并同意`相关协议",
+						icon: "none"
+					})
+					return
+				}
 				if(!this.formData.intendedIndustries){
 				if(!this.formData.intendedIndustries){
 					uni.showToast({icon: 'none',
 					uni.showToast({icon: 'none',
 						title: "请选择意向行业"
 						title: "请选择意向行业"
@@ -467,7 +507,7 @@
 				}
 				}
 				if(!this.formData.serviceDesc){
 				if(!this.formData.serviceDesc){
 					uni.showToast({icon: 'none',
 					uni.showToast({icon: 'none',
-						title: "请描述您能提供哪些服务"
+						title: "请描述个人简介"
 					})
 					})
 					return
 					return
 				}
 				}
@@ -915,4 +955,13 @@
 	.scrollview{
 	.scrollview{
 		border: 1px #101010 dashed;
 		border: 1px #101010 dashed;
 	}
 	}
+	.viewradio{
+		display: flex;
+		    flex-wrap: wrap;
+		    align-items: center;
+		background-color: #fff;
+		.spanradio{
+			color:#4496f8
+		}
+	}
 </style>
 </style>

+ 98 - 1
pages/packages/mine/otherServices/authentication.vue

@@ -38,7 +38,19 @@
 							<input v-model="personalForm.idCard" type="text" placeholder="请填写18位身份证号">
 							<input v-model="personalForm.idCard" type="text" placeholder="请填写18位身份证号">
 						</view>
 						</view>
 					</view>
 					</view>
+					<view class="viewradio">
+						<u-radio-group v-model="valueradio">
+						<u-radio name="1">阅读并同意</u-radio>
+						</u-radio-group>
+						
+						<span v-for="(item,i) in newsList" :key="i">
+							{{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
+						</span>
+						
+					</view>
 				</view>
 				</view>
+				
+				
 				<button class="save" @click="personalAut" v-if="!perinReview">保存</button>
 				<button class="save" @click="personalAut" v-if="!perinReview">保存</button>
 				<button class="save" style="background-color: #777777;" v-else>审核中</button>
 				<button class="save" style="background-color: #777777;" v-else>审核中</button>
 			</view>
 			</view>
@@ -75,6 +87,7 @@
 						</view>
 						</view>
 					</view>
 					</view>
 				</view>
 				</view>
+				
 			</view>
 			</view>
 			<!-- 提示 -->
 			<!-- 提示 -->
 			<view class="tips" v-if="!authentication">
 			<view class="tips" v-if="!authentication">
@@ -94,6 +107,14 @@
 						每个账号只能进行一次实名认证,认证成功不支持修改
 						每个账号只能进行一次实名认证,认证成功不支持修改
 					</view>
 					</view>
 				</view>
 				</view>
+				<view class="viewradio2">
+					
+					阅读
+					<span v-for="(item,i) in newsList" :key="i">
+						{{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
+					</span>
+					
+				</view>
 			</view>
 			</view>
 		</view>
 		</view>
 		
 		
@@ -148,6 +169,17 @@
 							:form-data="formData" :header="header" width="686" max-count="1" @on-success="onSuccess">
 							:form-data="formData" :header="header" width="686" max-count="1" @on-success="onSuccess">
 						</u-upload>
 						</u-upload>
 					</view>
 					</view>
+					
+				</view>
+				<view class="viewradio">
+					<u-radio-group v-model="valueradio">
+					<u-radio name="1">阅读并同意</u-radio>
+					</u-radio-group>
+					
+					<span v-for="(item,i) in newsList" :key="i">
+						{{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
+					</span>
+					
 				</view>
 				</view>
 				<button class="save" @click="enterpriseCer" v-if="!entinReview">保存</button>
 				<button class="save" @click="enterpriseCer" v-if="!entinReview">保存</button>
 				<button class="save" style="background-color: #777777;" v-else>审核中</button>
 				<button class="save" style="background-color: #777777;" v-else>审核中</button>
@@ -213,6 +245,14 @@
 						每个账号只能进行一次实名认证,认证成功不支持修改
 						每个账号只能进行一次实名认证,认证成功不支持修改
 					</view>
 					</view>
 				</view>
 				</view>
+				<view class="viewradio2">
+					
+					阅读
+					<span v-for="(item,i) in newsList" :key="i">
+						{{i==0?'':','}}<span @click="gotoUrl('pages/packages/news/articleDetail?id='+item.id)" class="spanradio" ><{{item.title}}></span>
+					</span>
+					
+				</view>
 			</view>
 			</view>
 		</view>
 		</view>
 		
 		
@@ -257,7 +297,9 @@
 				listPic: [],
 				listPic: [],
 				action: '',
 				action: '',
 				header: '',
 				header: '',
-				formData: {}
+				formData: {},
+				newsList:[],
+				valueradio:'',
 			}
 			}
 		},
 		},
 		onLoad() {
 		onLoad() {
@@ -273,8 +315,30 @@
 		},
 		},
 		onReady() {
 		onReady() {
 			this.getFindByOpenId();
 			this.getFindByOpenId();
+			this.getNewsInfo()
 		},
 		},
 		methods: {
 		methods: {
+			gotoInfo(item){
+				
+			},
+			getNewsInfo(){
+				
+				API_main.newsList({
+					category:9,
+					
+				}).then((res) => {
+					uni.hideLoading();
+					
+					this.newsList = res.data.data;
+					
+					
+				}).catch(error => {
+					uni.showToast({icon: 'none',
+						title: error,
+						icon: "none"
+					})
+				})
+			},
 			onSuccess(data, index, lists, name) {
 			onSuccess(data, index, lists, name) {
 				//.log(data)
 				//.log(data)
 				if(data.result) {
 				if(data.result) {
@@ -297,6 +361,15 @@
 				})
 				})
 			},
 			},
 			personalAut() {
 			personalAut() {
+				
+				if(!this.valueradio) {
+					uni.showToast({icon: 'none',
+						title: "请勾选`阅读并同意`相关协议",
+						icon: "none"
+					})
+					return
+				}
+				
 				if(!this.personalForm.realName) {
 				if(!this.personalForm.realName) {
 					uni.showToast({icon: 'none',
 					uni.showToast({icon: 'none',
 						title: "请填写真实姓名",
 						title: "请填写真实姓名",
@@ -357,6 +430,13 @@
 				})
 				})
 			},
 			},
 			enterpriseCer() {
 			enterpriseCer() {
+				if(!this.valueradio) {
+					uni.showToast({icon: 'none',
+						title: "请勾选`阅读并同意`相关协议",
+						icon: "none"
+					})
+					return
+				}
 				if(!this.enterpriseForm.name) {
 				if(!this.enterpriseForm.name) {
 					uni.showToast({icon: 'none',
 					uni.showToast({icon: 'none',
 						title: "请填写企业全称",
 						title: "请填写企业全称",
@@ -451,6 +531,23 @@
 </style>
 </style>
 
 
 <style lang="scss" scoped>
 <style lang="scss" scoped>
+	.viewradio{
+		background-color: #fff;
+		display: flex;
+		    flex-wrap: wrap;
+		    align-items: center;
+		.spanradio{
+			color:#4496f8
+		}
+	}
+	.viewradio2{
+		display: flex;
+		    flex-wrap: wrap;
+		    align-items: center;
+		.spanradio{
+			color:#4496f8
+		}
+	}
 	.headline {
 	.headline {
 		color: rgba(51, 51, 51, 1);
 		color: rgba(51, 51, 51, 1);
 		padding-left: 32rpx;
 		padding-left: 32rpx;