<view class='tab-box'>
	<view class="left">
		<view class="user line-1">{{language[content.dateType]||content.dateType}}-{{language[content.typemx]||content.typemx}}</view>
	</view>
	<view class="right">
		<view class="filtrate-box" hover-class="navigator-hover" bindtap="openFiltrate">
			<view class="iconfont  icon-shaixuan" />
			<view wx:if="{{username}}">
				{{language[username]||username}}_{{language[isleave==1?'在职':'离职']||isleave==1?'在职':'离职'}}
			</view>
			<view wx:else>{{language['筛选']||'筛选'}}</view>
		</view>
	</view>
</view>
<view class="global-total">
	<text wx:if="{{language['总共']}}">{{language['总共']}}：{{total}}</text>
	<text wx:else>总共{{total}}个</text>
</view>
<Yl_ListBox id='ListBox' bind:getlist='getList'>
	<view class="global-card item" wx:for="{{list}}" wx:key="sa_projectid">
		<view class="title">
			<text class="line-1">{{item.projectname || " --"}}</text>
			<view class="status" style="background-color: {{sColors[item.status]}};">{{language[item.status]||item.status}}</view>
		</view>
		<view class="tag-box">
			<van-tag custom-class='tag' wx:for="{{item.sys_tag}}" wx:key="index" wx:for-item='tag' color='#3874f6' text-color='#fff' round>{{language[tag]||tag}}</van-tag>
		</view>
		<view class="row">
			<view class="col">{{language['负责人']||'负责人'}}：{{item.leader.length?item.leader[0].name :' --'}}</view>
			<view class="col">{{language['部门']||'部门'}}：{{item.leader.length?item.leader[0].depname :' --'}}</view>
		</view>
		<view class="row">
			<view class="col">{{language['项目阶段']||'项目阶段'}}：{{language[item.stagename] || item.stagename ||' --'}}</view>
			<view class="col">{{language['报备进度']||'报备进度'}}：<text style="color: {{sColors[item.status]}};">{{language[item.reportstatus] || item.reportstatus ||' --'}}</text></view>
		</view>
		<view class="row">{{language['预计签约金额']||'预计签约金额'}}：{{item.signamount_due ||' --'}}</view>
		<view class="row">{{language['项目成交金额']||'项目成交金额'}}：{{item.dealamount ||' --'}}</view>
		<view class="row">{{language['项目地址']||'项目地址'}}：{{item.province + item.city +item.county +item.address}}</view>
		<view class="row">{{language['项目编号']||'项目编号'}}：{{item.projectnum ||' --' }}</view>
		<view class="row">{{language['项目规模']||'项目规模'}}：{{item.scale + (language[item.unitname] || item.unitname||'')}}</view>
		<view class="row">{{language['领域']||'领域'}}：{{language[item.tradefield] || item.tradefield||' --'}}</view>
		<view class="row">{{language['创建时间']||'创建时间'}}：{{item.createdate ||' --'}}</view>
	</view>
	<My_empty wx:if="{{list.length==0}}" />
</Yl_ListBox>

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