<van-dropdown-menu active-color="#3874F6">
  <van-dropdown-item value="{{ dropdownItem }}" options="{{ dropdown }}" bindchange='dropdownItemChange' />
  <view class="filtrate" url="#" bindtap="openFiltrate">
    <text style="margin-right: 6rpx;">{{active.name}}</text>
    <van-icon name="arrow-down" />
  </view>
</van-dropdown-menu>
<view class="head" />

<view hidden="{{dropdownItem!=0}}">
  <Yl_ListBox pullDown='{{false}}' id='ListBox'>
    <view class="box">
      <view class="top">
        <view class="title">
          {{language['作业数据']||'作业数据'}}
        </view>
        <view class="tabs-box">
          <view class="item {{zysj.tab.active==item.id?'active':''}}" wx:for="{{zysj.tab.list}}" wx:key="id" data-name="zysj" data-id="{{item.id}}" catchtap='changeId'>{{item.name||'筛选'}}</view>
        </view>
      </view>
      <view class="spectaculars row-3">
        <view class="item ">
          <view class="label">{{language['新增线索数']||'新增线索数'}}</view>
          <view class="value">{{zysj[zysj.tab.active].xsxz}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['新增客户数']||'新增客户数'}}</view>
          <view class="value">{{zysj[zysj.tab.active].khxz}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['新增联系人数']||'新增联系人数'}}</view>
          <view class="value">{{zysj[zysj.tab.active].lxxz}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['新增项目数']||'新增项目数'}}</view>
          <view class="value">{{zysj[zysj.tab.active].xmxz}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['线索跟进次数']||'线索跟进次数'}}</view>
          <view class="value">{{zysj[zysj.tab.active].xsgj }}</view>
        </view>
        <view class="item">
          <view class="label">{{language['客户跟进次数']||'客户跟进次数'}}</view>
          <view class="value">{{zysj[zysj.tab.active].khgj}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['联系人跟进次数']||'联系人跟进次数'}}</view>
          <view class="value">{{zysj[zysj.tab.active].lxgj}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['项目跟进次数']||'项目跟进次数'}}</view>
          <view class="value">{{zysj[zysj.tab.active].xmgj}}</view>
        </view>
      </view>
    </view>
    <view class="box">
      <view class="top">
        <view class="title">
          {{language['销售数据']||'销售数据'}}
        </view>
        <view class="tabs-box">
          <view class="item {{xssj.tab.active==item.id?'active':''}}" wx:for="{{xssj.tab.list}}" wx:key="id" data-name="xssj" data-id="{{item.id}}" catchtap='changeId'>{{item.name}}</view>
        </view>
      </view>
      <view class="spectaculars">
        <view class="item">
          <view class="label">{{language['订单金额']||'订单金额'}}</view>
          <view class="value">{{xssj[xssj.tab.active].xsje.show}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['出货金额']||'出货金额'}}</view>
          <view class="value">{{xssj[xssj.tab.active].chje.show}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['开票金额']||'开票金额'}}</view>
          <view class="value">{{xssj[xssj.tab.active].kpje.show}}</view>
        </view>
        <view class="item">
          <view class="label">{{language['回款金额']||'回款金额'}}</view>
          <view class="value">{{xssj[xssj.tab.active].skje.show}}</view>
        </view>
      </view>
    </view>
    <view class="box">
      <view class="top">
        <view class="title">
          {{language['业绩数据']||'业绩数据'}}
        </view>
        <view class="tabs-box">
          <view class="item {{yjsj.tab.active==item.id?'active':''}}" wx:for="{{yjsj.tab.list}}" wx:key="id" data-name="yjsj" data-id="{{item.id}}" catchtap='changeId'>{{item.name}}</view>
        </view>
      </view>
      <view class="performance">
        <view class="title">{{language['订单']||'订单'}} <text style="color: {{yjsj[yjsj.tab.active].unamountcolor}};">{{yjsj[yjsj.tab.active].unamount.value}}</text></view>
        <view class="row">
          <view class="item">
            <view class="title">{{language['目标达成']||'目标达成'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].wcamount}}</view>
          </view>
          <view class="item">
            <view class="title">{{language['实际金额']||'实际金额'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].amount.show}}</view>
          </view>
          <view class="item">
            <view class="title">{{language['目标金额']||'目标金额'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].target_l.show}}</view>
          </view>
          <view class="item">
            <view class="title">{{language['差额']||'差额'}}</view>
            <view class="value" style="color: {{yjsj[yjsj.tab.active].unamountcolor}};">{{yjsj[yjsj.tab.active].unamount}}{{language['万']||'万'}}</view>
          </view>
        </view>
      </view>
      <view class="performance">
        <view class="title">{{language['出货']||'出货'}} <text style="color: {{yjsj[yjsj.tab.active].unoutamountcolor}};">{{yjsj[yjsj.tab.active].unoutamount.value}}</text></view>
        <view class="row">
          <view class="item">
            <view class="title">{{language['目标达成']||'目标达成'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].wcoutamount}}</view>
          </view>
          <view class="item">
            <view class="title">{{language['实际金额']||'实际金额'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].outamount.show}}</view>
          </view>
          <view class="item">
            <view class="title">{{language['目标金额']||'目标金额'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].target_l.show}}</view>
          </view>
          <view class="item">
            <view class="title">{{language['差额']||'差额'}}</view>
            <view class="value" style="color: {{yjsj[yjsj.tab.active].unoutamountcolor}};">{{yjsj[yjsj.tab.active].unoutamount}}{{language['万']||'万'}}</view>
          </view>
        </view>
      </view>
      <view class="performance">
        <view class="title">{{language['开票']||'开票'}} <text style="color: {{yjsj[yjsj.tab.active].uninvoiceamountcolor}};">{{yjsj[yjsj.tab.active].uninvoiceamount.value}}</text></view>
        <view class="row">

          <view class="item">
            <view class="title">{{language['实际金额']||'实际金额'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].wcinvoiceamount}}</view>
          </view>

          <view class="item">
            <view class="title">{{language['实际金额']||'实际金额'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].invoiceamount.show}}</view>
          </view>

          <view class="item">
            <view class="title">{{language['目标金额']||'目标金额'}}</view>
            <view class="value">{{yjsj[yjsj.tab.active].target_l.show}}</view>
          </view>

          <view class="item">
            <view class="title">{{language['差额']||'差额'}}</view>
            <view class="value" style="color: {{yjsj[yjsj.tab.active].uninvoiceamountcolor}};">{{yjsj[yjsj.tab.active].uninvoiceamount}}{{language['万']||'万'}}</view>
          </view>
        </view>
      </view>
    </view>
  </Yl_ListBox>
</view>

<view hidden="{{dropdownItem!=1}}">
  <clue id='model1' />
</view>

<view hidden="{{dropdownItem!=2}}">
  <client id='model2' />
</view>

<view hidden="{{dropdownItem!=3}}">
  <project id='model3' />
</view>

<view hidden="{{dropdownItem!=4}}">
  <bills id='model4' />
</view>

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