<view>
  <view class="{{popupCx}}">
    <view class="flex-box-ce header tab">
      <view class="flex-1 flex-box-ce flex-center-center">
        <picker onChange="activeItem" value="{{employee_index}}" range="{{employee_list}}" range-key="name">
          <text >{{employee_list[employee_index].name}}</text>
        </picker>
      </view>
      <!--<view class="flex-1" catchTap="selectStaff"><text class="{{showStaff? 'activeView blue':''}}">{{staffVal}}</text></view> -->
      <view class="flex-1" catchTap="selectTissue">
        <text class="{{showTissue? 'activeView blue':''}}">{{TissueVal}}</text>
      </view>
      <view class="flex-1 flex-box-ce flex-center-center">
        <picker onChange="activeItem2" value="{{minuteIndex}}" range="{{minuteArray}}" range-key="text">
          <text >{{minuteArray[minuteIndex].text}}</text>
        </picker>
      </view>
    </view>
    <scroll-view style="header:100vh" scroll-y="{{true}}" a:if="{{list.length>0}}" onScrollToLower="onScrollToLower">
      <view a:for="{{list}}" class="flex-box-ce item"  onTap="openDetail" data-item="{{item}}">
        <img-box id="{{item.userInfo.id}}" name="{{item.userInfo.name}}" height="70rpx" width="70rpx" fSize="24rpx"></img-box>
        <view class="flex-1" style="margin-left:0.2rem">
          <view class="flex-1" style="font-size:0.32rem;">{{item.userInfo.name}}</view>
          <view class="fontColorX font-flex-word" style="font-size: 0.28rem;width: 4.5rem;padding:0.1rem 0" a:if="{{item.dept_list.length>0}}">
            <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>
          </view>
          <view class="fontColorX" a:if="{{!item.relevance_group.delete_time}}">{{ item.relevance_group.name }}</view>
          <view class="red" a:else>该考评组已被删除</view>
        </view>
        <view class="orangeBox">{{item.str}}</view>
      </view>
      <view class="noDatas" a:if="{{isData}}">没有更多咯</view>
    </scroll-view>
    <no-data a:if="{{list.length==0}}"></no-data>
  </view>
  <select-section defaultSection="{{dept_id}}" a:if="{{showTissue==true}}" isShow="{{showTissue}}" onClose="onClose" onConfirm="onConfirmTissue"></select-section>
  <select-staff defaultUser="{{employee_ids}}" isShow="{{showStaff}}" a:if="{{showStaff==true}}" onClose="onClose" onConfirm="onConfirmStaff"></select-staff>
</view>