task_rank.axml 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <view>
  2. <view class="{{popupCx}}">
  3. <view class="flex-box flex-v-ce tab">
  4. <view class="flex-1" catchTap="selectDate">
  5. <text class="{{showDate? 'activeView blue':''}}">{{selectDateVal}}</text>
  6. </view>
  7. <view class="flex-1" catchTap="selectTissue">
  8. <text class="{{showTissue? 'activeView blue':''}}">{{TissueVal}}</text>
  9. </view>
  10. <view class="flex-1">
  11. <picker onChange="bingIntegralType" value="{{typesIndex}}" range="{{types}}" range-key="name">
  12. <text a:if="{{types[typesIndex].name=='全部'}}">积分类型</text>
  13. <text a:else>{{types[typesIndex].name}}</text>
  14. </picker>
  15. </view>
  16. <!-- <view class="flex-1" catchTap="selectRule">
  17. <text class="{{showRuleTwo? 'activeView blue':''}}">{{ruleVal}}</text>
  18. </view> -->
  19. <!-- <view class="flex-1" catchTap="selectSx">
  20. <text class="{{showSx? 'activeView blue':''}}">{{sxVal}}</text>
  21. </view> -->
  22. </view>
  23. <view class="fontColorB" style="font-size:28rpx;padding:10rpx 28rpx;">排名不包含初始分和工龄分</view>
  24. <view class="main scroll">
  25. <scroll-view class="scroll" scroll-y="{{true}}" a:if="{{list.length>0}}" onScrollToLower="onScrollToLower">
  26. <view a:for="{{list}}" data-item="{{item}}" class="flex-box flex-v-ce item border-bottom" key="{{item.id}}">
  27. <view a:if="{{item.rank==1}}" class="index">
  28. <image mode="scaleToFill" src="../../../image/1.png"></image>
  29. </view>
  30. <view a:elif="{{item.rank==2}}" class="index">
  31. <image mode="scaleToFill" src="../../../image/2.png"></image>
  32. </view>
  33. <view a:elif="{{item.rank==3}}" class="index">
  34. <image mode="scaleToFill" src="../../../image/3.png"></image>
  35. </view>
  36. <view a:else class="index">{{item.rank}}</view>
  37. <view class="flex-1 flex-box flex-v-ce">
  38. <img-box name="{{item.employee_name}}" key="{{item.id}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx" fSize="24rpx"></img-box>
  39. <view class="users">
  40. <view class="name">{{item.employee_name}}</view>
  41. <view class="name flex-box dept_name">
  42. <text class="" a:for="{{item.dept_list}}" a:for-index="idx" a:for-item="e">{{e.dept_name}}</text>
  43. </view>
  44. </view>
  45. </view>
  46. <view class="blue" style="margin-right:28rpx;">{{item.point}}</view>
  47. </view>
  48. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  49. </scroll-view>
  50. <no-data a:if="{{list.length==0}}"></no-data>
  51. </view>
  52. </view>
  53. <select-section defaultSection="{{dept_id}}" a:if="{{showTissue==true}}" isShow="{{showTissue}}" onClose="onClose" onConfirm="onConfirmTissue"></select-section>
  54. <select-sx defaultSx="{{sxObj}}" a:if="{{showSx==true}}" isShow="{{showSx}}" onClose="onClose" onConfirm="onConfirmSx"></select-sx>
  55. <select-date dateObj="{{dateObj}}" a:if="{{showDate==true}}" isShow="{{showDate}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
  56. <select-rule-two defaultSection="{{rule_id}}" a:if="{{showRuleTwo==true}}" isShow="{{showRuleTwo}}" onClose="onClose" onConfirm="onConfirmRule"></select-rule-two>
  57. </view>