|
@@ -56,7 +56,12 @@ |
|
|
<view class="num" v-else>{{item.num||0}}</view> |
|
|
<view class="num" v-else>{{item.num||0}}</view> |
|
|
<view class="comparesize" v-if="compareFlag&&timepickpickisshow"> |
|
|
<view class="comparesize" v-if="compareFlag&&timepickpickisshow"> |
|
|
<text style="margin-right: 50rpx;">对比:{{item.name==='平均执行率'?item.num1+'%':item.num1}}</text> |
|
|
<text style="margin-right: 50rpx;">对比:{{item.name==='平均执行率'?item.num1+'%':item.num1}}</text> |
|
|
<text :style="{color:item.num2*1>0?'red':'green'}">{{item.num2+'%'}}{{(item.num2*1) > 0 ? '↑' : '↓'}}</text> |
|
|
|
|
|
|
|
|
<text :style="{color:item.num2*1>0?'red':'green'}"> |
|
|
|
|
|
{{item.num2}} |
|
|
|
|
|
<template v-if="item.name==='平均执行率'"> |
|
|
|
|
|
% |
|
|
|
|
|
</template> |
|
|
|
|
|
{{(item.num2*1) > 0 ? '↑' : '↓'}}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<!-- <view class="grid" v-for="(item,index) in numlist" :key="index" |
|
|
<!-- <view class="grid" v-for="(item,index) in numlist" :key="index" |
|
@@ -439,11 +444,12 @@ |
|
|
this.numlist[3].num1 = data.endSumCustomer |
|
|
this.numlist[3].num1 = data.endSumCustomer |
|
|
this.numlist[0].num1 = data.endFraction; |
|
|
this.numlist[0].num1 = data.endFraction; |
|
|
this.numlist[1].num1 = data.endSumDuration || 0; |
|
|
this.numlist[1].num1 = data.endSumDuration || 0; |
|
|
this.numlist[2].num = data.endReceptionCount || 0 |
|
|
|
|
|
|
|
|
this.numlist[2].num1 = data.endReceptionCount || 0 |
|
|
this.numlist[3].num2 = data.contrastSumCustomer |
|
|
this.numlist[3].num2 = data.contrastSumCustomer |
|
|
this.numlist[0].num2 = data.contrastFraction; |
|
|
this.numlist[0].num2 = data.contrastFraction; |
|
|
this.numlist[1].num2 = data.contrastSumDuration || 0; |
|
|
this.numlist[1].num2 = data.contrastSumDuration || 0; |
|
|
this.numlist[2].num = data.contrastReceptionCount || 0 |
|
|
|
|
|
|
|
|
this.numlist[2].num = data.startReceptionCount || 0 |
|
|
|
|
|
this.numlist[2].num2 = data.contrastReceptionCount || 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
} else { |
|
|