From 721d719bf0bcaaf40ff8108510f083c1f83eb749 Mon Sep 17 00:00:00 2001 From: wangxin Date: Thu, 30 Aug 2018 11:50:12 +0800 Subject: [PATCH 1/8] =?UTF-8?q?(1)=E4=BF=AE=E5=A4=8D=E5=9F=BA=E7=A1=80?= =?UTF-8?q?=E5=8D=8F=E8=AE=AE=E6=A0=B9=E8=8A=82=E7=82=B9=EF=BC=8C=E7=88=B6?= =?UTF-8?q?=E8=8A=82=E7=82=B9=E5=8F=AF=E9=80=89=E7=9A=84bug=20(2)=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D=E5=8A=A0=E5=AF=86=E9=9A=A7=E9=81=93=E8=A1=8C=E4=B8=BA?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=9F=A5=E8=AF=A2=E6=9D=A1=E4=BB=B6=E5=8F=AF?= =?UTF-8?q?=E9=80=89=E6=A0=B9=E8=8A=82=E7=82=B9=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp | 2 +- src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp | 2 +- src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp index 0c4f469f8..d2e791a27 100644 --- a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/form.jsp @@ -177,7 +177,7 @@ var delContent = function(contentClassName, addBtnClassName) {
diff --git a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp index 8ebd2c3bc..991937930 100644 --- a/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/basicprotocol/list.jsp @@ -135,7 +135,7 @@
diff --git a/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp b/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp index 9bef21bfd..6bbbf6260 100644 --- a/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/encryptedtunnelbehav/list.jsp @@ -135,7 +135,7 @@
From fa1f24c21f72176439c4864259f19ff592f1119b Mon Sep 17 00:00:00 2001 From: wangxin Date: Thu, 30 Aug 2018 12:57:27 +0800 Subject: [PATCH 2/8] =?UTF-8?q?(1)=E7=89=B9=E5=AE=9A=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E6=90=9C=E7=B4=A2=E5=88=97=E8=A1=A8=E9=BB=98=E8=AE=A4=E9=80=89?= =?UTF-8?q?=E6=8B=A9app=20(2)=E7=89=B9=E5=AE=9A=E6=9C=8D=E5=8A=A1=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E4=BF=AE=E6=94=B9=E5=AE=8C=E6=88=90=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E8=B7=B3=E8=BD=AC=E5=88=B0=E5=AF=B9=E5=BA=94=E7=B1=BB=E5=9E=8B?= =?UTF-8?q?=E7=9A=84=E8=A1=A8=E5=8D=95=E4=B8=8A=20(3)=E7=89=B9=E5=AE=9A?= =?UTF-8?q?=E6=9C=8D=E5=8A=A1=E5=88=97=E8=A1=A8code,name,desc=E5=AF=B9?= =?UTF-8?q?=E5=BA=94=E4=BF=AE=E6=94=B9=20(4)=E7=89=B9=E5=AE=9A=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E4=B8=9A=E5=8A=A1=E7=B1=BB=E5=9E=8B=E9=99=A4=E4=BA=86?= =?UTF-8?q?=E5=8A=A0=E5=AF=86=E9=9A=A7=E9=81=93=E8=A1=8C=E4=B8=BA=EF=BC=8C?= =?UTF-8?q?=E9=83=BD=E5=8A=A0=E5=85=A5=E6=90=9C=E7=B4=A2=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../SpecificServiceCfgController.java | 5 +- .../views/specific/specificServiceCfgForm.jsp | 4 +- .../views/specific/specificServiceCfgList.jsp | 49 +++++++++++++++++-- 3 files changed, 50 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/nis/web/controller/specific/SpecificServiceCfgController.java b/src/main/java/com/nis/web/controller/specific/SpecificServiceCfgController.java index 00772e7b8..a9266af14 100644 --- a/src/main/java/com/nis/web/controller/specific/SpecificServiceCfgController.java +++ b/src/main/java/com/nis/web/controller/specific/SpecificServiceCfgController.java @@ -73,6 +73,9 @@ public class SpecificServiceCfgController extends BaseController { searchType = "groupId"; searchContent = specificServiceCfg.getGroupId().toString(); } + if(specificServiceCfg.getCfgType()==null){ + specificServiceCfg.setCfgType(1); + } model.addAttribute("searchType", searchType); model.addAttribute("searchContent", searchContent); @@ -163,7 +166,7 @@ public class SpecificServiceCfgController extends BaseController { e.printStackTrace(); addMessage(redirectAttributes, "save_failed"); } - return "redirect:" + adminPath + "/specific/specificServiceCfg/list"; + return "redirect:" + adminPath + "/specific/specificServiceCfg/list?cfgType="+specificServiceCfg.getCfgType(); } /** diff --git a/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp b/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp index 8b63fb7e1..e16d8c780 100644 --- a/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/specific/specificServiceCfgForm.jsp @@ -250,7 +250,7 @@
-