storeStatistics.wxml 4.39 KB
<!--pages/components/storeStatistics/storeStatistics.wxml-->
<!-- <text>pages/components/storeStatistics/storeStatistics.wxml</text> -->
<view class="merchant headerBar">
  <view class="title" wx:if="{{userInfo.loginRole !=3}}">我的门店</view>
  <view class="tableBox">
   <view class="headerbar">
    <view class="header">
      <view class="left">门店待跟进</view>
      <view class="right">
        <switch-block switchStatus="{{ overviewSwitchValue }}" bindswitchEvent="onSwitchChange" switchName="{{ switchName }}" />
      </view>
    </view>
    <view class="tips">潜客门店跟进情况</view>
    <view class="statusList">
      <view class="item" bindtap="getCustomerPage" data-type="0">
        <view class="label">潜客数</view>
        <view class="num">{{followUpData.potentialCustomersCount}}</view>
      </view>
      <view class="item" bindtap="getCustomerPage" data-type="0">
        <view class="label">跟进中</view>
        <view class="num">{{followUpData.followUpCount}}</view>
      </view>
      <view class="item" bindtap="getCustomerPage" data-type="1">
        <view class="label">已签约未出单</view>
        <view class="num">{{followUpData.signedNoOrderTotal}}</view>
      </view>
      <view class="item" bindtap="getCustomerPage" data-type="1">
        <view class="label">已签约已出单</view>
        <view class="num">{{followUpData.signedHasOrderTotal}}</view>
      </view>
    </view>
    </view>
    <view class="visitRecord" wx:if="{{ followUpData.waitFollowShopList[0] }}">
      <view class="time">
        <glsx-image class="icon" src="/index/clock.png"></glsx-image>
        <view class="timebox">首次拜访:{{followUpData.waitFollowShopList[0].firstVisitTime||'-'}}</view>
        <view class="status">跟进中</view>
      </view>
      <view class="merchantName text-hide">{{followUpData.waitFollowShopList[0].storeName}}</view>
      <view class="content">
        <text class="label">上次拜访内容:</text>
        <text class="text">{{followUpData.waitFollowShopList[0].lastVisitContent||'-'}}</text>
      </view>
      <view class="btn" bindtap="goPotentialDetail" data-target="{{ followUpData.waitFollowShopList[0] }}">跟进</view>
    </view>
    <view class="visitRecord" wx:if="{{ followUpData.waitFollowShopList[1] }}">
      <view class="time">
        <glsx-image></glsx-image>
        <view class="timebox">首次拜访:{{followUpData.waitFollowShopList[1].firstVisitTime||'-'}}</view>
        <view class="status">跟进中</view>
      </view>
      <view class="merchantName text-hide">{{followUpData.waitFollowShopList[1].storeName}}</view>
      <view class="content">
        <text class="label">上次拜访内容:</text>
        <text class="text">{{followUpData.waitFollowShopList[1].lastVisitContent||'-'}}</text>
      </view>
      <view class="btn" bindtap="goPotentialDetail" data-target="{{ followUpData.waitFollowShopList[1] }}">跟进</view>
    </view>
  </view>
</view>
<view class="headerBar kpiBox">
  <view class="tableBox">
    <view class="header title">{{ month }}月KPI完成进度</view>
    <view class="tips">门店KPI指标完成进度</view>
    <view class="tab">
      <view class="item  {{ tabActive == 2?'active':'' }}" bindtap="changeTabActive" data-index="2">延保</view>
      <view class="item {{ tabActive == 1?'active':'' }}" bindtap="changeTabActive" data-index="1">权益</view>
      <view class="item {{ tabActive == 0?'active':'' }}" bindtap="changeTabActive" data-index="0">轻改</view>
    </view>
    <view class="productionProgress">
      <view class="label">产值进度</view>
      <view class="date">{{currentDate}}</view>
      <view class="select" bindtap="changeOrderBy">
        {{showOrderBy||'已完成'}}
        <glsx-image class="icon" src="{{ '/index/arrowbottom.png' }}" webp></glsx-image>
      </view>
    </view>
    <table showMoreBtn="{{ true }}" table="{{ kpiProgressTable }}" headerConfig="{{ headerConfig }}" tableObj="{{ tableObj }}" tableFlag="{{ tableFlag }}" tableWidth="{{ tableWidth }}" itemTableHeight="{{ itemTableHeight }}" itemHeight="94rpx"></table>
  </view>
</view>
<select-popup show="{{ showSelectPopup }}" options="{{ selectOptions }}" multiple="{{ selectMultiple }}" values="{{ selectValues }}" value="{{ selectValue }}" bindconfirm="handlePopupConfirm" title="{{ selectTitle }}" customIsTab="{{ true }}"></select-popup>