|
@ -30,7 +30,8 @@ Page({ |
|
|
needAudit:'1', |
|
|
needAudit:'1', |
|
|
}, |
|
|
}, |
|
|
nationList: [], |
|
|
nationList: [], |
|
|
houseRelationList: [] |
|
|
houseRelationList: [], |
|
|
|
|
|
unitId: '', // 房屋id
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
@ -40,13 +41,14 @@ Page({ |
|
|
wx.showLoading({ |
|
|
wx.showLoading({ |
|
|
title: "加载中", |
|
|
title: "加载中", |
|
|
mask: true, |
|
|
mask: true, |
|
|
}); |
|
|
}) |
|
|
let idCard = options.idCard |
|
|
|
|
|
this.setData({ |
|
|
this.setData({ |
|
|
pageType:options.pageType |
|
|
pageType: options.pageType, |
|
|
|
|
|
unitId: options.id |
|
|
}) |
|
|
}) |
|
|
if(options.pageType !== 'add'){ |
|
|
if(options.pageType !== 'add'){ |
|
|
await this.getMemberInfo(idCard) |
|
|
await this.getMemberInfo(options.idCard) |
|
|
}else{ |
|
|
}else{ |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
'fmData.unitId':options.id |
|
|
'fmData.unitId':options.id |
|
@ -61,7 +63,8 @@ Page({ |
|
|
if(res.msg === 'success' && res.code === 0){ |
|
|
if(res.msg === 'success' && res.code === 0){ |
|
|
if (res.data) { |
|
|
if (res.data) { |
|
|
this.setData({ |
|
|
this.setData({ |
|
|
'fmData':res.data, |
|
|
'fmData': res.data, |
|
|
|
|
|
'fmData.unitId': this.data.unitId |
|
|
}) |
|
|
}) |
|
|
if (idCard) { |
|
|
if (idCard) { |
|
|
this.handleValidBlur('',idCard) |
|
|
this.handleValidBlur('',idCard) |
|
|