<div class="listview">
    <div class="row">
        <div class="col-sm-1">
            <rt-button id="btnClose" rt-style="link" rt-title="关闭" rt-icon="times" ng-click="vm.action.close()"></rt-button>
        </div>
        <div class="col-sm-offset-3 col-sm-8 text-right">
            <rt-button id="btnConfirm" rt-style="link" rt-title="确认" rt-icon="check" ng-click="vm.action.assign($event)"></rt-button>
        </div>
    </div>

    <div class="panel panel-default">
        <div class="panel-body">
            <h5>分派{{ vm.data.entityName }}记录</h5>
            <div>
                <span>您已选择了 {{vm.data.rowCount}} 条{{ vm.data.entityName }}记录。要将它们分派给谁？</span>
            </div>
            <div class="radio">
                <label>
                    <input type="radio" name="optionsRadios" id="optionsRadios1" ng-model="vm.data.assignTo" value="me" checked>
                    将选定的记录分派给您自己
                </label>
            </div>
            <div class="radio">
                <label>
                    <input type="radio" name="optionsRadios" id="optionsRadios2" ng-model="vm.data.assignTo" value="other">
                    将选定的记录分派给以下用户
                </label>
            </div>

            <rt-lookup2 rt-title="负责人"
                        ng-model="vm.data.OwnerId"
                        rt-get-data-name="UserInfo.GetUserLookup"
                        rt-order-by="tblsystemuser.UserName asc"
                        rt-col-list="[{Code:'username',Name:'名称'},{Code:'usercode',Name:'编码'},{Code:'tblbusinessunitidname',Name:'归属'}]"
                        rt-col="10"></rt-lookup2>

        </div>
    </div>
</div>