From 6f21f50cab09162b666bb436b7f347af8f913a30 Mon Sep 17 00:00:00 2001 From: duandongmei Date: Mon, 27 Aug 2018 15:30:44 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E6=9C=AA=E5=81=9A=E6=9B=B4=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/report/list.jsp | 78 ++++++++++++------- 1 file changed, 50 insertions(+), 28 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/report/list.jsp b/src/main/webapp/WEB-INF/views/report/list.jsp index e393f3941..025b48826 100644 --- a/src/main/webapp/WEB-INF/views/report/list.jsp +++ b/src/main/webapp/WEB-INF/views/report/list.jsp @@ -66,32 +66,7 @@ } } }); - $(".service").each(function(){ - var target=$(this).find("span"); - var action=$(this).data("action"); - $.ajax({ - type:'post', - url:'${ctx}/report/ajaxNtcServiceReport', - data:{ - "action":action, - "functionId":$("#functionId").val(), - "reportType":$('[name="reportType"]').val(), - "reportTime":$('[name="reportTime"]').val() - }, - dataType:'json', - async:true, - success:function(data,textStatus){//处理返回结果 - if(textStatus=="success"){ - target.html(data[action]); - } - }, - complete:function(XMLHttpRequest,status){//超时设置 - if(status=="timeout"){ - target.html(timeout); - } - } - }); - }); + ajaxServiceLogTotal(); $("#export-btn").click(function(){ var te = $(".in table").tableExport({ headings:true, @@ -126,7 +101,54 @@ $("#reportTypeDiv").append(''); } } - +var ajaxServiceLogTotal=function(){ + var services=[]; + var objs=[]; + $(".service").each(function(){ + objs.push($(this)); + services.push($(this).data("service")); + }); + var timeout=$.validator.messages.timeout; + var failed=$.validator.messages.failed; + $.ajax({ + type:'post', + timeout:10000,//超时时间设置,查询接口时间过长超时 + url:'${ctx}/report/ajaxNtcServiceReport', + data:{ + "services":services.join(","), + "functionId":$("#functionId").val(), + "reportType":$('[name="reportType"]').val(), + "reportTime":$('[name="reportTime"]').val() + }, + dataType:'json', + async:true, + success:function(data,textStatus){//处理返回结果 + if(textStatus=="success"){ + for(var i=0;i'); $.ajax({ @@ -193,7 +215,7 @@ function customColumnClick(){ -
btn-primary btn-default"> From c5e83214f269686772d0d66b59749a502f9ac040 Mon Sep 17 00:00:00 2001 From: duandongmei Date: Mon, 27 Aug 2018 15:33:04 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E5=8E=BB=E6=8E=89appType=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E8=8E=B7=E5=8F=96item=5Fvalue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/cfg/app/appTcpCfgForm.jsp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/cfg/app/appTcpCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/app/appTcpCfgForm.jsp index cea10deeb..9161fca19 100644 --- a/src/main/webapp/WEB-INF/views/cfg/app/appTcpCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/app/appTcpCfgForm.jsp @@ -53,9 +53,6 @@ $(function(){
- - -

@@ -93,7 +90,7 @@ $(function(){

From ed5a25afdcb8087e8c03e0a9b9b56e396e524e43 Mon Sep 17 00:00:00 2001 From: leijun Date: Mon, 27 Aug 2018 16:27:33 +0800 Subject: [PATCH 3/5] =?UTF-8?q?APP=20session=20=E5=9B=BD=E9=99=85=E5=8C=96?= =?UTF-8?q?=E5=90=8D=E7=A7=B0=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/messages/message_en.properties | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 09886961e..f7401cd13 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -1096,8 +1096,8 @@ APP_SUBSCRIBE_ID=Certification Mark Configuration reply_file=Reply File app_topic_domain_cfg=Topic Website #=====================about app Tcp================================= -min_tcp=Minimum Session Number -max_tcp=Maximum Session Number +min_tcp=Minimum Session Size +max_tcp=Maximum Session Size tcp_unit=Unit / byte app_tcp_config=APP TCP Session Feature app_tcp_max_min=Maximum Session Should Not Exceed 4294967295 From 5f93a39d3fc434aa90f3d63121de6f9fb3ed9c4e Mon Sep 17 00:00:00 2001 From: zhangwenqing Date: Mon, 27 Aug 2018 16:31:42 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=95=8C=E9=9D=A2=E5=8F=96=E6=B6=88=E6=8C=89?= =?UTF-8?q?=E9=92=AE=E8=B7=B3=E8=BD=AC=E9=97=AE=E9=A2=98.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/appCfgForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/appFeaturesCfg.jsp | 3 --- .../webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/av/picUrl/picUrlForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/av/signSampleForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/av/switchSignSample.jsp | 4 +--- .../webapp/WEB-INF/views/cfg/av/voip/voipAccountForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp | 3 --- .../webapp/WEB-INF/views/cfg/intercept/interceptForm.jsp | 6 +----- src/main/webapp/WEB-INF/views/cfg/ipCfgDemoForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/ipsec/ipForm.jsp | 3 --- .../WEB-INF/views/cfg/maintenance/dnsResStrategy/form.jsp | 3 --- .../WEB-INF/views/cfg/maintenance/ipMultiplexPool/form.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/multipleCfgForm.jsp | 4 +--- src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp | 3 --- src/main/webapp/WEB-INF/views/cfg/other/xmppForm.jsp | 3 --- .../WEB-INF/views/cfg/proxy/control/httpReqReplaceForm.jsp | 3 --- .../WEB-INF/views/cfg/proxy/control/httpResReplaceForm.jsp | 3 --- .../webapp/WEB-INF/views/cfg/proxy/fileStrategy/form.jsp | 4 ---- src/main/webapp/WEB-INF/views/cfg/website/dnsForm.jsp | 3 --- 23 files changed, 3 insertions(+), 72 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp b/src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp index e5cf8fc94..ec9e5fa6f 100644 --- a/src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp +++ b/src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp @@ -5,9 +5,6 @@ <spring:message code="${cfgName}"></spring:message> diff --git a/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp b/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp index 6af43eeb0..6fdb70057 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/contUrl/contUrlForm.jsp @@ -5,9 +5,6 @@ <spring:message code="${cfgName}"></spring:message> diff --git a/src/main/webapp/WEB-INF/views/cfg/av/voip/voipAccountForm.jsp b/src/main/webapp/WEB-INF/views/cfg/av/voip/voipAccountForm.jsp index 1dc0c6a4b..993f7e945 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/voip/voipAccountForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/voip/voipAccountForm.jsp @@ -13,9 +13,6 @@ $(document) .ready( function() { - $("#cancel").on("click", function() { - window.history.back(); - }); $(".action").on("change", function() { $("#serviceId").val($(this).attr("serviceId")); $("#protocolId").val($(this).attr("protocolId")); diff --git a/src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp b/src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp index 4e13ef004..e7152f5f0 100644 --- a/src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/common/domainForm.jsp @@ -13,9 +13,6 @@ $("#cfgRegionCode").val($("#cfgRegionCodeMaat").val()); $("#cfgType").val($("#cfgTypeMaat").val()); } */ - $("#cancel").on("click", function() { - window.history.back(); - }); $(".action").on("change", function() { $("#serviceId").val($(this).attr("serviceId")); $("#protocolId").val($(this).attr("protocolId")); diff --git a/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp index 9fc26d8e4..f63d58057 100644 --- a/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp @@ -5,9 +5,6 @@ <spring:message code="${cfgName}"></spring:message> diff --git a/src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp b/src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp index 2135334a9..c2d9e962a 100644 --- a/src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/other/bgpForm.jsp @@ -13,9 +13,6 @@ $(document) .ready( function() { - $("#cancel").on("click", function() { - window.history.back(); - }); $(".action").on("change", function() { $("#serviceId").val($(this).attr("serviceId")); $("#protocolId").val($(this).attr("protocolId")); diff --git a/src/main/webapp/WEB-INF/views/cfg/other/xmppForm.jsp b/src/main/webapp/WEB-INF/views/cfg/other/xmppForm.jsp index 55e8643e0..548f97c89 100644 --- a/src/main/webapp/WEB-INF/views/cfg/other/xmppForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/other/xmppForm.jsp @@ -13,9 +13,6 @@ $(document) .ready( function() { - $("#cancel").on("click", function() { - window.history.back(); - }); $(".action").on("change", function() { $("#serviceId").val($(this).attr("serviceId")); $("#protocolId").val($(this).attr("protocolId")); diff --git a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpReqReplaceForm.jsp b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpReqReplaceForm.jsp index 868b0f21e..937fcf997 100644 --- a/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpReqReplaceForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/proxy/control/httpReqReplaceForm.jsp @@ -5,9 +5,6 @@ <spring:message code="${cfgName}"></spring:message>