workList.axml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <view>
  2. <view class="{{popupCx}}">
  3. <view class="flex-box-ce header tab">
  4. <view class="flex-1 flex-box-ce flex-center-center">
  5. <picker onChange="activeItem" value="{{employee_index}}" range="{{employee_list}}" range-key="name">
  6. <text >{{employee_list[employee_index].name}}</text>
  7. </picker>
  8. </view>
  9. <!--<view class="flex-1" catchTap="selectStaff"><text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text></view> -->
  10. <view class="flex-1" catchTap="selectTissue">
  11. <text class="{{showTissue? 'activeView blue':''}}">{{TissueVal}}</text>
  12. </view>
  13. <view class="flex-1 flex-box-ce flex-center-center">
  14. <picker onChange="activeItem2" value="{{minuteIndex}}" range="{{minuteArray}}" range-key="text">
  15. <text >{{minuteArray[minuteIndex].text}}</text>
  16. </picker>
  17. </view>
  18. </view>
  19. <scroll-view style="header:100vh" scroll-y="{{true}}" a:if="{{list.length>0}}" onScrollToLower="onScrollToLower">
  20. <view a:for="{{list}}" class="flex-box-ce item" onTap="openDetail" data-item="{{item}}">
  21. <img-box id="{{item.userInfo.id}}" name="{{item.userInfo.name}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
  22. <view class="flex-1" style="margin-left:0.2rem">
  23. <view class="flex-1" style="font-size:0.32rem;">{{item.userInfo.name}}</view>
  24. <view class="fontColorB font-flex-word" style="font-size: 0.28rem;width: 4.5rem;padding:0.1rem 0" a:if="{{item.dept_list.length>0}}">
  25. <text a:for="{{item.dept_list}}" a:for-item="item2" a:for-index="index2">{{ item2.name }}<text a:if="{{item.dept_list.length - index2 > 1}}">,</text></text>
  26. </view>
  27. <view class="fontColorB" a:if="{{!item.relevance_group.delete_time}}">{{ item.relevance_group.name }}</view>
  28. <view class="red" a:else>该考评组已被删除</view>
  29. </view>
  30. <view class="orangeBox">{{item.str}}</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. <select-section defaultSection="{{dept_id}}" a:if="{{showTissue==true}}" isShow="{{showTissue}}" onClose="onClose" onConfirm="onConfirmTissue"></select-section>
  37. <select-staff defaultUser="{{employee_ids}}" isShow="{{showStaff}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
  38. </view>