Commit c35ea6f8 authored by liuna's avatar liuna

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

--实体厅流量监测:图表当月修改,页面显示路径修改
parent ff55f8c8
This diff is collapsed.
...@@ -188,7 +188,7 @@ public class FlowMonitorController { ...@@ -188,7 +188,7 @@ public class FlowMonitorController {
// businessOfficeMonthList = flowHallBusinessDao.businessOfficeMonth(hall); // businessOfficeMonthList = flowHallBusinessDao.businessOfficeMonth(hall);
// list.add(businessOfficeMonthList); // list.add(businessOfficeMonthList);
// } // }
List<Object[]> ipList = flowHallBusinessDao.businessOffice(); List<Object[]> ipList = flowHallBusinessDao.businessOfficeMonth();
String tmp = (String) ipList.get(0)[1]; String tmp = (String) ipList.get(0)[1];
List<List<Object[]>> result= new ArrayList<List<Object[]>>(); List<List<Object[]>> result= new ArrayList<List<Object[]>>();
result.add(new ArrayList<Object[]>()); result.add(new ArrayList<Object[]>());
...@@ -287,7 +287,7 @@ public class FlowMonitorController { ...@@ -287,7 +287,7 @@ public class FlowMonitorController {
@RequestMapping(value = "/ipTrendMonth",method = RequestMethod.GET) @RequestMapping(value = "/ipTrendMonth",method = RequestMethod.GET)
@ResponseBody @ResponseBody
public List<List<Object[]>> findIpTrendMonth(HttpServletRequest request, HttpServletResponse response) throws ParseException, UnsupportedEncodingException { public List<List<Object[]>> findIpTrendMonth(HttpServletRequest request, HttpServletResponse response) throws ParseException, UnsupportedEncodingException {
List<Object[]> ipList = flowClientDao.ipTrend(); List<Object[]> ipList = flowClientDao.ipTrendMonth();
String tmp = (String) ipList.get(0)[1]; String tmp = (String) ipList.get(0)[1];
List<List<Object[]>> result= new ArrayList<List<Object[]>>(); List<List<Object[]>> result= new ArrayList<List<Object[]>>();
result.add(new ArrayList<Object[]>()); result.add(new ArrayList<Object[]>());
......
...@@ -28,8 +28,8 @@ ...@@ -28,8 +28,8 @@
<div class="container"> <div class="container">
<ol class="breadcrumb"> <ol class="breadcrumb">
<li><a href="${ctx}/index">首页</a></li> <li><a href="${ctx}/index">首页</a></li>
<li>预分析与建模</li> <li>运营支撑</li>
<li class="active">数据预分析</li> <li class="active">实体厅流量监测分析</li>
</ol> </ol>
</div> </div>
</div> </div>
...@@ -38,8 +38,6 @@ ...@@ -38,8 +38,6 @@
<div id="content" class="container"> <div id="content" class="container">
<div class="tab-bar-bt"> <div class="tab-bar-bt">
<ul class="nav nav-tabs"> <ul class="nav nav-tabs">
<li><a href="${ctx}/MonitorOperation/RegularityAnalysis">数据特征探查</a></li>
<li><a href="${ctx}/MonitorOperation/KeyLinkProcessAnalysis">业务环节分析</a></li>
<li class="active"><a id="a_home" href="#home" data-toggle="tab">实体厅流量监测分析</a></li> <li class="active"><a id="a_home" href="#home" data-toggle="tab">实体厅流量监测分析</a></li>
</ul> </ul>
</div> </div>
...@@ -835,6 +833,7 @@ ...@@ -835,6 +833,7 @@
xAxis:[ xAxis:[
{ {
type: 'category', type: 'category',
boundaryGap: false,
data: [], data: [],
splitLine: { splitLine: {
show: false show: false
...@@ -1171,6 +1170,7 @@ ...@@ -1171,6 +1170,7 @@
xAxis:[ xAxis:[
{ {
type: 'category', type: 'category',
boundaryGap: false,
data: [], data: [],
splitLine: { splitLine: {
show: false show: false
...@@ -1407,6 +1407,7 @@ ...@@ -1407,6 +1407,7 @@
xAxis:[ xAxis:[
{ {
type: 'category', type: 'category',
boundaryGap: false,
data: [], data: [],
splitLine: { splitLine: {
show: false show: false
...@@ -1633,6 +1634,17 @@ ...@@ -1633,6 +1634,17 @@
clientIp.push(data[i][10]); clientIp.push(data[i][10]);
cnt.push(data[i][11]); cnt.push(data[i][11]);
} }
cnt1.reverse();
cnt2.reverse();
cnt3.reverse();
cnt4.reverse();
cnt5.reverse();
cnt6.reverse();
cnt7.reverse();
cnt8.reverse();
cnt9.reverse();
cnt10.reverse();
clientIp.reverse();
option10.yAxis[0].data=clientIp; option10.yAxis[0].data=clientIp;
option10.series[0].data=cnt1; option10.series[0].data=cnt1;
option10.series[1].data=cnt2; option10.series[1].data=cnt2;
...@@ -1684,6 +1696,17 @@ ...@@ -1684,6 +1696,17 @@
clientIp.push(data[i][10]); clientIp.push(data[i][10]);
cnt.push(data[i][11]); cnt.push(data[i][11]);
} }
cnt1.reverse();
cnt2.reverse();
cnt3.reverse();
cnt4.reverse();
cnt5.reverse();
cnt6.reverse();
cnt7.reverse();
cnt8.reverse();
cnt9.reverse();
cnt10.reverse();
clientIp.reverse();
option10.yAxis[0].data=clientIp; option10.yAxis[0].data=clientIp;
option10.series[0].data=cnt1; option10.series[0].data=cnt1;
option10.series[1].data=cnt2; option10.series[1].data=cnt2;
...@@ -1725,6 +1748,9 @@ ...@@ -1725,6 +1748,9 @@
splitLine:{ splitLine:{
show:false show:false
}, },
axisLabel:{
interval:0,
},
} }
], ],
yAxis : [ yAxis : [
...@@ -2016,6 +2042,7 @@ ...@@ -2016,6 +2042,7 @@
xAxis:[ xAxis:[
{ {
type: 'category', type: 'category',
boundaryGap: false,
data: [], data: [],
splitLine: { splitLine: {
show: false show: false
......
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