Commit 7e9e8288 authored by liuna's avatar liuna

2018年2月2日 --智能分析平台

--实体厅流量监测:页面调整参数
parent 32faad49
This diff is collapsed.
...@@ -975,10 +975,10 @@ ...@@ -975,10 +975,10 @@
success: function(data){ success: function(data){
data.sort(function(t1,t2){return t2[1]-t1[1]}) data.sort(function(t1,t2){return t2[1]-t1[1]})
console.log("坐席分析前top10",data); console.log("坐席分析前top10",data);
var account = new Array(); var account = [];
var transCnt = new Array(); var transCnt = [];
var transAvail = new Array(); var transAvail = [];
var transTime = new Array(); var transTime = [];
for(var i=0; i<data.length; i++){ for(var i=0; i<data.length; i++){
account.push(data[i][0]); account.push(data[i][0]);
transCnt.push(data[i][1]); transCnt.push(data[i][1]);
...@@ -1000,10 +1000,10 @@ ...@@ -1000,10 +1000,10 @@
async: false, async: false,
success: function(data){ success: function(data){
console.log("坐席分析后top10",data); console.log("坐席分析后top10",data);
var account = new Array(); var account = [];
var transCnt = new Array(); var transCnt = [];
var transAvail = new Array(); var transAvail = [];
var transTime = new Array(); var transTime = [];
for(var i=0; i<data.length; i++){ for(var i=0; i<data.length; i++){
account.push(data[i][0]); account.push(data[i][0]);
transCnt.push(data[i][1]); transCnt.push(data[i][1]);
...@@ -1011,8 +1011,8 @@ ...@@ -1011,8 +1011,8 @@
transTime.push(data[i][3]); transTime.push(data[i][3]);
} }
option5.series[0].data=transCnt; option5.series[0].data=transCnt;
option5.series[0].data= transAvail; option5.series[1].data= transAvail;
option5.series[0].data=transTime; option5.series[2].data=transTime;
myChartSeatAnalysis.setOption(option5); myChartSeatAnalysis.setOption(option5);
} }
}); });
...@@ -2122,14 +2122,14 @@ ...@@ -2122,14 +2122,14 @@
option13.series[4].name=ipList[4]; option13.series[4].name=ipList[4];
option13.series[5].data=dataList[5]; option13.series[5].data=dataList[5];
option13.series[5].name=ipList[5]; option13.series[5].name=ipList[5];
option12.series[6].data=dataList[6]; option13.series[6].data=dataList[6];
option12.series[6].name=ipList[6]; option13.series[6].name=ipList[6];
option12.series[7].data=dataList[7]; option13.series[7].data=dataList[7];
option12.series[7].name=ipList[7]; option13.series[7].name=ipList[7];
option12.series[8].data=dataList[8]; option13.series[8].data=dataList[8];
option12.series[8].name=ipList[8]; option13.series[8].name=ipList[8];
option12.series[9].data=dataList[9]; option13.series[9].data=dataList[9];
option12.series[9].name=ipList[9]; option13.series[9].name=ipList[9];
myChartIpTrendMonth.setOption(option13); myChartIpTrendMonth.setOption(option13);
} }
}); });
......
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