| | |
| | | {{community.cityCode}} |
| | | </td> |
| | | <td> |
| | | {{community.statusCd == 0 ? '在用': '审核中'}} |
| | | {{_showCommunityStatus(community.statusCd)}} |
| | | </td> |
| | | <td class="text-right"> |
| | | <div class="btn-group" v-if="community.statusCd == 0"> |
| | |
| | | }, |
| | | _openExitCommunityModel:function(_community){ |
| | | vc.emit('storeExitCommunity','openStoreExitCommunityModal',_community); |
| | | }, |
| | | _showCommunityStatus(_statusCd){ |
| | | if(_statusCd == '1000'){ |
| | | return "入驻审核"; |
| | | }else if(_statusCd == '1001'){ |
| | | return "退出审核"; |
| | | } |
| | | |
| | | return "在用"; |
| | | } |
| | | } |
| | | }); |
| File was renamed from WebService/src/main/resources/components/store_exit_community/storeExitCommunity.js |
| | |
| | | vc.extends({ |
| | | data:{ |
| | | storeExitCommunityInfo:{ |
| | | communityInfo:{} |
| | | communityInfo:{}, |
| | | errorInfo:'' |
| | | } |
| | | }, |
| | | _initEvent:function(){ |
| | |
| | | //vm.menus = vm.refreshMenuActive(JSON.parse(json),0); |
| | | if(res.status == 200){ |
| | | //关闭model |
| | | $('#deleteStaffModel').modal('hide'); |
| | | vc.component.$emit('deleteStaff_reload_event',{}); |
| | | $('#storeExitCommunityModal').modal('hide'); |
| | | vc.emit('enterCommunity','listMyCommunity',{}); |
| | | return ; |
| | | } |
| | | vc.component.deleteStaffInfo.errorInfo = json; |
| | | vc.component.storeExitCommunityInfo.errorInfo = json; |
| | | }, |
| | | function(errInfo,error){ |
| | | console.log('请求失败处理'); |
| | | |
| | | vc.component.deleteStaffInfo.errorInfo = errInfo; |
| | | vc.component.storeExitCommunityInfo.errorInfo = errInfo; |
| | | }); |
| | | } |
| | | |
| | | } |
| | | }); |
| | | })(window.vc); |