Browse Source

去掉接待时长 /60

newStyle
时佳豪 3 years ago
parent
commit
75c9efe3b1
3 changed files with 9 additions and 9 deletions
  1. +2
    -2
      src/page/wel.vue
  2. +5
    -5
      src/views/Statistics/MentoringAbility.vue
  3. +2
    -2
      src/views/Statistics/ReceptionOverview.vue

+ 2
- 2
src/page/wel.vue View File

@@ -69,9 +69,9 @@
<div class="pagechen">
<div class="pageboxtitle1">平均接待时长(分钟)</div>
<div class="pageboxtitle2">
<div class="span1">{{Math.floor(cardlist.datalist.avgDuration/60) || 0}}</div>
<div class="span1">{{cardlist.datalist.avgDuration || 0}}</div>
<div class="span2">
<span class="span2-1"> 环比:{{Math.floor(cardlist.sequential.avgDuration/60) || 0}}</span>
<span class="span2-1"> 环比:{{cardlist.sequential.avgDuration || 0}}</span>
<!-- <span class="span2-2">{{cardlist.liftlist.avgDuration || 0}}%</span> -->
<span class="span2-2" v-if="cardlist.liftlist.avgDuration>0">
<i class="el-icon-top" style="color: red;"></i>


+ 5
- 5
src/views/Statistics/MentoringAbility.vue View File

@@ -274,7 +274,7 @@
align="center"
>
<template slot-scope="{row}">
{{Math.floor(row.sumDuration/60)}}分钟
{{row.sumDuration}}分钟
</template>
</el-table-column>
<!-- <el-table-column v-if="tabFlag == 0" prop="acceptanceNum" label="品牌介绍执行率" align="center">
@@ -521,8 +521,8 @@ export default {
}
this.$api.http.accountData(pamaet).then((res) => {
this.datalistobj2={
avgA:Math.floor(res.data.avgA/60) || 0,
avgB:Math.floor(res.data.avgB/60) || 0,
avgA:Math.floor(res.data.avgA) || 0,
avgB:Math.floor(res.data.avgB) || 0,
listA:res.data.listA || [],
listB:res.data.listB || [],
}
@@ -533,10 +533,10 @@ export default {
timelist.push(item.statDate.substring(5,10))
})
this.datalistobj2.listA.map((item,index)=>{
arr1.push(Math.floor(item.sumDuration/60)|| 0)
arr1.push(Math.floor(item.sumDuration)|| 0)
})
this.datalistobj2.listB.map((item,index)=>{
arr2.push(Math.floor(item.sumDuration/60) || 0)
arr2.push(Math.floor(item.sumDuration) || 0)
})
this.SwitchCARDS1(arr1,arr2,timelist,"data2")
})


+ 2
- 2
src/views/Statistics/ReceptionOverview.vue View File

@@ -52,7 +52,7 @@
</div>
<div class="grid-content" @click="Overviewxlick('3')">
<div class="text1" :class="{ tophovese: cardindex == 3 }">平均接待时长(分钟)</div>
<div class="text2" :class="{ tophovese: cardindex == 3 }">{{Math.floor(cardobj.avgDuration/60) || 0}}</div>
<div class="text2" :class="{ tophovese: cardindex == 3 }">{{cardobj.avgDuration || 0}}</div>
</div>
<div class="grid-content" @click="Overviewxlick('4')">
<div class="text1" :class="{ tophovese: cardindex == 4 }">平均执行率(%)</div>
@@ -527,7 +527,7 @@ export default {
}else if(this.cardindex==3){
Strname='接待时长/分钟'
this.Brokenline.map(item=>{
newline.push(Math.floor(item.avgDuration/60))
newline.push(item.avgDuration)
newline2.push(item.statDate.slice(5,10))
})
}else if(this.cardindex==4){


Loading…
Cancel
Save