<div class="box box-primary">
    <div class="box-header with-border">
        <h3 class="box-title">筛选</h3>
        <div class="box-tools pull-right">
            <button type="button" class="btn btn-box-tool" data-widget="collapse"><i class="fa fa-minus"></i>
                </button>
        </div>
    </div>
    <form class="form-horizontal">
        <div class="box-body">
            <div class="form-group">
                <rt-datetime ng-model="vm.ym" rt-type="month" rt-title="查询年月" rt-required="true" rt-col="2" rt-label-col="1">
                </rt-datetime>
                <rt-lookup2 rt-title="代表" ng-model="vm.ownerSelected" rt-get-data-name="UserInfo.GetAllUser" rt-order-by="name asc"
                    rt-col-list="[{Code:'name',Name:'姓名'},{Code:'code',Name:'编号'}]" rt-col="2" rt-label-col="1" rt-required="true"></rt-lookup2>
            </div>
        </div>
        <div class="box-footer">
            <div class="btn-group pull-right">
                <button type="button" class="btn btn-primary" ng-click="vm.getReportData()">查询</button>
                <button type="button" class="btn btn-default" ng-click='vm.actions.export({},"SignInLogExport","签到记录")'>导出</button>
                <button type="button" class="btn btn-default" ng-click='vm.print()'>打印预览</button>
            </div>
        </div>
    </form>
</div>

<div class="nav-tabs-custom">
    <div class="tab-content">
        <rt-data-grid rt-page-record-count="vm.recordCount" rt-page-index="vm.pageIndex" rt-page-size="vm.pageSize" rt-get-data="vm.getReportData()" rt-rows="vm.reportData"
              rt-auto-height=" {{tableMaxHeight}}  ">
            <table class="table table-hover">
                <thead>
                    <tr>
                        <th>日期</th>
                        <th>行程足迹</th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="row in vm.reportData.DataList">
                        <td>{{row.signin_date | date:'yyyy-MM-dd'}}</td>
                        <td>{{row.signin_locations}}</td>
                    </tr>
                </tbody>
            </table>
        </rt-data-grid>
    </div>
</div>