statistics.wxml 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. <!-- statistics.wxml -->
  2. <view class="mycontainer" style="padding:0rpx;">
  3. <view class="picker-item">
  4. <view class="my-row my-align-c">
  5. <image src="/images/data-icon.png" class="icon"></image>
  6. <view class="desc-t">开始日期</view>
  7. </view>
  8. <view class="my-row my-align-c">
  9. <picker mode="date" value="{{startDate}}" start="2000-01-01" end="2099-12-31" bindchange="bindStartDateChange">
  10. <view class="desc-t">
  11. {{startDate}}
  12. </view>
  13. </picker>
  14. <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
  15. </view>
  16. </view>
  17. <view class="picker-item">
  18. <view class="my-row my-align-c">
  19. <image src="/images/data-icon.png" class="icon"></image>
  20. <view class="desc-t">结束日期</view>
  21. </view>
  22. <view class="my-row my-align-c">
  23. <picker mode="date" value="{{endDate}}" start="2000-01-01" end="2099-12-31" bindchange="bindendDateChange">
  24. <view class="desc-t">
  25. {{endDate}}
  26. </view>
  27. </picker>
  28. <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
  29. </view>
  30. </view>
  31. <view class="picker-item">
  32. <view class="my-row my-align-c">
  33. <image src="/images/query.png" class="icon"></image>
  34. <view class="desc-t">查询范围</view>
  35. </view>
  36. <view class="my-row my-align-c">
  37. <picker value="{{value}}" mode='multiSelector' range="{{userArray}}" bindchange="bindUserChange" bindcolumnchange='columnChange'>
  38. <view class="desc-t">
  39. {{userArray[0][value[0]]}}{{userArray[1][value[1]]}}
  40. </view>
  41. </picker>
  42. <image src="/images/jiantou-bottom.png" class="icon-bottom"></image>
  43. </view>
  44. </view>
  45. <view class="titlebar">
  46. 考勤统计
  47. </view>
  48. <view class="canvas-item">
  49. <canvas canvas-id="ringCanvas" class="canvas" bindtouchstart="touchHandler"></canvas>
  50. <view class="charts-right">
  51. <view class="charts-line">
  52. <view class="charts-icon1 charts-icon"></view>
  53. <view class="charts-data">全员人数{{totalInfo.total}}人</view>
  54. </view>
  55. <view class="charts-line" wx:if='{{totalInfo.unAccessCount!=0}}'>
  56. <view class="charts-icon2 charts-icon"></view>
  57. <view class="charts-data">无进出记录人员{{totalInfo.unAccessCountP}}%</view>
  58. </view>
  59. <view class="charts-line" wx:if='{{totalInfo.out!=0}}'>
  60. <view class="charts-icon3 charts-icon"></view>
  61. <view class="charts-data">已出宿舍人员{{totalInfo.outP}}%</view>
  62. </view>
  63. <view class="charts-line" wx:if='{{totalInfo.in!=0}}'>
  64. <view class="charts-icon4 charts-icon"></view>
  65. <view class="charts-data">已归宿舍人员{{totalInfo.inP}}%</view>
  66. </view>
  67. <view class="charts-line" wx:if='{{totalInfo.laterIn!=0}}'>
  68. <view class="charts-icon5 charts-icon"></view>
  69. <view class="charts-data">晚归宿舍人员{{totalInfo.laterInP}}%</view>
  70. </view>
  71. <view class="charts-line" wx:if='{{totalInfo.unIn!=0}}'>
  72. <view class="charts-icon6 charts-icon"></view>
  73. <view class="charts-data">未归宿舍人员{{totalInfo.unInP}}%</view>
  74. </view>
  75. <view class="charts-line" wx:if='{{totalInfo.unOut!=0}}'>
  76. <view class="charts-icon7 charts-icon"></view>
  77. <view class="charts-data">未出宿舍人员{{totalInfo.unOutP}}%</view>
  78. </view>
  79. </view>
  80. <view class="bottom">
  81. <view class="my-column my-align-c">
  82. <view class="bottom-bigback1 item" bindtap="qiehuan" data-type="1">{{totalInfo.unAccessCount}}</view>
  83. <view class="desc">无进出记录人员</view>
  84. </view>
  85. <view class="my-column my-align-c">
  86. <view class="bottom-bigback2 item" bindtap="qiehuan" data-type="2" data-state="1">{{totalInfo.out}}</view>
  87. <view class="desc">已出宿舍人员</view>
  88. </view>
  89. <view class="my-column my-align-c">
  90. <view class="bottom-bigback3 item" bindtap="qiehuan" data-type="3" data-state="0">{{totalInfo.in}}</view>
  91. <view class="desc">已归宿舍人员</view>
  92. </view>
  93. </view>
  94. <view class="bottom" style="margin-top:30rpx;margin-bottom:30rpx;">
  95. <view class="my-column my-align-c">
  96. <view class="bottom-bigback4 item" bindtap="qiehuan" data-type="4">{{totalInfo.laterIn}}</view>
  97. <view class="desc">晚归宿舍人员</view>
  98. </view>
  99. <view class="my-column my-align-c">
  100. <view class="bottom-bigback5 item" bindtap="qiehuan" data-type="5">{{totalInfo.unIn}}</view>
  101. <view class="desc">未归宿舍人员</view>
  102. </view>
  103. <view class="my-column my-align-c">
  104. <view class="bottom-bigback6 item" bindtap="qiehuan" data-type="6">{{totalInfo.unOut}}</view>
  105. <view class="desc">未出宿舍人员</view>
  106. </view>
  107. </view>
  108. </view>
  109. <view class="titlebar">
  110. {{listTitle}}
  111. </view>
  112. <view class="weigui">
  113. <view class="title-item">
  114. <view class="name">姓名</view>
  115. <view class="name">楼栋</view>
  116. <view class="name">宿舍</view>
  117. <view class="name">次数</view>
  118. <view class="name">时间</view>
  119. </view>
  120. <block wx:for='{{list}}'>
  121. <view class="item">
  122. <view class="name">{{item.userName}}</view>
  123. <view class="name">{{item.storeyTitle}}</view>
  124. <view class="name">{{item.roomTitle}}</view>
  125. <view class="name">1</view>
  126. <view class="name">{{item.createDate}}</view>
  127. </view>
  128. </block>
  129. </view>
  130. </view>