<view class="sortType mb10" hover-class="none" hover-stop-propagation="false">
  <view class="topMenu bb1 mt10">
    <view class="onMune {{sortType == 0 ? 'active' : ''}}" data-id="0" bindtap="setSortType">
      <view class="pr dib">
        全部成员
        <view class="menuBorder"></view>
      </view>
    </view>
    <view class="onMune {{sortType == 1 ? 'active' : ''}}" data-id="1" bindtap="setSortType">
      <view class="pr dib">
        团队排序
        <view class="menuBorder"></view>
      </view>
    </view>
  </view>
  <view class="groupSort" wx:if="{{sortType == 1}}" hover-class="none" hover-stop-propagation="false">
    <mp-tabs tabs="{{groupDataList}}" activeTab="{{activeTab}}" swiperClass bindtabclick="onTabClick" bindchange="onChange" activeClass="activelist"></mp-tabs>
  </view>
</view>
<view class="fsa dateSet mb10 p010" hover-class="none" hover-stop-propagation="false">
  <view class="fsa ml6" hover-class="none" hover-stop-propagation="false">
    <view class="mr20 {{dateVal == '6'? 'ysd-base-color':'c6'}}" hover-class="none" catchtap="setOuterDate" data-type="6" hover-stop-propagation="false">今日</view>
    <view class="mr20 {{dateVal == '2'? 'ysd-base-color':'c6'}}" hover-class="none" catchtap="setOuterDate" data-type="2" hover-stop-propagation="false">本周</view>
    <view class="mr20 {{dateVal == '4'? 'ysd-base-color':'c6'}}" hover-class="none" catchtap="setOuterDate" data-type="4" hover-stop-propagation="false">本月</view>
    <view class="choice_more c6" bindtap="showDropdown" hover-class="none" hover-stop-propagation="false">
      <view class="{{dateType? 'ysd-base-color':''}}" hover-class="none" hover-stop-propagation="false">{{dateType || '更多'}}</view>
      <view class="dropdown_box" catchtouchmove="modalMove" wx:if="{{dropdownShow}}" hover-class="none" hover-stop-propagation="false">
        <view class="dropdown_mask" catchtap="hideDropdown"></view>
        <view class="por dropdown" style="z-index:999" hover-class="none" catchtap hover-stop-propagation="false">
          <span class="sanjiao"></span>
          <view class="bb1 {{dateType == item.name ? 'ysd-base-color':''}}" wx:for="{{dateList}}" hover-class="ysd-base-color" catchtap="setDate" data-type="{{item.value}}" hover-stop-propagation="false">{{item.name}}</view>
        </view>
      </view>
    </view>
  </view>
  <view class="por" bindtap="showDefinedDropdown" hover-class="none" hover-stop-propagation="false">
    <view class="user_defined {{!notCustom ?'set_f40':'' }}" hover-class="none" hover-stop-propagation="false">自定义</view>
    <view class="dropdown_box" catchtouchmove="modalMove" wx:if="{{definedDropdownShow}}" hover-class="none" hover-stop-propagation="false">
      <view class="dropdown_mask" catchtap="hideDefinedDropdown"></view>
      <view class="por dropdown pl12 pr12 bsb" style="z-index:999;right:0px;width: calc(100vw - 20px);" hover-class="none" catchtap hover-stop-propagation="false">
        <span class="sanjiao"></span>
        <view class="fsa dateSelect" hover-class="none" hover-stop-propagation="false">
          <view class="beforeDate f16 fsa">
            <picker mode="date" value="{{currentTime}}" data-type="start" end="{{endTime}}" bindchange="changeDateTime" style="color:#333">{{!!currentTime?currentTime:'----'}}</picker>
            <i class="iconfont icon-rili f16 ml10 dib pr c9" style="line-height:1;"></i>
          </view>-
          <view class="afterDate fsa">
            <picker mode="date" value="{{currentTime2}}" data-type="end" end="{{endTime}}" bindchange="changeDateTime" style="color:#333">{{!!currentTime2?currentTime2:'----'}}</picker>
            <i class="iconfont icon-rili f16 ml10 dib pr c9" style="line-height:1;"></i>
          </view>
        </view>
      </view>
    </view>
  </view>
</view>
<view class="content m010">
  <view class="dateSelect bb1 pb12 pt12 dn">
    <view class="beforeDate f16">
      <picker mode="date" value="{{currentTime}}" data-type="start" end="{{endTime}}" bindchange="changeDateTime" style="color:#333">{{!!currentTime?currentTime:'----'}}</picker>
      <i class="iconfont icon-rili f16 ml10 dib pr c9" style="line-height:1;"></i>
    </view>-
    <view class="afterDate">
      <picker mode="date" value="{{currentTime2}}" data-type="end" end="{{endTime}}" bindchange="changeDateTime" style="color:#333">{{!!currentTime2?currentTime2:'----'}}</picker>
      <i class="iconfont icon-rili f16 ml10 dib pr c9" style="line-height:1;"></i>
    </view>
  </view>
  <view class="dataList" wx:if="{{dataList.length > 0}}">
    <view class>
      <view class="tableTitle">
        <view class="show_all ml16" style="width:100px">姓名</view>
        <view class>报名</view>
        <view class>到面</view>
        <view class>通过</view>
        <view class>入职</view>
        <view class="before_L nr">
          在职
          <i class="iconfont icon-zhuyi f14" bindtap="showToast"></i>
        </view>
      </view>
      <view class="tableContent">
        <!-- <view class="" wx:for="{{dataList}}" wx:for-item="firstitem" wx:for-index="firstindex" hover-class="none" hover-stop-propagation="false"> -->
        <!-- <view class="tableSub fw500 fsa" hover-class="none" bindtap='triggerGroup' data-type="{{firstindex}}" hover-stop-propagation="false">
            <view class="fsa" hover-class="none" hover-stop-propagation="false">
              <view class="iconfont icon-zhankai1 f8 c9 mr4 {{firstitem.checked == true ? 'no_rotate':'rotate'}}"></view>分组{{ firstindex + 1}}
            </view>
            <view class>{{firstitem.signUps}}</view>
            <view class>{{firstitem.arrived}}</view>
            <view class>{{firstitem.passed}}</view>
            <view class>{{firstitem.entry}}</view>
            <view class>{{firstitem.obJob}}</view>
        </view>-->
        <!-- class="{{firstitem.checked == true ? 'show' : 'hide'}}" -->
        <view hover-class="none" hover-stop-propagation="false">
          <!-- {{firstitem['checked'] == true ? 'show' : 'hide'}} -->
          <view class="tableSub" wx:for="{{dataList}}" wx:if="{{index != 'checked'}}">
            <view class="tal show_all" style>{{(index*1 + 1 + ' ')}}{{ item.aliasName || item.agencyTeamName}}</view>
            <view class="dataNum" hover-class="thover" bindtap="toDataDetail" data-info="{{item}}" data-type="{{10}}">{{item.signUps}}</view>
            <view class="dataNum" hover-class="thover" bindtap="toDataDetail" data-info="{{item}}" data-type="{{20}}">{{item.arrived}}</view>
            <view class="dataNum" hover-class="thover" bindtap="toDataDetail" data-info="{{item}}" data-type="{{30}}">{{item.passed}}</view>
            <view class="dataNum" hover-class="thover" bindtap="toDataDetail" data-info="{{item}}" data-type="{{40}}">{{item.entry}}</view>
            <view class="dataNum" hover-class="thover" bindtap="toDataDetail" data-info="{{item}}" data-type="{{50}}">{{item.obJob}}</view>
          </view>
        </view>
        <!-- </view> -->

        <view class="tableSub fw500">
          <view class="tal show_all pl12" style="width:120px;box-sizing:border-box">总计</view>
          <view class>{{totalObj.signUps}}</view>
          <view class>{{totalObj.arrived}}</view>
          <view class>{{totalObj.passed}}</view>
          <view class>{{totalObj.entry}}</view>
          <view class>{{totalObj.obJob}}</view>
        </view>
      </view>
    </view>
  </view>
  <view class wx:if="{{dataList.length == 0 && !isLoading}}" hover-class="none" hover-stop-propagation="false">
    <view style="margin-top:128px;margin-bottom:32px">
      <view class="center">
        <icon class="t-icon cccc t-icon-zanwu" style="width:86px;height:86px;margin-bottom:20px;margin-top:30px"></icon>
        <view class="f16 cccc">暂无记录</view>
      </view>
    </view>
  </view>
</view>
