<ion-view view-title="考勤历史" ng-init="getdatelist()">
    <ion-content style="overflow:auto;">
        <div class="list">
            <div ng-repeat="dateitem in datelist">
                <a class="item text-center divider-font calm" ng-if="dateitem.month!=currentmonth" href="#/monthcount/{{dateitem.year}}/{{dateitem.month}}">{{dateitem.year}}年{{dateitem.month}}月考勤统计报表</a>
                <!--<a class="item text-center divider-font calm" href="#/monthcount/{{dateitem.year}}/{{dateitem.month}}">{{dateitem.year}}年{{dateitem.month}}月考勤统计报表</a>-->
                <a class="item item-icon-right" href="#/workatd-dailyreport2/{{workatdsetid}}/{{item.check_dd|date:'yyyy-M-d'}}" ng-repeat="item in dateitem.items">
                    <span>{{item.date}} | {{item.daystr}}</span>
                    <i class="icon ion-chevron-right icon-accessory"></i>
                </a>
            </div>
        </div>
        <ion-infinite-scroll spinner="android" ng-if="nexturl!=null" on-infinite="loadMore()" distance="1%" immediate-check="false">
        </ion-infinite-scroll>
        <h4 class="stable center" ng-show="datelist&&nexturl== null&&datelist_old.length>=10">没有更多了</h4>
    </ion-content>
</ion-view>
