|
|
@ -121,6 +121,9 @@ Page({ |
|
|
|
}, { |
|
|
|
label: '法律服务', |
|
|
|
value: '10' |
|
|
|
}, { |
|
|
|
label: '其他', |
|
|
|
value: '11' |
|
|
|
}], |
|
|
|
workTypeInput: false, |
|
|
|
workTypeText: '', //单位类型为其他的输入框值
|
|
|
@ -414,7 +417,6 @@ Page({ |
|
|
|
this.setData({ |
|
|
|
'form.identityNo': e.detail.value |
|
|
|
}) |
|
|
|
console.log(this.data.form) |
|
|
|
}, |
|
|
|
//工作单位
|
|
|
|
bindWorkUnitInput(e) { |
|
|
@ -428,7 +430,6 @@ Page({ |
|
|
|
this.setData({ |
|
|
|
'form.workIndustry': e.detail.value |
|
|
|
}) |
|
|
|
console.log(this.data.form) |
|
|
|
}, |
|
|
|
//以防下拉
|
|
|
|
bindMultiPickerWorkIndustryChange(e) { |
|
|
@ -446,7 +447,6 @@ Page({ |
|
|
|
this.setData({ |
|
|
|
'form.mobile': e.detail.value |
|
|
|
}) |
|
|
|
console.log(this.data.form) |
|
|
|
}, |
|
|
|
//居住小区名称
|
|
|
|
bindvillageNameInput(e) { |
|
|
@ -583,8 +583,12 @@ Page({ |
|
|
|
this.showToast('请填写工作单位') |
|
|
|
return false |
|
|
|
} |
|
|
|
if (!this.data.form.mobile) { |
|
|
|
this.showToast('请填写手机号') |
|
|
|
if (!this.data.form.workIndustry) { |
|
|
|
this.showToast('请填写专业特长') |
|
|
|
return false |
|
|
|
} |
|
|
|
if (!this.data.form.mobile || this.data.form.mobile.length < 11) { |
|
|
|
this.showToast('请填写正确的手机号码') |
|
|
|
return false |
|
|
|
} |
|
|
|
if (this.data.form.shibei == '1') { |
|
|
@ -610,7 +614,6 @@ Page({ |
|
|
|
...this.data.form |
|
|
|
} |
|
|
|
para.userId = wx.getStorageSync('userId') |
|
|
|
console.log(para); |
|
|
|
delete para.couplingCommunityStr |
|
|
|
delete para.couplingCommunity |
|
|
|
if (this.data.workTypeText) { |
|
|
@ -620,7 +623,6 @@ Page({ |
|
|
|
title: "提交中..." |
|
|
|
}) |
|
|
|
let than = this |
|
|
|
|
|
|
|
if (this.data.title) { |
|
|
|
wx.login({ |
|
|
|
success: (res) => { |
|
|
@ -687,7 +689,6 @@ Page({ |
|
|
|
this.setData({ |
|
|
|
'form.password': e.detail.value |
|
|
|
}) |
|
|
|
console.log(this.data.form); |
|
|
|
}, |
|
|
|
bindCheckPassWordInput(e) { |
|
|
|
this.setData({ |
|
|
@ -705,8 +706,8 @@ Page({ |
|
|
|
} else { |
|
|
|
this.data.form.identityNo = this.idNo |
|
|
|
} |
|
|
|
if (!this.data.form.workUnit) { |
|
|
|
this.showToast('请填写工作单位') |
|
|
|
if (!this.data.form.workIndustry) { |
|
|
|
this.showToast('请填写专业特长') |
|
|
|
return |
|
|
|
} |
|
|
|
if (!this.data.form.mobile) { |
|
|
|