From 36f836979c0d69f0af1cb6245e7ad04d8a30593d Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Tue, 6 Mar 2018 11:20:00 +0800 Subject: [PATCH 1/5] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E4=B8=9A=E5=8A=A1?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E7=AE=A1=E7=90=86=20list.jsp=20,form.jsp?= =?UTF-8?q?=E5=9B=BD=E9=99=85=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/messages/message_en.properties | 37 ++++++- .../resources/messages/message_ru.properties | 37 ++++++- .../messages/message_zh_CN.properties | 37 ++++++- .../WEB-INF/views/systemService/form.jsp | 100 +++++++++--------- .../WEB-INF/views/systemService/list.jsp | 66 ++++++------ 5 files changed, 188 insertions(+), 89 deletions(-) diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 7131aa19a..756422b52 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -87,7 +87,9 @@ trmp_ip_monitor=trmp ip monitor examine_manage=examine manage audit_manage=audit manage log_search=log search - +sysService_manage=system service manage +service_manage=service type manage +system_service_manage=system service type manage #============menu end====================== #============yewu begin====================== @@ -140,4 +142,35 @@ date_list=Date List confirm_message=Are you sure? fill_loginName=Please fill in the loginName fill_loginPassWord=Please fill in the passWord -#==========message end===================== \ No newline at end of file +#==========message end===================== + +#==========yewuliexingguanli begin===================== +act=action +black=black +monitor=monitor +block_white_list=block white list +monitor_white_list=monitor white list +block_monitor_white_list=block monitor white list +grey_list=grey list +type=type +single_domain=single domain +multi_domain=multi domain +special_service=special service +service_name=service name +service_id=service ID +repeat=repeat +enter_error=enter a error +single_service_message=single domain services can only associate one table +special_service_message=special services can only associate one table +table_name=table name +table_type=table type +string=string +number=number +strong_string=strong string +table_des=table_describe +detail=detail +datebase_table=datebase table +fill_all=fill in all +describe=describe +back=back +#==========yewuliexingguanli end===================== \ No newline at end of file diff --git a/src/main/resources/messages/message_ru.properties b/src/main/resources/messages/message_ru.properties index 7169f6d87..87b77a81d 100644 --- a/src/main/resources/messages/message_ru.properties +++ b/src/main/resources/messages/message_ru.properties @@ -87,7 +87,9 @@ trmp_ip_monitor=trmp ip monitor examine_manage=examine manage audit_manage=audit manage log_search=log search - +sysService_manage=system service manage +service_manage=service type manage +system_service_manage=system service type manage #============menu end====================== #============yewu begin====================== @@ -140,4 +142,35 @@ date_list=Date List confirm_message=Are you sure? fill_loginName=Please fill in the loginName fill_loginPassWord=Please fill in the passWord -#==========message end===================== \ No newline at end of file +#==========message end===================== + +#==========yewuliexingguanli begin===================== +act=action +black=black +monitor=monitor +block_white_list=block white list +monitor_white_list=monitor white list +block_monitor_white_list=block monitor white list +grey_list=grey list +type=type +single_domain=single domain +multi_domain=multi domain +special_service=special service +service_name=service name +service_id=service ID +repeat=repeat +enter_error=enter a error +single_service_message=single domain services can only associate one table +special_service_message=special services can only associate one table +table_name=table name +table_type=table type +string=string +number=number +strong_string=strong string +table_des=table_describe +detail=detail +datebase_table=datebase table +fill_all=fill in all +describe=describe +back=back +#==========yewuliexingguanli end===================== \ No newline at end of file diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index fd0eb3da3..34f007de2 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -87,7 +87,9 @@ audit_manage=\u5ba1\u8ba1\u7ba1\u7406 log_search=\u65e5\u5fd7\u68c0\u7d22 text_control=\u6587\u672c\u5e38\u89c4\u7ba1\u63a7 text_monitor=\u6587\u672c\u5e38\u89c4\u76d1\u6d4b - +sysService_manage=\u7cfb\u7edf\u4e1a\u52a1\u7ba1\u7406 +service_manage=\u4e1a\u52a1\u7c7b\u578b\u7ba1\u7406 +system_service_manage=\u7cfb\u7edf\u4e1a\u52a1\u7c7b\u578b\u7ba1\u7406 #==========menu end===================== #==========yewu zidian begin===================== @@ -139,4 +141,35 @@ confirm_message=\u786e\u5b9a\u5417\uff1f fill_loginName=\u8bf7\u586b\u5199\u767b\u5f55\u8d26\u53f7 fill_loginPassWord=\u8bf7\u586b\u5199\u767b\u5f55\u5bc6\u7801 -#==========message end===================== \ No newline at end of file +#==========message end===================== + +#==========yewuliexingguanli begin===================== +act=\u52a8\u4f5c +black=\u963b\u65ad +monitor=\u76d1\u6d4b +block_white_list=\u5c01\u5835\u767d\u540d\u5355 +monitor_white_list=\u76d1\u6d4b\u767d\u540d\u5355 +block_monitor_white_list=\u5c01\u5835\u76d1\u6d4b\u767d\u540d\u5355 +grey_list=\u7070\u540d\u5355 +type=\u7c7b\u578b +single_domain=\u5355\u57df +multi_domain=\u591a\u57df +special_service=\u7279\u5b9a\u670d\u52a1 +service_name=\u4e1a\u52a1\u540d\u79f0 +service_id=\u4e1a\u52a1ID +repeat=\u91cd\u590d +enter_error=\u8f93\u5165\u9519\u8bef +single_service_message=\u5355\u57df\u4e1a\u52a1\u53ea\u80fd\u5173\u8054\u4e00\u4e2a\u8868 +special_service_message=\u7279\u5b9a\u670d\u52a1\u53ea\u80fd\u5173\u8054\u4e00\u4e2a\u8868 +table_name=\u8868\u540d +table_type=\u8868\u7c7b\u578b +string=\u5b57\u7b26\u4e32 +number=\u6570\u503c +strong_string=\u589e\u5f3a\u5b57\u7b26\u4e32 +table_des=\u8868\u63cf\u8ff0 +detail=\u8be6\u60c5 +datebase_table=\u6570\u636e\u5e93\u8868 +fill_all=\u8bf7\u586b\u5199\u6240\u6709\u5b57\u6bb5 +describe=\u63cf\u8ff0 +back=\u8fd4\u56de +#==========yewuliexingguanli end===================== \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/views/systemService/form.jsp b/src/main/webapp/WEB-INF/views/systemService/form.jsp index 03ed0d6e5..74c2916cf 100644 --- a/src/main/webapp/WEB-INF/views/systemService/form.jsp +++ b/src/main/webapp/WEB-INF/views/systemService/form.jsp @@ -29,20 +29,20 @@ }, messages: { 'serviceName':{ - required:'必填项' + required:'' }, 'serviceId':{ - required:'必填项', - remote:'重复的serviceId' + required:'', + remote:''+'serviceId' }, 'action':{ - required:'必填项' + required:'' }, 'serviceType':{ - required:'必填项' + required:'' }, 'serviceDesc':{ - required:'必填项' + required:'' } }, submitHandler: function(form){ @@ -57,7 +57,7 @@ } } if (flag) { - loading('正在提交,请稍等...'); + loading('LOADING...'); $("[disabled=disabled]").attr("disabled", false); form.submit(); } else { @@ -67,7 +67,7 @@ }, errorContainer: "#messageBox", errorPlacement: function(error, element) { - $("#messageBox").text("输入有误,请先更正。"); + $("#messageBox").text(""); if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){ error.appendTo(element.parent().parent()); } else { @@ -91,7 +91,7 @@ $("#addBtn").attr("disabled", true); } else if ($(obj).val() == '1') { if ($(".table-list").length > 1) { - alert("单域业务只能关联一个表"); + alert(''); $(obj).val(v); } else if ($(".table-list").length == 1) { $("#addBtn").attr("disabled", true); @@ -102,7 +102,7 @@ $("#addBtn").attr("disabled", false); } else if ($(obj).val() == '3') { if ($(".table-list").length > 1) { - alert("特定服务只能关联一个表"); + alert(''); $(obj).val(v); } else if ($(".table-list").length == 1) { $("#addBtn").attr("disabled", true); @@ -156,25 +156,25 @@ '
' + '' + '' + - '*表名: ' + + '*'+''+': ' + ' ' + - '*表类型: ' + + '*'+''+': ' + ' ' + '' + ' ' + - '*MAAT表名: ' + + '*MAAT '+''+': ' + '' + '
' + '
' + - '*表描述: ' + + '*'+''+': ' + '' + - '' + + '' + '
' + '' ); @@ -200,11 +200,11 @@

- 系统业务管理 +

@@ -212,7 +212,7 @@
- 详情
+
@@ -224,46 +224,46 @@
- +
- +
- 请选择 - 阻断 - 监测 - 封堵白名单 - 监测白名单 - 封堵监测白名单 - 灰名单 + + + + + + +
- +
- 请选择 - 单域 - 多域 - 特定服务 + + + +
- +
- - + +
@@ -272,28 +272,28 @@ - *表名: + *: - *表类型: + *: - *MAAT表名: + *MAAT :
- *表描述: + *: - +
@@ -301,14 +301,14 @@
- +
- +
diff --git a/src/main/webapp/WEB-INF/views/systemService/list.jsp b/src/main/webapp/WEB-INF/views/systemService/list.jsp index 393cf39bd..f573bccc3 100644 --- a/src/main/webapp/WEB-INF/views/systemService/list.jsp +++ b/src/main/webapp/WEB-INF/views/systemService/list.jsp @@ -18,7 +18,7 @@ function page(n,s){ function deleteService(id) { if (id) { - if (confirm("确认删除?")) { + if (confirm("")) { $("#serviceId").val(id); $("#searchForm").attr("action","${ctx}/systemService/delete"); $("#searchForm").submit(); @@ -30,12 +30,12 @@ function deleteService(id) {

- 系统业务管理 +

@@ -43,7 +43,7 @@ function deleteService(id) {
- 列表 +
@@ -56,35 +56,35 @@ function deleteService(id) {
- 动作 : + : - 请选择 - 阻断 - 监测 - 封堵白名单 - 监测白名单 - 封堵监测白名单 - 灰名单 + + + + + + + - 类型 : + : - 请选择 - 单域 - 多域 - 特定服务 + + + + - 业务名称 : + : - 业务ID : + : @@ -101,14 +101,14 @@ function deleteService(id) { - - - - + + + + - + @@ -117,17 +117,17 @@ function deleteService(id) { From 752f59b3603a6028176b111f6ff1759dc5c021f8 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Tue, 6 Mar 2018 11:26:32 +0800 Subject: [PATCH 2/5] =?UTF-8?q?=E8=A1=A5=E5=85=85=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E4=B8=9A=E5=8A=A1=E7=B1=BB=E5=9E=8B=E7=AE=A1?= =?UTF-8?q?=E7=90=86=E5=9B=BD=E9=99=85=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 | 2 +- src/main/resources/messages/message_ru.properties | 2 +- src/main/resources/messages/message_zh_CN.properties | 2 +- src/main/webapp/WEB-INF/views/systemService/form.jsp | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/resources/messages/message_en.properties b/src/main/resources/messages/message_en.properties index 756422b52..e88811496 100644 --- a/src/main/resources/messages/message_en.properties +++ b/src/main/resources/messages/message_en.properties @@ -146,7 +146,7 @@ fill_loginPassWord=Please fill in the passWord #==========yewuliexingguanli begin===================== act=action -black=black +block=block monitor=monitor block_white_list=block white list monitor_white_list=monitor white list diff --git a/src/main/resources/messages/message_ru.properties b/src/main/resources/messages/message_ru.properties index 87b77a81d..e706d890d 100644 --- a/src/main/resources/messages/message_ru.properties +++ b/src/main/resources/messages/message_ru.properties @@ -146,7 +146,7 @@ fill_loginPassWord=Please fill in the passWord #==========yewuliexingguanli begin===================== act=action -black=black +block=block monitor=monitor block_white_list=block white list monitor_white_list=monitor white list diff --git a/src/main/resources/messages/message_zh_CN.properties b/src/main/resources/messages/message_zh_CN.properties index 34f007de2..e8cb48922 100644 --- a/src/main/resources/messages/message_zh_CN.properties +++ b/src/main/resources/messages/message_zh_CN.properties @@ -145,7 +145,7 @@ fill_loginPassWord=\u8bf7\u586b\u5199\u767b\u5f55\u5bc6\u7801 #==========yewuliexingguanli begin===================== act=\u52a8\u4f5c -black=\u963b\u65ad +block=\u963b\u65ad monitor=\u76d1\u6d4b block_white_list=\u5c01\u5835\u767d\u540d\u5355 monitor_white_list=\u76d1\u6d4b\u767d\u540d\u5355 diff --git a/src/main/webapp/WEB-INF/views/systemService/form.jsp b/src/main/webapp/WEB-INF/views/systemService/form.jsp index 74c2916cf..90a456523 100644 --- a/src/main/webapp/WEB-INF/views/systemService/form.jsp +++ b/src/main/webapp/WEB-INF/views/systemService/form.jsp @@ -161,7 +161,7 @@ '*'+''+': ' + ' ' + '' + '' + - '*表名: ' + + '*'+''+': ' + ' ' + - '*表类型: ' + + '*'+''+': ' + ' ' + '' + ' ' + - '*MAAT表名: ' + + '*MAAT '+''+': ' + '' + '' + '
' + - '*表描述: ' + + '*'+''+': ' + '' + - '' + + '' + '
' + '' ); @@ -200,11 +200,11 @@

- 系统业务管理 +

@@ -212,7 +212,7 @@
- 详情
+
@@ -224,46 +224,46 @@
- +
- +
- 请选择 - 阻断 - 监测 - 封堵白名单 - 监测白名单 - 封堵监测白名单 - 灰名单 + + + + + + +
- +
- 请选择 - 单域 - 多域 - 特定服务 + + + +
- +
- - + +
@@ -272,28 +272,28 @@ - *表名: + *: - *表类型: + *: - *MAAT表名: + *MAAT :
- *表描述: + *: - +
@@ -301,14 +301,14 @@
- +
- +
diff --git a/src/main/webapp/static/pages/css/systemService.css b/src/main/webapp/static/pages/css/systemService.css index c53ec48d8..c11781ad7 100644 --- a/src/main/webapp/static/pages/css/systemService.css +++ b/src/main/webapp/static/pages/css/systemService.css @@ -20,12 +20,7 @@ select, input { /* form */ .child-input { - width: 160px !important; - display: inline !important; - margin: 6px 5px 6px 5px; -} -.child-input-desc { - width: 320px !important; + width: 50% !important; display: inline !important; margin: 6px 5px 6px 5px; } From fcbf816c2c1d40ccfc06438ac0139d616da729b5 Mon Sep 17 00:00:00 2001 From: chenjinsong Date: Tue, 6 Mar 2018 13:47:48 +0800 Subject: [PATCH 4/5] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E9=85=8D=E7=BD=AE=E7=9A=84=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E9=A1=B5=E4=B8=AD=E6=95=B0=E6=8D=AE=E5=BA=93=E8=A1=A8=E7=9A=84?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/views/systemService/form.jsp | 34 +++++++++++-------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/systemService/form.jsp b/src/main/webapp/WEB-INF/views/systemService/form.jsp index 90a456523..10b09a792 100644 --- a/src/main/webapp/WEB-INF/views/systemService/form.jsp +++ b/src/main/webapp/WEB-INF/views/systemService/form.jsp @@ -156,11 +156,13 @@ '
' + '' + '' + - '*'+''+': ' + + '*'+''+': ' + ' ' + - '*'+''+': ' + + '
' + + '
' + + '*'+''+': ' + ' ' + - ' ' + '' + '' + '' + @@ -168,12 +170,14 @@ '' + '' + ' ' + - '*MAAT '+''+': ' + + '
' + + '
' + + '*MAAT '+''+': ' + '' + '
' + '
' + - '*'+''+': ' + - '' + + '*'+''+': ' + + '' + '' + '
' + '
' @@ -272,12 +276,13 @@ - *: + *: - - *: +
+
+ *: - @@ -285,13 +290,14 @@ - - *MAAT : +
+
+ *MAAT :
- *: - + *: +
From 8c07861b98128d26c00b4a89e2f500851c59de22 Mon Sep 17 00:00:00 2001 From: chenjinsong Date: Tue, 6 Mar 2018 13:55:21 +0800 Subject: [PATCH 5/5] =?UTF-8?q?=E6=89=93=E5=BC=80=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E4=B8=9A=E5=8A=A1=E9=85=8D=E7=BD=AE=E8=AF=A6=E6=83=85=E9=A1=B5?= =?UTF-8?q?=E6=97=B6=E9=A1=B5=E9=9D=A2=E6=BB=9A=E5=8A=A8=E6=9D=A1=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E8=B7=B3=E5=88=B0=E6=9C=80=E9=A1=B6=E4=B8=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/views/systemService/form.jsp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/webapp/WEB-INF/views/systemService/form.jsp b/src/main/webapp/WEB-INF/views/systemService/form.jsp index 10b09a792..8b098b37c 100644 --- a/src/main/webapp/WEB-INF/views/systemService/form.jsp +++ b/src/main/webapp/WEB-INF/views/systemService/form.jsp @@ -8,6 +8,7 @@
业务名称业务ID动作类型 操作
${ssi.serviceName } ${ssi.serviceId } - 阻断 - 监测 - 封堵白名单 - 监测白名单 - 封堵监测白名单 - 灰名单 + + + + + + - 单域 - 多域 - 特定服务 + + + ${ssi.creator.loginId }