personhistory.html 1.1 KB

1234567891011121314151617
  1. <ion-view view-title="我的考勤历史" ng-init="getdatelist()">
  2. <ion-content>
  3. <div class="none-content center" ng-if="datelist.length==0">历史记录为空!</div>
  4. <div class="list">
  5. <div ng-repeat="dateitem in datelist">
  6. <a class="item text-center divider-font calm" ng-if="dateitem.month!=currentmonth" href="#/person-monthcount/{{dateitem.year}}/{{dateitem.month}}">{{dateitem.year}}年{{dateitem.month}}月考勤统计报表</a>
  7. <a class="item item-icon-right" href="#/checkindetail/{{item.check_dd|date:'yyyy-M-d'}}" ng-repeat="item in dateitem.items">
  8. <span>{{item.date}} | {{item.daystr}}</span>
  9. <i class="icon ion-chevron-right icon-accessory"></i>
  10. </a>
  11. </div>
  12. </div>
  13. <ion-infinite-scroll spinner="android" ng-if="nexturl!=null" on-infinite="loadMore()" distance="1%" immediate-check="false">
  14. </ion-infinite-scroll>
  15. <h4 class="stable center" ng-show="datelist&&nexturl== null&&datelist_old.length>=10">没有更多了</h4>
  16. </ion-content>
  17. </ion-view>