| 
					
				 | 
			
			
				@@ -18,7 +18,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			    <jp-picker v-model="inputForm.sex" rangeKey="label" rangeValue="value" :range="$dictUtils.getDictList('sex')"></jp-picker> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</u-form-item> --> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<u-form-item label="身份证号码" borderBottom prop="idCard" :required="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				<u--input placeholder='请填写身份证号码' v-model="inputForm.idCard" @blur="idCardOnly(inputForm.idCard)" ></u--input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				<u--input placeholder='请填写身份证号码' v-model="inputForm.idCard" @change="idCardOnly(inputForm.idCard)" ></u--input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</u-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<u-form-item label="性别" borderBottom prop="sex"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				<jp-picker v-model="inputForm.sex" rangeKey="label" :disabled="true" rangeValue="value" :range="[ 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -80,7 +80,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</u-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<u-form-item label="联系电话" borderBottom prop="mobilePhone" :required="true"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-			     <u--input placeholder='请填写联系电话' @blur="mobilePhoneOnly(inputForm.mobilePhone)" maxlength="11" v-model="inputForm.mobilePhone"></u--input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+			     <u--input placeholder='请填写联系电话' @change="mobilePhoneOnly(inputForm.mobilePhone)" maxlength="11" v-model="inputForm.mobilePhone"></u--input> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			</u-form-item> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			<u-form-item label="家庭住址" borderBottom prop="homeAddress" > 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -231,7 +231,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 		data () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			return { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				submitting: false, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				fileList: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				fileList2: [], 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				title: '', 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -359,10 +358,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			  } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			saveForm () { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				if (this.submitting) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				this.submitting = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					var flag = false 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					//定义表单规则 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					if (this.isNotEmpty(this.inputForm.socialSecurityNumber) && (this.isEmpty(this.inputForm.socialSecurityBankNumber) || isEmpty(this.inputForm.socialSecurityPictureFront))) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							this.loading = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -373,7 +369,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								icon: "none", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 								duration:2000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						if (this.isNotEmpty(this.inputForm.socialSecurityBankNumber) && (this.isEmpty(this.inputForm.socialSecurityNumber) || this.isEmpty(this.inputForm.socialSecurityPictureFront))) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							this.loading = false 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -402,6 +397,26 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 							this.inputForm.endTime = this.formatDate(this.inputForm.endTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				enrollmentRegistrationService.findIdCardOnly(this.inputForm.idCard).then((data) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					if (data !== 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						uni.showToast({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							title: '身份证号码已存在,请重新确认', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							icon: "none", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							duration:2000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				enrollmentRegistrationService.findMobilePhoneOnly(this.inputForm.mobilePhone).then((data) => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					if (data !== 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						uni.showToast({ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							title: '联系电话已存在,请重新填写', 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							icon: "none", 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+							duration:2000 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+						this.inputForm.mobilePhone = '' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+					} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				this.$refs.inputForm.validate().then(res => { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					uni.showLoading() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					this.inputForm.type = '2' 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -412,11 +427,9 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						//提交成功跳转页面 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 						this.$router.push('/pages/human/enrollment/registration/saveOk'); // 替换 '/new-page' 为你想要跳转的页面路径 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}).catch((e)=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-						this.submitting = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 					}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				}).catch((e)=>{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-					this.submitting = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-				})	 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+				}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			}, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 			formatDate(date) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 				const year = date.getFullYear(); 
			 |