客户统计修改
This commit is contained in:
@@ -25,6 +25,7 @@ Page({
|
||||
a_id:'',//活动ID
|
||||
level:'',//客户级别
|
||||
status:'',//客户状态
|
||||
status_tp:'',
|
||||
},
|
||||
onLoad(options) {
|
||||
for (let key in options) {
|
||||
@@ -99,6 +100,9 @@ Page({
|
||||
if(this.data.status != ''){
|
||||
params['status'] = this.data.status;
|
||||
}
|
||||
if(this.data.status_tp != ''){
|
||||
params['status_tp'] = this.data.status_tp;
|
||||
}
|
||||
_.apiQuery.getAppCustomersList(params).then(res => {
|
||||
this.setData({
|
||||
total: res.data.total,
|
||||
|
||||
@@ -4,9 +4,10 @@
|
||||
|
||||
<block wx:for='{{list}}' wx:key='index'>
|
||||
<view class="inner40 relative ulib-r10 box-shadow-000-10-10 mb30 overflowhidden" bindtap="pushLink" data-url="/pages/customer/detail/index?id={{item.id}}">
|
||||
<view class="absolute top-0 left-0 ml40 bg-36afa2 font-22 color-fff" wx:if="{{item.defeat||item.orders_pay}}">
|
||||
<text class="pl10 pr10" wx:if="{{item.defeat}}">{{item.defeat}}</text>
|
||||
<text class="pl10 pr10 {{item.defeat&&item.orders_pay?'bls-1-eb':''}}" wx:if="{{item.orders_pay}}">{{item.orders_pay}}</text>
|
||||
<view class="absolute top-0 left-0 ml40 bg-36afa2 font-22 color-fff">
|
||||
<text class="pl10 pr10" wx:if="{{item.tip}}">{{item.tip}}</text>
|
||||
<text class="pl10 pr10 {{item.defeat?'bls-1-eb':''}}" wx:if="{{item.defeat}}">{{item.defeat}}</text>
|
||||
<text class="pl10 pr10 {{item.orders_pay?'bls-1-eb':''}}" wx:if="{{item.orders_pay}}">{{item.orders_pay}}</text>
|
||||
</view>
|
||||
<view class="relative pr180">
|
||||
<view class="font-32">
|
||||
|
||||
@@ -68,18 +68,18 @@
|
||||
|
||||
<view class="font-36">客户跟进</view>
|
||||
<view class="fn-flex pt20 pb20 color-fff">
|
||||
<view class="fn-flex-item relative mr15 pt25 pb25 pl110 bg-1c89fd-8058fe ulib-r10" bindtap="pushLink" data-url="/pages/customer/filterList/index?iscall=0&title=待跟进客户" >
|
||||
<view class="fn-flex-item relative mr15 pt25 pb25 pl110 bg-1c89fd-8058fe ulib-r10" bindtap="pushLink" data-url="{{userCal.wl_count.url}}" >
|
||||
<i class="absolute left-0 box-middle ml35 iconfont icon-qianke font-60"></i>
|
||||
<view class="text-left">
|
||||
<view class="font-40">{{userCal.wl_count}}</view>
|
||||
<view class="font-22">待跟进客户(人)</view>
|
||||
<view class="font-40">{{userCal.wl_count.num}}</view>
|
||||
<view class="font-22">{{userCal.wl_count.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="fn-flex-item relative ml15 pt25 pb25 pl110 bg-fe606c-ff9026 ulib-r10" bindtap="pushLink" data-url="/pages/customer/filterList/index?istop=1&title=特别关注客户">
|
||||
<view class="fn-flex-item relative ml15 pt25 pb25 pl110 bg-fe606c-ff9026 ulib-r10" bindtap="pushLink" data-url="{{userCal.gz_count.url}}">
|
||||
<i class="absolute left-0 box-middle ml35 iconfont icon-guanzhu font-60"></i>
|
||||
<view class="text-left">
|
||||
<view class="font-40">{{userCal.gz_count}}</view>
|
||||
<view class="font-22">特别关注客户(人)</view>
|
||||
<view class="font-40">{{userCal.gz_count.num}}</view>
|
||||
<view class="font-22">{{userCal.gz_count.title}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user