ddos界面调整日志总量列位置
ddos日志修改title国际化 来函统计去掉无来函的业务 排序去掉默认第一个属性排序 限速由0.001-0.009改为0.1-0.9
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
delete from sys_data_dictionary_ITEM where dictionary_id=117;
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2731, '0.1', '0.1', '', 1, 1, 1, 117);
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2732, '0.2', '0.2', '', 2, 1, 1, 117);
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2733, '0.3', '0.3', '', 3, 1, 1, 117);
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2734, '0.4', '0.4', '', 4, 1, 1, 117);
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2735, '0.5', '0.5', '', 5, 1, 1, 117);
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2736, '0.6', '0.6', '', 6, 1, 1, 117);
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2737, '0.7', '0.7', '', 7, 1, 1, 117);
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2738, '0.8', '0.8', '', 8, 1, 1, 117);
|
||||
INSERT INTO `sys_data_dictionary_ITEM`(`id`, `item_code`, `item_value`, `item_desc`, `item_sort`, `status`, `type`, `dictionary_id`) VALUES (2739, '0.9', '0.9', '', 9, 1, 1, 117);
|
||||
@@ -12,8 +12,9 @@
|
||||
$(".sort-column").each(function(){
|
||||
|
||||
if ($(this).hasClass(orderBy[0])){
|
||||
orderBy[1] = orderBy[1]&&orderBy[1].toUpperCase()=="DESC"?"down":"up";
|
||||
$(this).html($(this).html()+" <i class=\"sort-icon-"+orderBy[1]+"\"></i>");
|
||||
/* orderBy[1] = orderBy[1]&&orderBy[1].toUpperCase()=="DESC"?"down":"up";
|
||||
$(this).html($(this).html()+" <i class=\"sort-icon-"+orderBy[1]+"\"></i>"); */
|
||||
$(this).html($(this).html()+" <i class=\"sort-icon\"></i>");
|
||||
}else {
|
||||
$(this).html($(this).html()+" <i class=\"sort-icon\"></i>");
|
||||
}
|
||||
|
||||
@@ -406,6 +406,7 @@
|
||||
<c:when test="${cfg.isAudit eq '3'}"><span indexTable="${cfg.indexTable}" data-placement="right" data-original-title="<spring:message code='letter_cancel_info'/>: " class="label le-ca-fo label-warning tooltips" data-icon=""> <spring:message code="cancel_approved"/></span></c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td audit="${cfg.isAudit}" functionId="${cfg.functionId}" compileId="${cfg.compileId}" action="${cfg.action}" serviceId="${cfg.serviceId}"><div class="loading-total"></div></td>
|
||||
|
||||
<td>
|
||||
<c:if test="${cfg.isAreaEffective==0}"><spring:message code="all"/></c:if>
|
||||
@@ -479,7 +480,6 @@
|
||||
<c:if test="${cfg.isValid==1}"><spring:message code="yes"/></c:if>
|
||||
<c:if test="${cfg.isValid==-1}"><spring:message code="deleted"/></c:if>
|
||||
</td>
|
||||
<td audit="${cfg.isAudit}" functionId="${cfg.functionId}" compileId="${cfg.compileId}" action="${cfg.action}" serviceId="${cfg.serviceId}"><div class="loading-total"></div></td>
|
||||
<td>${cfg.creatorName }</td>
|
||||
<td><fmt:formatDate value="${cfg.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
|
||||
<td>${cfg.editorName }</td>
|
||||
|
||||
@@ -72,6 +72,29 @@
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
var hideTd=new Array();
|
||||
//如果来函统计数为0,去掉此列
|
||||
$(".statisticsRequest").find("table th").each(function(i){
|
||||
//第二列开始计算
|
||||
if(i > 0){
|
||||
var sum=0;
|
||||
$(".statisticsRequest").find("table tr").each(function(j){
|
||||
if(j>0){
|
||||
sum=sum+parseInt($(this).find("td").eq(i).text());
|
||||
}
|
||||
});
|
||||
if(sum < 1){
|
||||
hideTd.push(i);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
for(var k = 0 ; k < hideTd.length; k++){
|
||||
$(".statisticsRequest").find("table tr").each(function(h){
|
||||
$(this).find("th").eq(hideTd[k]).hide();
|
||||
$(this).find("td").eq(hideTd[k]).hide();
|
||||
});
|
||||
}
|
||||
closeTip();
|
||||
});
|
||||
</script>
|
||||
@@ -104,12 +127,7 @@
|
||||
<c:forEach items="${page.list }" var="requestStatistics" varStatus="statusRequest" step="1">
|
||||
<tr>
|
||||
<td>
|
||||
<c:if test="${requestStatistics['request'] eq '0'}">
|
||||
<spring:message code="default_request"/>
|
||||
</c:if>
|
||||
<c:if test="${requestStatistics['request'] ne '0'}">
|
||||
${requestStatistics['request']}
|
||||
</c:if>
|
||||
${requestStatistics['request']}
|
||||
</td>
|
||||
<c:forEach items="${serviceList }" var="serviceDict" varStatus="status" step="1">
|
||||
<td>${requestStatistics[serviceDict.serviceName]}</td>
|
||||
|
||||
@@ -31,7 +31,7 @@ $(document).ready(function(){
|
||||
<div class="theme-panel hidden-xs hidden-sm">
|
||||
</div>
|
||||
<h3 class="page-title">
|
||||
<spring:message code="protected_ddos"/>
|
||||
<spring:message code="target_ip_protect"/>
|
||||
<%-- <c:if test="${log.isBlock eq 0 }"><spring:message code="usual_ddos"/></c:if> --%>
|
||||
</h3>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user