<view class='tab-box'>
	<view class="left">
		<van-tabs active="{{ active }}" tab-class='tab-class' color='#3874F6' bind:change="onChange">
			<van-tab wx:for="{{ops}}" wx:key="name" title="{{language[item.title]||item.title}}" name="{{item.name}}" />
		</van-tabs>
	</view>
	<view class="right">
		<view class="filtrate-box" hover-class="navigator-hover" bindtap="openFiltrate">
			<text class="iconfont  icon-shaixuan" />
			<view wx:if="{{username}}">
				{{language[username]||username}}_{{language[isleave==1?'在职':isleave?'离职':'全部']||isleave==1?'在职':isleave?'离职':'全部'}}
			</view>
		</view>
	</view>
</view>

<view hidden="{{active != 'Clue'}}">
	<Clue id='Clue' wx:if="{{per.query(unfolds,'Clue')}}" bindupdate="getList" />
</view>
<view hidden="{{active != 'Client'}}">
	<Client id='Client' wx:if="{{per.query(unfolds,'Client')}}" bindupdate="getList" />
</view>
<view hidden="{{active != 'Project'}}">
	<Project id='Project' wx:if="{{per.query(unfolds,'Project')}}" bindupdate="getList" />
</view>
<view hidden="{{active != 'Cost'}}">
	<Cost id='Cost' wx:if="{{per.query(unfolds,'Cost')}}" bindupdate="getList" />
</view>
<wxs src='../../utils/wxmlQueryPer.wxs' module="per" />

<Yl_Filtrate1 id="Yl_Filtrate1" show='{{showFiltrate}}' list="{{[]}}" bindhandle="handleFilter">
	<organization slot='head' defaultIsleave='1' dimissionF id='organization' />
</Yl_Filtrate1>