Commit 16b0f569 by 张立顺

feat 功能开发

1 parent 8779b3df
// packageIndex/pages/salesSummary/salesSummary.js
import IndexApi from '~/api/index/index'
import { tsFormatTime } from '~/utils/format'
// dayjs(infoDetail.expectedOperationDate).format('YYYY-MM-DD')
const app = getApp()
Page({
/**
......
......@@ -8,7 +8,7 @@
<scroll-view class="scrollView" scroll-y style="height: calc(100vh - 80px);">
<block wx:if="{{ activeIndex==0 }}">
<view class="list">
<view class="box" bindtap="goCustomer" data-item="{{item}}" wx:for="{{ list }}" wx:key="index">
<view class="box" bindtap="goCustomer" data-item="{{ item }}" wx:for="{{ list }}" wx:key="index">
<view class="header">
<view class="name">{{item.personName}}</view>
<view class="phone">{{item.personPhone}}</view>
......@@ -36,7 +36,7 @@
</block>
<block wx:if="{{ activeIndex ==1 }}">
<view class="list">
<view class="box" bindtap="goPotentialDetail" data-target="{{item}}" wx:for="{{ list }}" wx:key="index">
<view class="box" bindtap="goPotentialDetail" data-target="{{ item }}" wx:for="{{ list }}" wx:key="index">
<view class="merchant">
<view class="merchantName text-hide">{{item.potentialCustomerName}}</view>
<view class="status">跟进中</view>
......@@ -44,7 +44,7 @@
<view class="introduction merchantInfo">
<view class="item">
<view class="label">拜访次数</view>
<view class="content">{{item.visitCount?item.visitCount+'次':'-'}}</view>
<view class="content">{{item.visitTimes != null ? item.visitTimes : '-'}}次</view>
</view>
<view class="item">
<view class="label person">跟进人</view>
......@@ -58,10 +58,10 @@
</view>
</view>
</block>
<block wx:if="{{ list.length <= 0 }}">
<view class="nothing">
<glsx-image class="img" src="{{ '/index/empty.png' }}" webp></glsx-image>
<view class="text">暂无数据</view>
</view>
</block>
<block wx:if="{{ list.length <= 0 }}">
<view class="nothing">
<glsx-image class="img" src="{{ '/index/empty.png' }}" webp></glsx-image>
<view class="text">暂无数据</view>
</view>
</block>
</scroll-view>
\ No newline at end of file
......@@ -8,7 +8,7 @@
<view class="item">
<!-- <view class="left children"> -->
<view class="label">拜访次数</view>
<view class="content">{{item.visitTimes?item.visitTimes+'次':'-'}}</view>
<view class="content">{{item.visitTimes != null ? item.visitTimes : '-'}}次</view>
<!-- </view> -->
<!-- <view class="right children">
<view class="label">销售人员</view>
......@@ -32,7 +32,7 @@
</view>
<view class="item">
<view class="label person">展业时间</view>
<view class="content">{{item.expectedOperationDate||'-'}}</view>
<view class="content">{{item.expectedOperationDateFormatted||'-'}}</view>
</view>
<view class="item">
<view class="label person">门店地址</view>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!