吴学文
2019-04-18 4348c321dfe200e4cdc430b1dc5b1caef4991261
WebService/src/main/resources/components/store-exit-community/storeExitCommunity.js
File was renamed from WebService/src/main/resources/components/store_exit_community/storeExitCommunity.js
@@ -2,7 +2,8 @@
    vc.extends({
        data:{
            storeExitCommunityInfo:{
                communityInfo:{}
                communityInfo:{},
                errorInfo:''
            }
        },
        _initEvent:function(){
@@ -28,18 +29,19 @@
                        //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);