|
@ -10,7 +10,6 @@ Page({ |
|
|
introduceInfo: '', |
|
|
introduceInfo: '', |
|
|
|
|
|
|
|
|
volunteerOrgNames: '', // 组织名称
|
|
|
volunteerOrgNames: '', // 组织名称
|
|
|
stateName: '', // 审核状态名称
|
|
|
|
|
|
state: '', // 审核状态
|
|
|
state: '', // 审核状态
|
|
|
reason: '', // 审核理由
|
|
|
reason: '', // 审核理由
|
|
|
lock: false, // 防止重复点击
|
|
|
lock: false, // 防止重复点击
|
|
@ -62,10 +61,9 @@ Page({ |
|
|
realName: res.data.realName, |
|
|
realName: res.data.realName, |
|
|
idCard: res.data.idCard, |
|
|
idCard: res.data.idCard, |
|
|
mobile: res.data.mobile, |
|
|
mobile: res.data.mobile, |
|
|
volunteerOrgIds: res.data.volunteerOrgIds, |
|
|
volunteerOrgIds: res.data.volunteerOrgIds || [], |
|
|
introduceInfo: res.data.introduceInfo, |
|
|
introduceInfo: res.data.introduceInfo, |
|
|
volunteerOrgNames: res.data.volunteerOrgNames, |
|
|
volunteerOrgNames: res.data.volunteerOrgNames || [], |
|
|
stateName: res.data.stateName, |
|
|
|
|
|
state: res.data.state, |
|
|
state: res.data.state, |
|
|
reason: res.data.reason |
|
|
reason: res.data.reason |
|
|
}) |
|
|
}) |
|
@ -115,7 +113,7 @@ Page({ |
|
|
} |
|
|
} |
|
|
api.applyVolunteer(params).then(res => { |
|
|
api.applyVolunteer(params).then(res => { |
|
|
if (res.code == 0 && res.msg == 'success') { |
|
|
if (res.code == 0 && res.msg == 'success') { |
|
|
this.showToast('组织申请已提交') |
|
|
this.showToast('提交成功') |
|
|
setTimeout(() => { |
|
|
setTimeout(() => { |
|
|
wx.navigateBack() |
|
|
wx.navigateBack() |
|
|
this.setData({ |
|
|
this.setData({ |
|
|