<div class="row rt-margin-bottom-before-box">
    <div class="col-sm-8">
    </div>
    <div class="col-sm-4">
    </div>
</div>
<div class="box box-primary" style="width: 20%;float:left;">
    <div class="btn-group" style="padding:10px;">
        <button class="btn btn-link" ng-click="vm.actions.new('core/businessunit/businessUnitEditView.html', 'businessUnitEditController')"
            ng-show="vm.privilege.IsCreate">新建
        </button>
        <button class="btn btn-link" ng-click="vm.actions.edit(mytree.currentNode.Id, 'core/businessunit/businessUnitEditView.html', 'businessUnitEditController')"
            ng-show="vm.privilege.IsWrite" ng-disabled="!mytree.currentNode.BusinessUnitDepthMask"> 编辑
        </button>
        <button class="btn btn-link" ng-click="vm.actions.showForm(mytree.currentNode.Id, 'Module/territoryBusinessVersion/territoryBusinessVersionEditView.html', 'territoryBusinessVersionEditController')"
            ng-show="vm.privilege.IsWrite" ng-disabled="!mytree.currentNode.BusinessUnitDepthMask"> 月度历史版本
        </button>
    </div>
    <div class="box-header" style="cursor: move;">
        <div class="pull-left">
            <div class="btn-group">
                <button class="btn btn-default dropdown-toggle" id="dropdownMenuViewSelect" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
                    {{vm.view.selectedView.ViewName}}
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" aria-labelledby="dropdownMenuViewSelect">
                    <li ng-repeat="view in vm.view.list track by view.Id" ng-click="vm.view.select(view)">
                        <a href="javascript:void(0)">{{view.ViewName}}</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
    <div class="nav-tabs-custom">
         <div class="col-sm-3" style="max-height:{{vm.view.autoHeight*0.73}}px; width:100%; overflow:auto;float: left;padding-right: 10px;padding-bottom: 15px;" data-angular-treeview="true" data-tree-id="mytree"
            data-tree-model="roleList" data-node-id="Id" data-node-label="Name" data-node-children="Children" data-node-parent-id="ParentId">
        </div>
    </div>
</div>
<div class="col-sm-8" style="width: 80%;float: right;" ui-view></div>

<!-- </div> -->