|
|
@@ -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") |
|
|
|
}) |
|
|
|