|
@@ -2,7 +2,8 @@
|
|
|
vc.extends({
|
|
vc.extends({
|
|
|
data:{
|
|
data:{
|
|
|
storeExitCommunityInfo:{
|
|
storeExitCommunityInfo:{
|
|
|
- communityInfo:{}
|
|
|
|
|
|
|
+ communityInfo:{},
|
|
|
|
|
+ errorInfo:''
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
_initEvent:function(){
|
|
_initEvent:function(){
|
|
@@ -28,18 +29,19 @@
|
|
|
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
|
|
//vm.menus = vm.refreshMenuActive(JSON.parse(json),0);
|
|
|
if(res.status == 200){
|
|
if(res.status == 200){
|
|
|
//关闭model
|
|
//关闭model
|
|
|
- $('#deleteStaffModel').modal('hide');
|
|
|
|
|
- vc.component.$emit('deleteStaff_reload_event',{});
|
|
|
|
|
|
|
+ $('#storeExitCommunityModal').modal('hide');
|
|
|
|
|
+ vc.emit('enterCommunity','listMyCommunity',{});
|
|
|
return ;
|
|
return ;
|
|
|
}
|
|
}
|
|
|
- vc.component.deleteStaffInfo.errorInfo = json;
|
|
|
|
|
|
|
+ vc.component.storeExitCommunityInfo.errorInfo = json;
|
|
|
},
|
|
},
|
|
|
function(errInfo,error){
|
|
function(errInfo,error){
|
|
|
console.log('请求失败处理');
|
|
console.log('请求失败处理');
|
|
|
|
|
|
|
|
- vc.component.deleteStaffInfo.errorInfo = errInfo;
|
|
|
|
|
|
|
+ vc.component.storeExitCommunityInfo.errorInfo = errInfo;
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
})(window.vc);
|
|
})(window.vc);
|