From cdef327c904a74acb4913fc5d3aeded848af1579 Mon Sep 17 00:00:00 2001 From: wangxin Date: Thu, 30 Aug 2018 10:15:33 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=89=B9=E5=AE=9A?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E7=9A=84form=E8=A1=A8=E5=8D=95=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/specific/specificServiceCfgForm.jsp | 35 +++++++++++-------- 1 file changed, 21 insertions(+), 14 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp b/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp index 2b6b4db90..8b63fb7e1 100644 --- a/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp @@ -92,7 +92,8 @@ } } }); - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[300001,310000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else{ @@ -114,15 +115,18 @@ } }); if($("[name='cfgType']").val()==1){ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[300001,310000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else if($("[name='cfgType']").val()==2){ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[0,2147483647]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else{ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[10001,20000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); } @@ -155,15 +159,18 @@ } }); if(cfgType==1){ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[300001,310000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else if(cfgType==2){ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[0,2147483647]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); }else{ - //$(".protocol_code").html('*:'); + $(".protocol_code").html('*:'); + $("input[name='specServiceCode']").attr("range","[10001,20000]"); $(".protocol_name").html('*:'); $(".protocol_desc").html(':'); } @@ -254,7 +261,7 @@ - +
@@ -290,7 +297,7 @@
- +
@@ -299,7 +306,7 @@
- +
@@ -307,7 +314,7 @@
-
+
--%>
@@ -315,7 +322,7 @@
-
+
From 14be49983461d6b3fc1523dae84d8b1fc62b3a8d Mon Sep 17 00:00:00 2001 From: zhangwenqing Date: Thu, 30 Aug 2018 10:15:45 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=95=8C=E9=9D=A2?= =?UTF-8?q?=E6=B7=BB=E5=8A=A0cfgId=E9=9A=90=E8=97=8F=E5=9F=9F.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/appList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp | 1 + src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp | 1 + src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp | 1 + src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp | 1 + src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp | 4 +++- src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp | 1 + src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp | 3 +++ .../webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp | 3 +++ .../webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp | 4 +++- src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp | 3 +++ src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp | 4 +++- src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp | 1 + 27 files changed, 69 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp b/src/main/webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp index 0be7f8d43..3733750b0 100644 --- a/src/main/webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp +++ b/src/main/webapp/WEB-INF/views/log/manipulation/dkBehaviorList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -50,6 +52,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/appList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/appList.jsp index b3b883178..fae8cfd8d 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/appList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/appList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp index cdc837d24..751e87afb 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/bgpList.jsp @@ -42,6 +42,7 @@ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp index d14deb1ef..7496b4dda 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ddosList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp index 93fc12336..c877a5c57 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/dnsList.jsp @@ -42,6 +42,7 @@ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp index 9220bd3b7..75bc236f0 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/httpList.jsp @@ -42,6 +42,7 @@ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp index 0b42236a3..805d29619 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp @@ -42,6 +42,7 @@ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp index 5b0ea8c62..b410547d2 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ipsecList.jsp @@ -27,6 +27,8 @@ $(document).ready(function(){
+

@@ -41,6 +43,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp index 8b5d615dc..25757cefd 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/l2tpLogList.jsp @@ -28,6 +28,8 @@
+

@@ -45,7 +47,7 @@ - +
diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp index 9439e51ac..2215c0e08 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mailList.jsp @@ -42,6 +42,7 @@ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp index d77399537..f5695bcbe 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmAvIpList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -41,6 +43,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp index 1ac1d2743..97d6f6318 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmAvUrlList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp index 5314c388b..1fda6d323 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmPicIpList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp index a43d8b118..eeb3c8c54 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmPicUrlList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp index cca98f67c..ca35d581a 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmPornAudioSampleList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp index 75586dba2..4db172af5 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmPornVideoSampleList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp index 49fb19310..345ac656c 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleAudioList.jsp @@ -36,6 +36,8 @@
+

@@ -55,6 +57,7 @@ value="${page.pageSize}" /> + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp index 4b95db642..aa39e2a07 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSamplePicList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp index ddceffeb1..2b8fec2ff 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVideoList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp index 5e6e956d0..704c5f10b 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmSampleVoipList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp index 5f6f3ff70..f2506cc1b 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmVoipAccountList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp index 187cba7d0..6a8679935 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/mmVoipIpList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp index 5e7e00a06..4521fadf2 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/openVpnList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp index 2e2c088d2..32f0ec7f6 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/pptpLogList.jsp @@ -28,6 +28,8 @@
+

@@ -45,7 +47,7 @@ - +
diff --git a/src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp index 0fd749f5d..f2bff4850 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/sshList.jsp @@ -28,6 +28,8 @@ $(document).ready(function(){
+

@@ -42,6 +44,7 @@ $(document).ready(function(){ + diff --git a/src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp index 6e33b7326..4a7fcb0cb 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/sslLogList.jsp @@ -29,6 +29,8 @@
+

@@ -46,7 +48,7 @@ - +
diff --git a/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp b/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp index 0326db545..3d09f9605 100644 --- a/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp +++ b/src/main/webapp/WEB-INF/views/log/pxy/pxyHttpList.jsp @@ -42,6 +42,7 @@ +