Commit bcd57e42 by crushh

update: 统计区间

parent ea035487
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -352,10 +352,10 @@ export default {
}
const originData = res.result[0];
this.talkTimeData = [
{ label: '<10秒', color: '#2d4dd1', count: originData['less_than_10'], percent: originData['10_proportion'] },
{ label: '10-59秒', color: '#D6B38C', count: originData['10_to_59'], percent: originData['10_to_59_proportion'] },
{ label: '60-119秒', color: '#14C9C9', count: originData['60_to_119'], percent: originData['60_to_119_proportion'] },
{ label: '>120秒', color: '#05B770', count: originData['greater_than_120'], percent: originData['120_proportion'] }
{ label: '10秒以下', color: '#2d4dd1', count: originData['firstInterval'], percent: originData['firstProportion'] },
{ label: '11-30秒', color: '#D6B38C', count: originData['secondInterval'], percent: originData['secondProportion'] },
{ label: '30-60秒', color: '#14C9C9', count: originData['thirdInterval'], percent: originData['thirdProportion'] },
{ label: '60秒以上', color: '#05B770', count: originData['fourthInterval'], percent: originData['fourthProportion'] }
];
const data = [
this.talkTimeData.reduce(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment