| | |
| | | (function(vc){ |
| | | |
| | | vc.extends({ |
| | | propTypes: { |
| | | notifyLoadDataComponentName:vc.propTypes.string |
| | | }, |
| | | data:{ |
| | | editOwnerInfo:{ |
| | | ownerId:'', |
| | | memberId:'', |
| | | name:'', |
| | | age:'', |
| | | link:'', |
| | |
| | | return ; |
| | | } |
| | | |
| | | vc.component.editOwnerInfo.errorInfo = ""; |
| | | |
| | | vc.component.editOwnerInfo.communityId = vc.getCurrentCommunity().communityId; |
| | | vc.http.post( |
| | | 'editOwner', |
| | |
| | | //关闭model |
| | | $('#editOwnerModel').modal('hide'); |
| | | vc.component.clearEditOwnerInfo(); |
| | | vc.emit('listOwner','listOwnerData',{}); |
| | | vc.emit($props.notifyLoadDataComponentName,'listOwnerData',{}); |
| | | |
| | | return ; |
| | | } |
| | |
| | | clearEditOwnerInfo:function(){ |
| | | vc.component.editOwnerInfo = { |
| | | ownerId:'', |
| | | memberId:'', |
| | | name:'', |
| | | age:'', |
| | | link:'', |