<view wx-if="{{searchShow}}">
    <van-transition show="{{ searchShow }}" name='fade' duration='300'>
        <view>
            <van-search focus="{{focus}}" value="{{searchValue}}" placeholder="{{language['请输入关键字']||'请输入关键字'}}" bind:search="onSearch" bind:clear="onClear" bind:change="onChange" />
        </view>
    </van-transition>
</view>
<Yl_ListBox id='ListBox' bind:getlist='getList'>
    <view style='margin-top:20rpx'></view>
    <navigator url="/portrayal/details/sales?id={{item.hrid}}" wx:for="{{list}}" wx:key='hrid' class="global-card item">
        <view class="title line-1">{{item.name||'--'}}</view>
        <view class="line">
            {{language['编号']||'编号'}}：{{language[item.hrcode]||item.hrcode||'--'}}
        </view>
        <view class="line">{{language['手机号']||'手机号'}}：{{item.phonenumber||'--'}}</view>
        <view class="line">
            {{language['部门']||'部门'}}：{{language[item.depname]||item.depname||'--'}}
        </view>
        <view class="line">
            {{language['职位']||'职位'}}：{{language[item.position]||item.position||'--'}}
        </view>
        <view class="line">{{language['邮箱']||'邮箱'}}：{{item.email||'--'}}</view>
        <view class="line">
            {{language['营销区域']||'营销区域'}}：{{language[item.areafullname]||item.areafullname||'--'}}
        </view>
        <view class="line">{{language['最低授权折扣(%)']||'最低授权折扣(%)'}}：{{item.discountrate*100}}%</view>
        <view class="line">
            {{language['状态']||'状态'}}：
            <view style="color:{{sColors[item.status==1?'离职':'在职']||'999999'}}">
                {{language[item.status==1?'离职':'在职']||item.status==1?'离职':'在职'}}
            </view>
        </view>
        <view class="but">
            {{language['查看详情']||'查看详情'}}
            <text class='iconfont icon-webfanhui' />
        </view>
    </navigator>
    <My_empty wx:if="{{list.length==0}}" />
</Yl_ListBox>
<Yl_Filtrate1 show='{{showFiltrate}}' list='{{filtratelist}}' dateRange bindhandle="handleFilter">
    <organization slot='head' defaultIsleave='1' dimissionF id='organization' />
</Yl_Filtrate1>