dailyreport.html 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <ion-view view-title="考勤统计" ng-init="init()">
  2. <ion-content>
  3. <div class="list">
  4. <div class="item item-divider"></div>
  5. <div class="workatd-setting-item">
  6. <div ng-repeat="item in settings">
  7. <div>
  8. <a class="item item-icon-right" href="#/workatd-dailyreport1/{{item.id}}">
  9. <span ng-if="item.isallcheck == 1">全员考勤</span>
  10. <span ng-if="item.isallcheck == 0" ng-repeat="dept in item.workatddept">{{dept.dept__depname}}{{$last ? '' : '、'}}</span>
  11. <i class="icon ion-chevron-right icon-accessory"></i>
  12. </a>
  13. <a class="item" href="#/workatd-dailyreport1/{{item.id}}">
  14. <div class="date1" ng-if="item.ischeckmonday == 1 && item.ischecktuesday == 1 && item.ischeckwednesday == 1
  15. && item.ischeckthursday == 1 && item.ischeckfriday == 1 && item.ischecksaturday == 0 && item.ischecksunday == 0">工作日
  16. </div>
  17. <div class="date1" ng-if="!(item.ischeckmonday == 1 && item.ischecktuesday == 1 && item.ischeckwednesday == 1
  18. && item.ischeckthursday == 1 && item.ischeckfriday == 1 && item.ischecksaturday == 0 && item.ischecksunday == 0)">
  19. 每周
  20. <span ng-if="item.ischeckmonday == 1">一 </span>
  21. <span ng-if="item.ischecktuesday == 1">二 </span>
  22. <span ng-if="item.ischeckwednesday == 1">三 </span>
  23. <span ng-if="item.ischeckthursday == 1">四 </span>
  24. <span ng-if="item.ischeckfriday == 1">五 </span>
  25. <span ng-if="item.ischecksaturday == 1">六 </span>
  26. <span ng-if="item.ischecksunday == 1">日</span>
  27. </div>
  28. <div class="date2">
  29. <span ng-if="item.am_ontime">上午上班: {{item.am_ontime | strtimeformat:item.am_ontime}}</span>
  30. <span ng-if="item.am_offtime">上午下班: {{item.am_offtime | strtimeformat:item.am_offtime}}</span>
  31. </div>
  32. <div class="date2">
  33. <span ng-if="item.pm_ontime">下午上班: {{item.pm_ontime | strtimeformat:item.pm_ontime}}</span>
  34. <span ng-if="item.pm_offtime">下午下班: {{item.pm_offtime | strtimeformat:item.pm_offtime}}</span>
  35. </div>
  36. </a>
  37. <a class="item" ng-if="item.workatdcustomdate.length > 0">
  38. 自定义时间
  39. </a>
  40. </div>
  41. </div>
  42. </div>
  43. </div>
  44. </ion-content>
  45. <div class="bar bar-footer footer" ng-click="tohistory()">
  46. <div class="title calm">我的考勤历史</div>
  47. </div>
  48. </ion-view>