<ion-view view-title="公司" hide-back-button="true">
    <ion-nav-buttons side="left">
        <button class="button ion-chevron-left button-clear button-dark" ng-click="goBack()">&nbsp;返回</button>
    </ion-nav-buttons>
    <ion-content class="account-back-color">
        <div class="item item-divider"></div>
        <a class="item item-icon-left item-icon-right current-account item-text-wrap" ng-click="showcomplist()" ng-if="is_showcurrent">
            <i class="icon icon ion-android-globe placeholder-icon"></i>{{'currentcompTitle' | translate}}
            <p class="item-text-wrap">{{currentcomp.name}}(代号:{{currentcomp.id}})</p>
            <i class="icon cirl-i" ng-class="{true:'ion-ios-arrow-up',false:'ion-ios-arrow-down'}[show.isshow]"></i>
        </a>
        <ul class="list comp-list" ng-if="show.isshow" ng-class="{true:'hidden-item',false:''}[headerion.rightion]">
            <li class="item-sort" ng-repeat="comp in compdata">
                <div class="account-wrap item-text-wrap">
                    <ion-radio class=" item-radio account-radio over-flow-auto  item-text-wrap" name='right' ng-model="comp.check" ng-value="true" ng-click="change(comp)">
                        {{comp.name}}&nbsp;&nbsp;({{'codeTitle' | translate}}:{{comp.id}})
                    </ion-radio>
                </div>
            </li>
        </ul>
        <a class="item item-icon-left item-icon-right" href="#/managecomp">
            <i class="icon ion-disc placeholder-icon"></i>{{'managecompTitle' | translate}}
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <a class="item item-icon-left item-icon-right" href="#/joincomp">
            <i class="icon ion-plus-circled placeholder-icon"></i>{{'joinnewcompTitle'| translate }}
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <div class="item item-divider"></div>
        <a class="item item-icon-left item-icon-right" href="#/personinfo">
            <i class="icon ion-person placeholder-icon"></i>我的个人信息
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <!--<a class="item item-icon-left item-icon-right" href="#/account-manage">
            <i class="icon ion-ios-locked placeholder-icon"></i>{{'accesscontrolTitle'| translate }} 
            <p>比如 成员管理权限、考勤管理权限...</p>
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>-->
        <!-- <div class="item item-divider"></div> -->
        <!--<a class="item item-icon-left item-icon-right" href="">
            <i class="icon ion-eye-disabled placeholder-icon"></i>{{'privacysetlTitle'| translate }}
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>
        <a class="item item-icon-left item-icon-right" href="">
            <i class="icon ion-ios-cloud-download placeholder-icon"></i>{{'companydataretrieveTitle'| translate }} 
            <p>比如 离职员工资料信息...</p>
            <i class="icon ion-chevron-right icon-accessory"></i>
        </a>-->
        <!--         <div class="item item-divider"></div>
        <button class="button button-full button-light account-botton">解散公司</button> -->
    </ion-content>
</ion-view>