观看统计顺序
This commit is contained in:
parent
b8c9fce0cc
commit
216812e6a7
|
@ -255,7 +255,7 @@ import { groupByCategoryView,groupByUserView,groupByOrgView } from '@/api/video'
|
||||||
getGroupView(){
|
getGroupView(){
|
||||||
groupByOrgView(this.dataQuery).then(res=>{
|
groupByOrgView(this.dataQuery).then(res=>{
|
||||||
debugger;console.log(res.data)
|
debugger;console.log(res.data)
|
||||||
let data = res.data;
|
let data = res.data.reverse();
|
||||||
let xAxisOptions = [],data1 = [],data2 = [],data3 = [],data4=[];
|
let xAxisOptions = [],data1 = [],data2 = [],data3 = [],data4=[];
|
||||||
data.forEach(item=>{
|
data.forEach(item=>{
|
||||||
xAxisOptions.push(item.单位名称);
|
xAxisOptions.push(item.单位名称);
|
||||||
|
@ -427,7 +427,7 @@ import { groupByCategoryView,groupByUserView,groupByOrgView } from '@/api/video'
|
||||||
groupByUserView(this.dataQuery).then(res=>{
|
groupByUserView(this.dataQuery).then(res=>{
|
||||||
debugger;
|
debugger;
|
||||||
console.log(res.data);
|
console.log(res.data);
|
||||||
let data = res.data;
|
let data = res.data.reverse();
|
||||||
let xAxisOptions = [],data1 = [],data2 = [],data3 = [],data4=[];
|
let xAxisOptions = [],data1 = [],data2 = [],data3 = [],data4=[];
|
||||||
data.forEach(item=>{
|
data.forEach(item=>{
|
||||||
xAxisOptions.push(item.姓名);
|
xAxisOptions.push(item.姓名);
|
||||||
|
|
Loading…
Reference in New Issue