<!-- 部门筛选 -->
<view wx:if="{{isdep}}" class="groud {{exclution && takeEffect !='dep' ? 'exclution' : '' }}" wx:for="{{depGroud}}" wx:key="label">
    <view class="title">
        <view class="label">
            {{language[item.label]||item.label}}
        </view>
        <view class="tabs-box" wx:if="{{dimissionF && index==0}}">
            <view class="item {{isleave == item.value?'active':''}}" wx:for="{{tabs}}" wx:key="{{item.value}}" data-value="{{item.value}}" bind:tap="changLeave">{{language[item.name]||item.name}}</view>
        </view>
    </view>
    <view class="content">
        <van-button custom-class='but {{data.sa_saleareaid == item.active?" active":" "}}' wx:for="{{item.list}}" wx:for-item="data" wx:for-index="i" wx:key="i" data-item="{{data}}" data-index="{{index}}" data-i="{{i}}" bindtap="selectDep">{{data.depname}}</van-button>
    </view>
</view>
<!-- 人员筛选 -->
<view wx:if="{{isusers}}" class="groud {{exclution && takeEffect != 'user'? 'exclution' : ''}}" wx:key="label">
    <view class="title" style="align-items: center;">
        <view class="label">
            {{language[users.label]||users.label}}
        </view>
        <view class="tabs-box" style="margin-right: 20rpx;">
            <van-search value="{{ searchValue }}" shape='round' bind:change='searchChange' bind:clear='searchClear' placeholder="{{language['搜索姓名/账号']||'搜索姓名/账号'}}" />
        </view>
    </view>
    <view class="content">
        <van-button custom-class='but {{item.userid == users.active?" active":""}}' wx:for="{{users.list}}" wx:key="userid" data-item="{{item}}" bindtap="selectUser">{{item.name}} {{item.accountno}}</van-button>
    </view>
</view>


<wxs src='../../utils/wxmlQueryPer.wxs' module="per" />