lyuis hai 7 meses
pai
achega
8f1404e501
Modificáronse 2 ficheiros con 14 adicións e 1 borrados
  1. 12 0
      package/jobIntention/basicInfo.vue
  2. 2 1
      pages/my/onlineResume.vue

+ 12 - 0
package/jobIntention/basicInfo.vue

@@ -62,6 +62,12 @@
 				<u-picker :default-time="birthDateText" v-model="showDatePicker" mode="time" :params="dateParams"
 					@confirm="onDateConfirm"></u-picker>
 			</view>
+			
+			<view class="form-item">
+				<view class="form-label">邮箱</view>
+				<input class="form-input" type="text" placeholder="请输入邮箱号码,方便接收offer" v-model="email" />
+			</view>
+			
 
 			<!-- 求职状态 -->
 			<view class="form-item">
@@ -125,6 +131,7 @@
 			return {
 				BarHeight: '',
 				weChatNum: '',
+				email:'',
 				sex: '',
 				age: '',
 				phone: '',
@@ -177,6 +184,8 @@
 				this.ifExp = options.ifExp
 			if (options && options.resumesPhone)
 				this.phone = options.resumesPhone
+			if (options && options.resumesEmail)
+				this.email = options.resumesEmail
 			this.getUserInfo()
 		},
 		methods: {
@@ -272,6 +281,8 @@
 						title: "生日不能为空",
 						icon: "none"
 					})
+				}else if(!this.email){
+					this.$queue.showToast('邮箱不能为空')
 				} else {
 					this.age = this.$queue.calculateAgeFromBirthday(this.birthDateText) || 0
 					let that = this
@@ -310,6 +321,7 @@
 					resumesStatus: this.selectedJobStatus,
 					resumesPhone: this.phone,
 					birthday: this.birthDateText,
+					resumesEmail:this.email,
 					ifExp: this.ifExp
 				}
 				this.$Request.postJson("/app/userFirst/regist", data).then((res) => {

+ 2 - 1
pages/my/onlineResume.vue

@@ -364,7 +364,8 @@
 						.resumeList.resumesStatus || 0) + '&birthday=' + (this.detail.resumeList && this.detail
 						.resumeList.birthday || '') + '&ifExp=' + (this.detail.resumeList && this.detail
 						.resumeList.ifExp || 0) + '&resumesPhone=' + (this.detail.resumeList && this.detail
-						.resumeList.resumesPhone || '')
+						.resumeList.resumesPhone || '')+ '&resumesEmail=' + (this.detail.resumeList && this.detail
+						.resumeList.resumesEmail || '')
 				})
 			},
 			getBusinessTypes() {