<rt-form id="{{vm.form.name}}" name="{{vm.form.name}}" novalidate>
    <div class="row rt-margin-bottom-before-box">
        <div class="col-sm-2">
            <button class="btn btn-link" type="button" id="btnClose" ng-click="vm.form.hide()">
                        <i class="fa fa-sign-out"></i> 关闭
                    </button>
        </div>
        <div class="col-sm-10">
            <div class="pull-right">
                <rt-button id="btnSave" rt-style="link" rt-title="保存" rt-icon="floppy-o" ng-click="vm.form.save()">
                </rt-button>
            </div>
        </div>
    </div>
    <div class="nav-tabs-custom">
        <div class="tab-content">
            <rt-section rt-title="基本信息">
                <rt-section-row>
                    <rt-lookup2 rt-title="用户名称" rt-disabled="vm.form.data.StateCode.Value == 1" rt-filtered="false" rt-required="true" ng-model="vm.form.data.userinfoId"
                        rt-get-data-name="userinfo.GetAllUserInfo" rt-order-by="name asc" rt-col-list="[{Code:'name',Name:'用户名'}]"
                        rt-col="4"></rt-lookup2>
                </rt-section-row>
            </rt-section>
        </div>
    </div>
</rt-form>