|
@ -7,6 +7,7 @@ Page({ |
|
|
*/ |
|
|
*/ |
|
|
data: { |
|
|
data: { |
|
|
look: true, |
|
|
look: true, |
|
|
|
|
|
status:0, //审核状态
|
|
|
informFlag: false, |
|
|
informFlag: false, |
|
|
selectOption: [{ |
|
|
selectOption: [{ |
|
|
label: '机关企事业单位', |
|
|
label: '机关企事业单位', |
|
@ -48,6 +49,8 @@ Page({ |
|
|
idCard: '', |
|
|
idCard: '', |
|
|
mobile: '', |
|
|
mobile: '', |
|
|
homeName: '', //居住小区名称
|
|
|
homeName: '', //居住小区名称
|
|
|
|
|
|
villageName: '', //居住小区名称
|
|
|
|
|
|
hobbies: '', // 服务意向
|
|
|
workUnit: '', //工作单位
|
|
|
workUnit: '', //工作单位
|
|
|
workType: '', //单位性质
|
|
|
workType: '', //单位性质
|
|
|
workIndustry: '', //所属行业
|
|
|
workIndustry: '', //所属行业
|
|
@ -90,7 +93,7 @@ Page({ |
|
|
workType, |
|
|
workType, |
|
|
workIndustry, |
|
|
workIndustry, |
|
|
hobbies, |
|
|
hobbies, |
|
|
shibei |
|
|
shibei, |
|
|
} = JSON.parse(wx.getStorageSync('userInfo')) |
|
|
} = JSON.parse(wx.getStorageSync('userInfo')) |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
'form.name': realName, |
|
|
'form.name': realName, |
|
@ -102,7 +105,9 @@ Page({ |
|
|
'form.workIndustry': workIndustry, |
|
|
'form.workIndustry': workIndustry, |
|
|
'form.hobbies': hobbies, |
|
|
'form.hobbies': hobbies, |
|
|
'form.shibei': shibei, |
|
|
'form.shibei': shibei, |
|
|
|
|
|
'form.hobbies': hobbies, |
|
|
'form.homeName': villageName, |
|
|
'form.homeName': villageName, |
|
|
|
|
|
'form.villageName': villageName, |
|
|
}) |
|
|
}) |
|
|
this.getByIdCardAndName() |
|
|
this.getByIdCardAndName() |
|
|
}, |
|
|
}, |
|
@ -345,6 +350,10 @@ Page({ |
|
|
'form.gridStaff': res.data.gridStaff, |
|
|
'form.gridStaff': res.data.gridStaff, |
|
|
'form.volunteer': res.data.volunteer, |
|
|
'form.volunteer': res.data.volunteer, |
|
|
}) |
|
|
}) |
|
|
|
|
|
if(res.data.status === 0 || res.data.status === 1){ |
|
|
|
|
|
this.handleNext(); |
|
|
|
|
|
this.submit(); |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}).catch(err => { |
|
|
}).catch(err => { |
|
|
|
|
|
|
|
@ -548,6 +557,8 @@ Page({ |
|
|
para.volunteer = parseInt(para.volunteer) |
|
|
para.volunteer = parseInt(para.volunteer) |
|
|
para.gridStaff = parseInt(para.gridStaff) |
|
|
para.gridStaff = parseInt(para.gridStaff) |
|
|
para.owners = this.data.form.owners |
|
|
para.owners = this.data.form.owners |
|
|
|
|
|
para.hobbies = this.data.form.hobbies |
|
|
|
|
|
para.villageName = this.data.form.villageName |
|
|
// wx.showLoading({
|
|
|
// wx.showLoading({
|
|
|
// title: "提交中..."
|
|
|
// title: "提交中..."
|
|
|
// })
|
|
|
// })
|
|
@ -598,10 +609,22 @@ Page({ |
|
|
delta: 1 |
|
|
delta: 1 |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|
|
|
handleEdit(){ |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
submitStatus: false, |
|
|
|
|
|
look: false |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
handleNext() { |
|
|
handleNext() { |
|
|
|
|
|
if(this.data.informFlag){ |
|
|
|
|
|
this.setData({ |
|
|
|
|
|
informFlag: false |
|
|
|
|
|
}) |
|
|
|
|
|
}else{ |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
informFlag: true |
|
|
informFlag: true |
|
|
}) |
|
|
}) |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
callLiveTelephone() { |
|
|
callLiveTelephone() { |
|
|
wx.makePhoneCall({ |
|
|
wx.makePhoneCall({ |
|
|