wuxw
2019-04-28 2633f776bb8fdb0b1efe3a56293b6a1bb04616a7
WebService/src/main/resources/components/enter-community/enterCommunity.js
@@ -12,7 +12,9 @@
            vc.component.listMyCommunity();
        },
        _initEvent:function(){
            vc.on('enterCommunity','listMyCommunity',function(_param){
                  vc.component.listMyCommunity();
            });
        },
        methods:{
            listMyCommunity:function(){
@@ -33,11 +35,22 @@
                             }
                           );
            },
            openEnterCommunity:function(){
            _openEnterCommunityModal:function(){
                vc.emit('storeEnterCommunity','openStoreEnterCommunity',{});
            },
            _openDeleteStaffPrivilegeModel:function(_community){
            _openExitCommunityModel:function(_community){
                vc.emit('storeExitCommunity','openStoreExitCommunityModal',_community);
            },
            _showCommunityStatus(_statusCd){
                if(_statusCd == '1000'){
                    return "入驻审核";
                }else if(_statusCd == '1001'){
                    return "退出审核";
                }else if(_statusCd == '0000'){
                    return "入驻成功";
                }
                return "未知";
            }
        }
    });