|
|
@@ -46,7 +46,7 @@ |
|
|
|
<view class="zonglantit">简报</view> |
|
|
|
<view class="zonglanbox" > |
|
|
|
<view class="grid" v-for="(item,index) in numlist" :key="index" style="height: auto;padding-bottom: 20rpx;"> |
|
|
|
<view class="audonum" v-if="item.name=='接待时长'">{{item.name}}/分</view> |
|
|
|
<view class="audonum" v-if="item.name=='平均接待时长'">{{item.name}}/分</view> |
|
|
|
<view class="audonum" v-else>{{item.name}}</view> |
|
|
|
<view class="num" > |
|
|
|
<view class="" style="width: 35%;"> |
|
|
@@ -230,7 +230,7 @@ |
|
|
|
num2: '0' |
|
|
|
}, |
|
|
|
{ |
|
|
|
name: '接待时长', |
|
|
|
name: '平均接待时长', |
|
|
|
num: '10', |
|
|
|
num1: '0', |
|
|
|
num2: '0' |
|
|
@@ -375,13 +375,13 @@ |
|
|
|
this.numlist[0].num = data.startSumCustomer |
|
|
|
this.numlist[1].num = data.startFraction; |
|
|
|
|
|
|
|
this.numlist[2].num = Math.floor(data.startSumDuration/60) || 0; |
|
|
|
this.numlist[2].num = data.startSumDuration || 0; |
|
|
|
if (data.endSumDuration != null) { |
|
|
|
this.compareFlag = true |
|
|
|
// return |
|
|
|
this.numlist[0].num1 = data.endSumCustomer |
|
|
|
this.numlist[1].num1 = data.endFraction; |
|
|
|
this.numlist[2].num1 = Math.floor(data.endSumDuration/60) || 0; |
|
|
|
this.numlist[2].num1 = data.endSumDuration || 0; |
|
|
|
this.numlist[0].num2 = data.contrastSumCustomer |
|
|
|
this.numlist[1].num2 = data.contrastFraction; |
|
|
|
this.numlist[2].num2 = data.contrastSumDuration|| 0; |
|
|
|