integralEventTwo.axml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <view>
  2. <view class="{{popupCx}}">
  3. <view class="flex-box flex-v-ce tab margin-bottom">
  4. <view class="flex-1" catchTap="selectStaff">
  5. <text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text>
  6. </view>
  7. <view class="flex-1">
  8. <picker onChange="bingIntegralType" value="{{typesIndex}}" range="{{types}}" range-key="name">
  9. <text a:if="{{types[typesIndex].name=='全部'}}">事件来源</text>
  10. <text a:else>{{types[typesIndex].name}}</text>
  11. </picker>
  12. </view>
  13. </view>
  14. <!-- <view style="font-size: 0.24rem; padding: 0 0.2rem 0.1rem; color: #888;" a:if="{{str}}">当前权限:{{str}}</view> -->
  15. <view class="main scroll">
  16. <scroll-view class="scroll" a:if="{{list.length>0}}" scroll-y="{{true}}" onScrollToLower="onScrollToLower">
  17. <view class="flex-box li border-bottom" a:for="{{list}}" catchTap="openDetail" data-item="{{item}}" key="{{item.id}}">
  18. <img-box name="{{item.employee_name}}" key="{{item.id}}" imgUrl="{{item.employee_img_url}}" height="80rpx" width="80rpx"
  19. fSize="24rpx"></img-box>
  20. <view class="flex-1 main-right">
  21. <view class="flex-box flex-v-ce">
  22. <view class="name flex-1">{{item.employee_name}}</view>
  23. <view class="red da" a:if="{{item.point>0}}">+{{item.point}}{{item.ptObj.name}}</view>
  24. <view class="green da" a:else>{{item.point}}{{item.ptObj.name}}</view>
  25. </view>
  26. <view class="context" a:if="{{item.remark}}">{{item.remark}}</view>
  27. <view class="flex-box flex-v-ce">
  28. <view class="date flex-1">{{item.event_time}}</view>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
  33. </scroll-view>
  34. <no-data a:if="{{list.length==0}}"></no-data>
  35. </view>
  36. </view>
  37. <select-staff defaultUser="{{employee_ids}}" isAllSelect="{{false}}" isShow="{{showStaff}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
  38. <select-date defaultDate="{{defaultDate}}" isShow="{{showDate}}" a:if="{{showDate==true}}" onClose="onClose" onConfirm="onConfirmDate"></select-date>
  39. <select-rule-two defaultSection="{{rule_id}}" isShow="{{showRuleTwo}}" a:if="{{showRuleTwo==true}}" onClose="onClose" onConfirm="onConfirmRule"></select-rule-two>
  40. </view>