性质、各国家目的IP、运营商局点报表页面提交.

This commit is contained in:
zhangwenqing
2018-07-10 13:25:41 +08:00
parent cd954463f5
commit 86fa5f0000
10 changed files with 527 additions and 92 deletions

View File

@@ -1,42 +1,31 @@
<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<script type="text/javascript">
$(function(){
});
$(function() {
});
</script>
<div id="attrType" class="tab-pane fade">
<table id="contentTable1" class="table table-striped table-bordered table-condensed text-nowrap">
<table id="attrTypeTable"
class="table table-striped table-bordered table-condensed text-nowrap">
<thead>
<tr>
<th>性质</th>
<th>总量</th>
<th>0点</th>
<th>1点</th>
<th>2点</th>
<th>3点</th>
<th>4点</th>
<th>5点</th>
<th>6点</th>
<th>7点</th>
<th>8点</th>
<th>9点</th>
<th>10点</th>
<th>11点</th>
<th>12点</th>
<th>14点</th>
<th>15点</th>
<th>16点</th>
<th>17点</th>
<th>18点</th>
<th>19点</th>
<th>20点</th>
<th>21点</th>
<th>22点</th>
<th>23点</th>
<th><spring:message code="attribute" /></th>
<th><spring:message code="log_total" /></th>
<c:forEach items="${titles}" var="title">
<th>${title}</th>
</c:forEach>
</tr>
</thead>
<tbody>
<c:forEach items="${datas}" var="data">
<tr>
<td><c:forEach items="${xzs}" var="xz">
<c:if test="${xz.serviceDictId==data.key}">${xz.itemValue}</c:if>
</c:forEach></td>
<c:forEach items="${data.value}" var="cloumn" varStatus="status">
<td>${cloumn}</td>
</c:forEach>
</tr>
</c:forEach>
</tbody>
</table>
<div class="page">${page}</div>
</div>
<div class="page">${page}</div>

View File

@@ -4,39 +4,27 @@
$(function(){
});
</script>
<div id="destIp" class="tab-pane fade">
<table id="contentTable1" class="table table-striped table-bordered table-condensed text-nowrap">
<table id="destIpTable" class="table table-striped table-bordered table-condensed text-nowrap">
<thead>
<tr>
<th>所属国家</th>
<th>总量</th>
<th>0点</th>
<th>1点</th>
<th>2点</th>
<th>3点</th>
<th>4点</th>
<th>5点</th>
<th>6点</th>
<th>7点</th>
<th>8点</th>
<th>9点</th>
<th>10点</th>
<th>11点</th>
<th>12点</th>
<th>14点</th>
<th>15点</th>
<th>16点</th>
<th>17点</th>
<th>18点</th>
<th>19点</th>
<th>20点</th>
<th>21点</th>
<th>22点</th>
<th>23点</th>
<th><spring:message code="dest_country" /></th>
<th><spring:message code="log_total" /></th>
<c:forEach items="${titles}" var="title">
<th>${title}</th>
</c:forEach>
</tr>
</thead>
<tbody>
<c:forEach items="${datas}" var="data">
<tr>
<c:forEach items="${data.key}" var="key" varStatus="status">
<td>${key}</td>
</c:forEach>
<c:forEach items="${data.value}" var="cloumn" varStatus="status">
<td>${cloumn}</td>
</c:forEach>
</tr>
</c:forEach>
</tbody>
</table>
<div class="page">${page}</div>
</div>
<div class="page">${page}</div>

View File

@@ -4,39 +4,27 @@
$(function(){
});
</script>
<div id="entranceId" class="tab-pane fade">
<table id="contentTable1" class="table table-striped table-bordered table-condensed text-nowrap">
<table id="entranceIdTable" class="table table-striped table-bordered table-condensed text-nowrap">
<thead>
<tr>
<th>局点</th>
<th>总量</th>
<th>0点</th>
<th>1点</th>
<th>2点</th>
<th>3点</th>
<th>4点</th>
<th>5点</th>
<th>6点</th>
<th>7点</th>
<th>8点</th>
<th>9点</th>
<th>10点</th>
<th>11点</th>
<th>12点</th>
<th>14点</th>
<th>15点</th>
<th>16点</th>
<th>17点</th>
<th>18点</th>
<th>19点</th>
<th>20点</th>
<th>21点</th>
<th>22点</th>
<th>23点</th>
<th><spring:message code="entrance" /></th>
<th><spring:message code="log_total" /></th>
<c:forEach items="${titles}" var="title">
<th>${title}</th>
</c:forEach>
</tr>
</thead>
<tbody>
<c:forEach items="${datas}" var="data">
<tr>
<c:forEach items="${data.key}" var="key" varStatus="status">
<td>${key}</td>
</c:forEach>
<c:forEach items="${data.value}" var="cloumn" varStatus="status">
<td>${cloumn}</td>
</c:forEach>
</tr>
</c:forEach>
</tbody>
</table>
<div class="page">${page}</div>
</div>
<div class="page">${page}</div>

View File

@@ -30,6 +30,12 @@
ajaxGetLwhhReport();
}else if("${bean.reportBusinessType}"=="src_ip_report"){
ajaxGetSrcIpReport();
}else if("${bean.reportBusinessType}"=="attr_type_report"){
ajaxGetXzReport();
}else if("${bean.reportBusinessType}"=="dest_ip_report"){
ajaxGetDestIpReport();
}else if("${bean.reportBusinessType}"=="isp_report"){
ajaxGetIspReport();
}
$("[name='reportType']").each(function(){
var type='${bean.reportType}';
@@ -46,6 +52,12 @@
ajaxGetLwhhReport();
}else if($(this).data("bussiness")=="src_ip_report"){
ajaxGetSrcIpReport();
}else if($(this).data("bussiness")=="attr_type_report"){
ajaxGetXzReport();
}else if($(this).data("bussiness")=="dest_ip_report"){
ajaxGetDestIpReport();
}else if($(this).data("bussiness")=="isp_report"){
ajaxGetIspReport();
}
}
});
@@ -117,6 +129,57 @@ var ajaxGetSrcIpReport=function(){
}
});
}
var ajaxGetXzReport=function(){
loading('<spring:message code="onloading"/>');
$.ajax({
type:'post',
async:false,
url:'${ctx}/report/ajaxNtcXzReport',
data:{
"action":$('[name="action"]').val(),
"reportType":$('[name="reportType"]').val()
},
dataType:"html",
success:function(data){
$("#attrType").html(data);
closeTip();
}
});
}
var ajaxGetDestIpReport=function(){
loading('<spring:message code="onloading"/>');
$.ajax({
type:'post',
async:false,
url:'${ctx}/report/ajaxNtcDestIpReport',
data:{
"action":$('[name="action"]').val(),
"reportType":$('[name="reportType"]').val()
},
dataType:"html",
success:function(data){
$("#destIp").html(data);
closeTip();
}
});
}
var ajaxGetIspReport=function(){
loading('<spring:message code="onloading"/>');
$.ajax({
type:'post',
async:false,
url:'${ctx}/report/ajaxNtcIspReport',
data:{
"action":$('[name="action"]').val(),
"reportType":$('[name="reportType"]').val()
},
dataType:"html",
success:function(data){
$("#entranceId").html(data);
closeTip();
}
});
}
</script>
</head>
<body>
@@ -252,7 +315,10 @@ var ajaxGetSrcIpReport=function(){
<c:if test="${bean.reportBusinessType eq 'label_report' or bean.reportBusinessType ==null}">
in active
</c:if>"></div>
<%@include file="/WEB-INF/views/report/attrType.jsp" %>
<div id="attrType" class="tab-pane fade
<c:if test="${bean.reportBusinessType eq 'attr_type_report'}">
in active
</c:if>"></div>
<div id="lwhh" class="tab-pane fade
<c:if test="${bean.reportBusinessType eq 'lwhh_report'}">
in active
@@ -261,8 +327,14 @@ var ajaxGetSrcIpReport=function(){
<c:if test="${bean.reportBusinessType eq 'src_ip_report'}">
in active
</c:if>"></div>
<%@include file="/WEB-INF/views/report/destIp.jsp" %>
<%@include file="/WEB-INF/views/report/entranceId.jsp" %>
<div id="destIp" class="tab-pane fade
<c:if test="${bean.reportBusinessType eq 'dest_ip_report'}">
in active
</c:if>"></div>
<div id="entranceId" class="tab-pane fade
<c:if test="${bean.reportBusinessType eq 'isp_report'}">
in active
</c:if>"></div>
</div>
</div>
</div>