zhengkaixin il y a 2 ans
Parent
commit
7be8355c54
1 fichiers modifiés avec 14 ajouts et 7 suppressions
  1. 14 7
      pagesB/pages/login/step2.vue

+ 14 - 7
pagesB/pages/login/step2.vue

@@ -121,12 +121,12 @@
 				 	address:[16,6,0],
 				 	registered_residence:[16,6,0],
 				 	work_address:[16,6,0],
-				 	education:[1],
-				 	profession:[1],
-				 	salary_range:[1],
+				 	education:[3],
+				 	profession:[0],
+				 	salary_range:[3],
 				 	house_status:[1],
-				 	marriage_status:[1],
-				 	children_status:[1],
+				 	marriage_status:[0],
+				 	children_status:[0],
 				 },
 				cityPickerValueDefault1:[16,6,0],
 				cityPickerValueDefault2:[16,6,0],
@@ -604,6 +604,7 @@
 			},
 			marriageConfirm(e){
 				//('e'+JSON.stringify(e))
+				
 				this.defaultData.marriage_status = [this.marriage_statuses_by_names.findIndex(item => item.value === e[0].value)]				
 				this.form.marriage_status = '';
 				e.map((val, index) => {
@@ -698,7 +699,7 @@
 				})
 			},
 			next(){  
-				
+				console.log(this.defaultData)
 				
 				if(this.form.addressId && this.form.addressId.length>0)
 				{
@@ -839,7 +840,13 @@
 					_self.personal_info.hobby = interest;
 				}else
 				{
-					
+					//_self.personal_info.hobby = '';
+					uni.showModal({
+							title:'提示',
+							content:'未设置兴趣爱好',
+							showCancel:false
+					})
+					return;
 				}
 				////('log ' + interest)
 				//('步骤2'+JSON.stringify(_self.personal_info))