| | |
| | | // }); |
| | | // }, |
| | | listNoEnterCommunity:function(){ |
| | | vc.loading('open'); |
| | | var param = { |
| | | params:{ |
| | | communityName:vc.component.storeEnterCommunityInfo.searchCommunityName |
| | |
| | | param, |
| | | function(json,res){ |
| | | vc.component.storeEnterCommunityInfo.communityInfo=JSON.parse(json); |
| | | vc.loading('close'); |
| | | },function(errInfo,error){ |
| | | console.log('请求失败处理'); |
| | | vc.loading('close'); |
| | | } |
| | | ); |
| | | }, |
| | |
| | | }, |
| | | function(json,res){ |
| | | if(res.status == 200){ |
| | | vc.jumpToPage("/flow/login"); |
| | | vc.emit('enterCommunity','listMyCommunity',{ |
| | | }); |
| | | $('#storeEnterCommunityModel').modal('hide'); |
| | | |
| | | return ; |
| | | } |
| | | vc.component.storeEnterCommunityInfo.errorInfo = json; |
| | | },function(errInfo,error){ |
| | | console.log('请求失败处理'); |
| | | vc.component.storeEnterCommunityInfo.errorInfo = json; |
| | | |
| | | } |
| | | ); |
| | | |