diff --git a/src/main/java/com/nis/domain/basics/PolicyGroupInfo.java b/src/main/java/com/nis/domain/basics/PolicyGroupInfo.java index 54c8d8a65..8148b6464 100644 --- a/src/main/java/com/nis/domain/basics/PolicyGroupInfo.java +++ b/src/main/java/com/nis/domain/basics/PolicyGroupInfo.java @@ -21,6 +21,7 @@ public class PolicyGroupInfo extends BaseCfg implements Seriali private String groupName; private Integer groupType; private Integer serviceGroupId; + private String description; public Integer getServiceGroupId() { return serviceGroupId; @@ -58,4 +59,10 @@ public class PolicyGroupInfo extends BaseCfg implements Seriali public void setGroupType(Integer groupType) { this.groupType = groupType; } + public String getDescription() { + return description; + } + public void setDescription(String description) { + this.description = description; + } } diff --git a/src/main/java/com/nis/web/controller/configuration/maintenance/IpMultiplexPoolCfgController.java b/src/main/java/com/nis/web/controller/configuration/maintenance/IpMultiplexPoolCfgController.java index 7bc16fcc9..256e3ffa6 100644 --- a/src/main/java/com/nis/web/controller/configuration/maintenance/IpMultiplexPoolCfgController.java +++ b/src/main/java/com/nis/web/controller/configuration/maintenance/IpMultiplexPoolCfgController.java @@ -131,7 +131,7 @@ public class IpMultiplexPoolCfgController extends BaseController { //查询时left join policyGroup Page page = ipMultiplexPoolCfgService.findPage(new Page(request, response,"r"), entity); model.addAttribute("page", page); - initPageCondition(model,entity); + initFormCondition(model,entity); return "/cfg/maintenance/ipMultiplexPool/snatlist"; } diff --git a/src/main/java/com/nis/web/dao/basics/PolicyGroupInfoDao.xml b/src/main/java/com/nis/web/dao/basics/PolicyGroupInfoDao.xml index 218d135a8..cfa15196a 100644 --- a/src/main/java/com/nis/web/dao/basics/PolicyGroupInfoDao.xml +++ b/src/main/java/com/nis/web/dao/basics/PolicyGroupInfoDao.xml @@ -12,10 +12,11 @@ + - r.group_id,r.group_name,r.group_type,r.is_valid, - r.create_time,r.edit_time,r.creator_id,r.editor_id,r.service_group_id + r.group_id,r.group_name,r.group_type,r.is_valid,r.create_time, + r.edit_time,r.creator_id,r.editor_id,r.service_group_id,r.description @@ -95,14 +96,16 @@ CREATE_TIME, GROUP_NAME, GROUP_TYPE, - SERVICE_GROUP_ID + SERVICE_GROUP_ID, + DESCRIPTION )values ( 1, #{creatorId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP}, #{groupName,jdbcType=VARCHAR}, #{groupType,jdbcType=INTEGER}, - #{serviceGroupId,jdbcType=INTEGER} + #{serviceGroupId,jdbcType=INTEGER}, + #{description,jdbcType=VARCHAR} ) @@ -115,6 +118,9 @@ group_type = #{groupType,jdbcType=INTEGER}, + + description = #{description,jdbcType=VARCHAR}, + is_valid = #{isValid,jdbcType=INTEGER}, diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 15e1e5ac6..df671021b 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -165,7 +165,7 @@ ssl_certificate_monitor=SSL Cert Monitor response_header_control=Response Header Control ip_website_text_control=IP+Website Keyword Control request_task=Letter and Task -realtime_report=Log Report +realtime_report=Statistics protocol_and_app=Protocol And App text_content_monitor=Plaintext multimedia=Multimedia @@ -991,7 +991,7 @@ ip_multiplex_pool_config=IP Reuse Addr Pool letter=Official Letter show_more=Show More #===============dashboard begin=================================== -dashboard=Dashboard +dashboard=Traffic Statistics traffic_chart=Traffic Chart os_type=OS Type browser_type=Browser Type diff --git a/src/main/webapp/WEB-INF/tags/sys/delRow.tag b/src/main/webapp/WEB-INF/tags/sys/delRow.tag index 4f773d9b7..3e1591fd8 100644 --- a/src/main/webapp/WEB-INF/tags/sys/delRow.tag +++ b/src/main/webapp/WEB-INF/tags/sys/delRow.tag @@ -212,7 +212,7 @@ var checkboxes=$("#${id} ${value} tbody tr td input.i-checks:checkbox"); var requestName =requestNameArr[1]; if(requestName.indexOf("null")==-1&&typeof(indexTableName)!="undefined"&&indexTableName!=null&&indexTableName!=''&&indexTableName.indexOf("null")==-1){ - $.jBox.open("iframe:${ctx}/basics/serviceDictInfo/requestSelectInfo", "", 400, 500, { buttons: { '': 1, '': 0 }, + $.jBox.open("iframe:${ctx}/basics/serviceDictInfo/requestSelectInfo", "", 400, 400, { buttons: { '': 1, '': 0 }, submit: function (v, h, f) { if (v == 0) { return true; // close the window diff --git a/src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp b/src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp index 3edce7495..63d1f17d8 100644 --- a/src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp +++ b/src/main/webapp/WEB-INF/views/basics/policyGroupForm.jsp @@ -53,7 +53,7 @@ $(function(){
-
+
@@ -79,6 +79,16 @@ $(function(){
+
+
+
+ +
+ +
+
+
+
@@ -93,7 +103,7 @@ $(function(){
- + diff --git a/src/main/webapp/WEB-INF/views/basics/policyGroupList.jsp b/src/main/webapp/WEB-INF/views/basics/policyGroupList.jsp index cd72e267d..59cdaf382 100644 --- a/src/main/webapp/WEB-INF/views/basics/policyGroupList.jsp +++ b/src/main/webapp/WEB-INF/views/basics/policyGroupList.jsp @@ -216,6 +216,7 @@ + @@ -238,7 +239,7 @@ - + ${fns:abbr(cfg.description,20)} ${cfg.creatorName } ${cfg.editorName } diff --git a/src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp b/src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp index b9e147af0..cb2d8dbe8 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/fileSampleForm.jsp @@ -174,12 +174,12 @@ $(function(){ function hiddenlevel(){ var action=$("input[name='action']:checked").val(); if(action==16){ - $(".leveL").addClass("hidden"); + $(".level").addClass("hidden"); $("select[name='level']").find("option").eq(0).attr("value","0"); $("select[name='level']").val("0"); $("select[name='level']").selectpicker("refresh"); }else { - $(".leveL").removeClass("hidden"); + $(".level").removeClass("hidden"); $("select[name='level']").find("option").eq(0).attr("value",""); $("select[name='level']").val("100"); $("select[name='level']").selectpicker("refresh"); @@ -328,7 +328,7 @@ function sampleFileValidate(fileType,fileName){  " - class="fileNoteInfo" data-icon="" style="cursor:default"> + class="fileNoteInfo" data-icon="" style="cursor:default">
@@ -356,7 +356,7 @@ function sampleFileValidate(fileType,fileName){
--%> -
+
diff --git a/src/main/webapp/WEB-INF/views/cfg/av/switchSignSample.jsp b/src/main/webapp/WEB-INF/views/cfg/av/switchSignSample.jsp index f2e12c7c3..b46b28cd5 100644 --- a/src/main/webapp/WEB-INF/views/cfg/av/switchSignSample.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/av/switchSignSample.jsp @@ -16,23 +16,37 @@ $(function(){ }) }); */ if($("#oldAction").val()==1&&$(".action:checked").attr("id")!="actionOff"){ - $("#level").show(); + $(".level").removeClass("hidden"); + $(".level").find("select[name='level']").find("option").eq(0).attr("value",""); + $(".level").find("select[name='level']").val("100"); + $(".level").find("select[name='level']").selectpicker("refresh"); }else{ - $("#level").hide(); - $("input[name$='level']").val(0); + $(".level").addClass("hidden"); + $(".level").find("select[name$='level']").find("option").eq(0).attr("value","0"); + $(".level").find("select[name$='level']").val("0"); + $(".level").find("select[name$='level']").selectpicker("refresh"); } $("input[name~=action]").on("change",function(){ $("#serviceId").val($(this).attr("serviceId")); if($(".action:checked").val()==1){ - $("#level").show(); - }else{ - $("#level").hide(); - } + $(".level").removeClass("hidden"); + $(".level").find("select[name$='level']").find("option").eq(0).attr("value",""); + $(".level").find("select[name$='level']").val("100"); + $(".level").find("select[name$='level']").selectpicker("refresh"); + }else{ + $(".level").addClass("hidden"); + $(".level").find("select[name$='level']").find("option").eq(0).attr("value","0"); + $(".level").find("select[name$='level']").val("0"); + $(".level").find("select[name$='level']").selectpicker("refresh"); + } if($("#level").is(":hidden")){ $("input[name$='level']").val(0); } if($(".action:checked").attr("id")=="actionOff"){ - $("#level").hide(); + $(".level").addClass("hidden"); + $(".level").find("select[name$='level']").find("option").eq(0).attr("value","0"); + $(".level").find("select[name$='='level']").val("0"); + $(".level").find("select[name$='level']").selectpicker("refresh"); } }); $("#serviceId").val($(".action:checked").attr("serviceId")); @@ -172,13 +186,19 @@ $(function(){
-
diff --git a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/fileDigestForm.jsp b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/fileDigestForm.jsp index 6df5b26a5..927c29225 100644 --- a/src/main/webapp/WEB-INF/views/cfg/fileTransfer/fileDigestForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/fileTransfer/fileDigestForm.jsp @@ -5,7 +5,7 @@ <spring:message code="${cfgName}"></spring:message>