Merge branch 'demostration_08' into 'develop'
Demostration 08 See merge request !31
This commit is contained in:
@@ -4,7 +4,6 @@ import com.wordnik.swagger.annotations.ApiModelProperty;
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @ClassName:MmAvIpLog
|
* @ClassName:MmAvIpLog
|
||||||
* @Description:TODO(这里用一句话描述这个类的作用)
|
|
||||||
* @author (zdx)
|
* @author (zdx)
|
||||||
* @date 2018年7月16日 下午2:54:23
|
* @date 2018年7月16日 下午2:54:23
|
||||||
* @version V1.0
|
* @version V1.0
|
||||||
@@ -19,7 +18,7 @@ public class MmAvIpLog extends BaseLogEntity<MmAvIpLog> {
|
|||||||
@ApiModelProperty(value="封堵现场片段路径", required=true)
|
@ApiModelProperty(value="封堵现场片段路径", required=true)
|
||||||
protected String logUri;
|
protected String logUri;
|
||||||
@ApiModelProperty(value="入口页面", required=true)
|
@ApiModelProperty(value="入口页面", required=true)
|
||||||
protected String refer;
|
protected String referer;
|
||||||
@ApiModelProperty(value="有害级别", required=true)
|
@ApiModelProperty(value="有害级别", required=true)
|
||||||
protected Integer level;
|
protected Integer level;
|
||||||
@ApiModelProperty(value="封堵类型", required=true)
|
@ApiModelProperty(value="封堵类型", required=true)
|
||||||
@@ -44,11 +43,11 @@ public class MmAvIpLog extends BaseLogEntity<MmAvIpLog> {
|
|||||||
public void setLogUri(String logUri) {
|
public void setLogUri(String logUri) {
|
||||||
this.logUri = logUri;
|
this.logUri = logUri;
|
||||||
}
|
}
|
||||||
public String getRefer() {
|
public String getReferer() {
|
||||||
return refer;
|
return referer;
|
||||||
}
|
}
|
||||||
public void setRefer(String refer) {
|
public void setReferer(String referer) {
|
||||||
this.refer = refer;
|
this.referer = referer;
|
||||||
}
|
}
|
||||||
public Integer getLevel() {
|
public Integer getLevel() {
|
||||||
return level;
|
return level;
|
||||||
|
|||||||
@@ -19,7 +19,7 @@ public class MmAvUrlLog extends BaseLogEntity<MmAvUrlLog> {
|
|||||||
@ApiModelProperty(value="封堵现场片段路径", required=true)
|
@ApiModelProperty(value="封堵现场片段路径", required=true)
|
||||||
protected String logUri;
|
protected String logUri;
|
||||||
@ApiModelProperty(value="入口页面", required=true)
|
@ApiModelProperty(value="入口页面", required=true)
|
||||||
protected String refer;
|
protected String referer;
|
||||||
@ApiModelProperty(value="有害级别", required=true)
|
@ApiModelProperty(value="有害级别", required=true)
|
||||||
protected Integer level;
|
protected Integer level;
|
||||||
@ApiModelProperty(value="封堵类型", required=true)
|
@ApiModelProperty(value="封堵类型", required=true)
|
||||||
@@ -44,11 +44,11 @@ public class MmAvUrlLog extends BaseLogEntity<MmAvUrlLog> {
|
|||||||
public void setLogUri(String logUri) {
|
public void setLogUri(String logUri) {
|
||||||
this.logUri = logUri;
|
this.logUri = logUri;
|
||||||
}
|
}
|
||||||
public String getRefer() {
|
public String getReferer() {
|
||||||
return refer;
|
return referer;
|
||||||
}
|
}
|
||||||
public void setRefer(String refer) {
|
public void setReferer(String referer) {
|
||||||
this.refer = refer;
|
this.referer = referer;
|
||||||
}
|
}
|
||||||
public Integer getLevel() {
|
public Integer getLevel() {
|
||||||
return level;
|
return level;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ public class MmPicIpLog extends BaseLogEntity<MmPicIpLog> {
|
|||||||
private String pid;// 节目ID
|
private String pid;// 节目ID
|
||||||
private String url;// 节目访问地址
|
private String url;// 节目访问地址
|
||||||
private String logUri;// fd现场片段路径
|
private String logUri;// fd现场片段路径
|
||||||
private String refer;// 入口页面
|
private String referer;// 入口页面
|
||||||
private Integer level;// 有害级别
|
private Integer level;// 有害级别
|
||||||
private Integer fdType;// fd类型
|
private Integer fdType;// fd类型
|
||||||
private String protocol;// 传输协议
|
private String protocol;// 传输协议
|
||||||
@@ -30,11 +30,11 @@ public class MmPicIpLog extends BaseLogEntity<MmPicIpLog> {
|
|||||||
public void setLogUri(String logUri) {
|
public void setLogUri(String logUri) {
|
||||||
this.logUri = logUri;
|
this.logUri = logUri;
|
||||||
}
|
}
|
||||||
public String getRefer() {
|
public String getReferer() {
|
||||||
return refer;
|
return referer;
|
||||||
}
|
}
|
||||||
public void setRefer(String refer) {
|
public void setReferer(String referer) {
|
||||||
this.refer = refer;
|
this.referer = referer;
|
||||||
}
|
}
|
||||||
public Integer getLevel() {
|
public Integer getLevel() {
|
||||||
return level;
|
return level;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ public class MmPicUrlLog extends BaseLogEntity<MmPicUrlLog>{
|
|||||||
private String pid;// 节目ID
|
private String pid;// 节目ID
|
||||||
private String url;// 节目访问地址
|
private String url;// 节目访问地址
|
||||||
private String logUri;// fd现场片段路径
|
private String logUri;// fd现场片段路径
|
||||||
private String refer;// 入口页面
|
private String referer;// 入口页面
|
||||||
private Integer level;// 有害级别
|
private Integer level;// 有害级别
|
||||||
private Integer fdType;// fd类型
|
private Integer fdType;// fd类型
|
||||||
private String protocol;// 传输协议
|
private String protocol;// 传输协议
|
||||||
@@ -30,11 +30,11 @@ public class MmPicUrlLog extends BaseLogEntity<MmPicUrlLog>{
|
|||||||
public void setLogUri(String logUri) {
|
public void setLogUri(String logUri) {
|
||||||
this.logUri = logUri;
|
this.logUri = logUri;
|
||||||
}
|
}
|
||||||
public String getRefer() {
|
public String getReferer() {
|
||||||
return refer;
|
return referer;
|
||||||
}
|
}
|
||||||
public void setRefer(String refer) {
|
public void setReferer(String referer) {
|
||||||
this.refer = refer;
|
this.referer = referer;
|
||||||
}
|
}
|
||||||
public Integer getLevel() {
|
public Integer getLevel() {
|
||||||
return level;
|
return level;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ public class MmSampleAudioLog extends BaseLogEntity<MmSampleAudioLog>{
|
|||||||
private String pid;// 节目ID
|
private String pid;// 节目ID
|
||||||
private String url;// 节目访问地址
|
private String url;// 节目访问地址
|
||||||
private String logUri;// fd现场片段路径
|
private String logUri;// fd现场片段路径
|
||||||
private String refer;// 入口页面
|
private String referer;// 入口页面
|
||||||
private Integer level;// 有害级别
|
private Integer level;// 有害级别
|
||||||
private Integer fdType;// fd类型
|
private Integer fdType;// fd类型
|
||||||
private String protocol;// 传输协议
|
private String protocol;// 传输协议
|
||||||
@@ -30,11 +30,11 @@ public class MmSampleAudioLog extends BaseLogEntity<MmSampleAudioLog>{
|
|||||||
public void setLogUri(String logUri) {
|
public void setLogUri(String logUri) {
|
||||||
this.logUri = logUri;
|
this.logUri = logUri;
|
||||||
}
|
}
|
||||||
public String getRefer() {
|
public String getReferer() {
|
||||||
return refer;
|
return referer;
|
||||||
}
|
}
|
||||||
public void setRefer(String refer) {
|
public void setReferer(String referer) {
|
||||||
this.refer = refer;
|
this.referer = referer;
|
||||||
}
|
}
|
||||||
public Integer getLevel() {
|
public Integer getLevel() {
|
||||||
return level;
|
return level;
|
||||||
@@ -56,7 +56,7 @@ public class MmSampleAudioLog extends BaseLogEntity<MmSampleAudioLog>{
|
|||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "MmSampleAudioLog [pid=" + pid + ", url=" + url + ", logUri=" + logUri + ", refer=" + refer + ", level="
|
return "MmSampleAudioLog [pid=" + pid + ", url=" + url + ", logUri=" + logUri + ", referer=" + referer + ", level="
|
||||||
+ level + ", fdType=" + fdType + ", protocol=" + protocol + "]";
|
+ level + ", fdType=" + fdType + ", protocol=" + protocol + "]";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ public class MmSamplePicLog extends BaseLogEntity<MmSamplePicLog>{
|
|||||||
private String pid;// 节目ID
|
private String pid;// 节目ID
|
||||||
private String url;// 节目访问地址
|
private String url;// 节目访问地址
|
||||||
private String logUri;// fd现场片段路径
|
private String logUri;// fd现场片段路径
|
||||||
private String refer;// 入口页面
|
private String referer;// 入口页面
|
||||||
private Integer level;// 有害级别
|
private Integer level;// 有害级别
|
||||||
private Integer fdType;// fd类型
|
private Integer fdType;// fd类型
|
||||||
private String protocol;// 传输协议
|
private String protocol;// 传输协议
|
||||||
@@ -29,11 +29,11 @@ public class MmSamplePicLog extends BaseLogEntity<MmSamplePicLog>{
|
|||||||
public void setLogUri(String logUri) {
|
public void setLogUri(String logUri) {
|
||||||
this.logUri = logUri;
|
this.logUri = logUri;
|
||||||
}
|
}
|
||||||
public String getRefer() {
|
public String getReferer() {
|
||||||
return refer;
|
return referer;
|
||||||
}
|
}
|
||||||
public void setRefer(String refer) {
|
public void setReferer(String referer) {
|
||||||
this.refer = refer;
|
this.referer = referer;
|
||||||
}
|
}
|
||||||
public Integer getLevel() {
|
public Integer getLevel() {
|
||||||
return level;
|
return level;
|
||||||
@@ -55,7 +55,7 @@ public class MmSamplePicLog extends BaseLogEntity<MmSamplePicLog>{
|
|||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "MmSamplePicLog [pid=" + pid + ", url=" + url + ", logUri=" + logUri + ", refer=" + refer + ", level="
|
return "MmSamplePicLog [pid=" + pid + ", url=" + url + ", logUri=" + logUri + ", referer=" + referer + ", level="
|
||||||
+ level + ", fdType=" + fdType + ", protocol=" + protocol + "]";
|
+ level + ", fdType=" + fdType + ", protocol=" + protocol + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ public class MmSampleVideoLog extends BaseLogEntity<MmSampleVideoLog>{
|
|||||||
private String pid;// 节目ID
|
private String pid;// 节目ID
|
||||||
private String url;// 节目访问地址
|
private String url;// 节目访问地址
|
||||||
private String logUri;// fd现场片段路径
|
private String logUri;// fd现场片段路径
|
||||||
private String refer;// 入口页面
|
private String referer;// 入口页面
|
||||||
private Integer level;// 有害级别
|
private Integer level;// 有害级别
|
||||||
private Integer fdType;// fd类型
|
private Integer fdType;// fd类型
|
||||||
private String protocol;// 传输协议
|
private String protocol;// 传输协议
|
||||||
@@ -29,11 +29,11 @@ public class MmSampleVideoLog extends BaseLogEntity<MmSampleVideoLog>{
|
|||||||
public void setLogUri(String logUri) {
|
public void setLogUri(String logUri) {
|
||||||
this.logUri = logUri;
|
this.logUri = logUri;
|
||||||
}
|
}
|
||||||
public String getRefer() {
|
public String getReferer() {
|
||||||
return refer;
|
return referer;
|
||||||
}
|
}
|
||||||
public void setRefer(String refer) {
|
public void setReferer(String referer) {
|
||||||
this.refer = refer;
|
this.referer = referer;
|
||||||
}
|
}
|
||||||
public Integer getLevel() {
|
public Integer getLevel() {
|
||||||
return level;
|
return level;
|
||||||
@@ -55,7 +55,7 @@ public class MmSampleVideoLog extends BaseLogEntity<MmSampleVideoLog>{
|
|||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "MmSampleVideoLog [pid=" + pid + ", url=" + url + ", logUri=" + logUri + ", refer=" + refer + ", level="
|
return "MmSampleVideoLog [pid=" + pid + ", url=" + url + ", logUri=" + logUri + ", referer=" + referer + ", level="
|
||||||
+ level + ", fdType=" + fdType + ", protocol=" + protocol + "]";
|
+ level + ", fdType=" + fdType + ", protocol=" + protocol + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -709,7 +709,7 @@ pid=Program Id
|
|||||||
log_uri=Log URI
|
log_uri=Log URI
|
||||||
fd_type=Block Type
|
fd_type=Block Type
|
||||||
access_url=Progam Access URL
|
access_url=Progam Access URL
|
||||||
refer=Refer
|
referer=Referer
|
||||||
black_block_list=Active Block Black List
|
black_block_list=Active Block Black List
|
||||||
static_cfg_block=Static Cfg Block
|
static_cfg_block=Static Cfg Block
|
||||||
first_hit=First Hit
|
first_hit=First Hit
|
||||||
@@ -738,7 +738,7 @@ policy_group_manage=Policy Group
|
|||||||
#===========policy_group_manage end =============
|
#===========policy_group_manage end =============
|
||||||
#=============about manipulation=========
|
#=============about manipulation=========
|
||||||
ip_Reuse_policy=IP Reuse Policy
|
ip_Reuse_policy=IP Reuse Policy
|
||||||
target_ip_protect=Target IP Protect
|
target_ip_protect=Anti DDOS
|
||||||
ratelimit_config=Ratelimit
|
ratelimit_config=Ratelimit
|
||||||
ip_ratelimit=IP Ratelimit
|
ip_ratelimit=IP Ratelimit
|
||||||
domain_ratelimit=Website Ratelimit
|
domain_ratelimit=Website Ratelimit
|
||||||
@@ -984,7 +984,6 @@ dest_ip_report=Dest IP Report
|
|||||||
isp_report=ISP Report
|
isp_report=ISP Report
|
||||||
#=============about report===================
|
#=============about report===================
|
||||||
ip_multiplex_policy=IP Reuse Policy
|
ip_multiplex_policy=IP Reuse Policy
|
||||||
target_ip_protect=Anti DDOS
|
|
||||||
ip_multiplex_pool_config=IP Reuse Addr Pool
|
ip_multiplex_pool_config=IP Reuse Addr Pool
|
||||||
letter=Official Letter
|
letter=Official Letter
|
||||||
show_more=Show More
|
show_more=Show More
|
||||||
|
|||||||
@@ -421,7 +421,7 @@ name_existed=\u7528\u6237\u540D\u5DF2\u5B58\u5728
|
|||||||
parent_org=\u4E0A\u7EA7\u673A\u6784
|
parent_org=\u4E0A\u7EA7\u673A\u6784
|
||||||
is_useable=\u662F\u5426\u53EF\u7528
|
is_useable=\u662F\u5426\u53EF\u7528
|
||||||
address=\u8054\u7CFB\u5730\u5740
|
address=\u8054\u7CFB\u5730\u5740
|
||||||
nochange=\u6682\u65E0\u4FEE\u6539\u8BB0\u5F55!
|
nochange=\u6682\u65E0\u4FEE\u6539\u8BB0\u5F55\!
|
||||||
module_name=\u6A21\u5757\u540D\u79F0
|
module_name=\u6A21\u5757\u540D\u79F0
|
||||||
dict_mark=\u5B57\u5178\u6807\u8BC6
|
dict_mark=\u5B57\u5178\u6807\u8BC6
|
||||||
run_state=\u8FD0\u884C\u72B6\u6001
|
run_state=\u8FD0\u884C\u72B6\u6001
|
||||||
@@ -708,7 +708,7 @@ pid=\u8282\u76EEID
|
|||||||
log_uri=\u5C01\u5835\u73B0\u573A\u7247\u6BB5\u8DEF\u5F84
|
log_uri=\u5C01\u5835\u73B0\u573A\u7247\u6BB5\u8DEF\u5F84
|
||||||
fd_type=\u5C01\u5835\u7C7B\u578B
|
fd_type=\u5C01\u5835\u7C7B\u578B
|
||||||
access_url=\u8282\u76EE\u8BBF\u95EE\u5730\u5740
|
access_url=\u8282\u76EE\u8BBF\u95EE\u5730\u5740
|
||||||
refer=\u5165\u53E3\u9875\u9762
|
referer=\u5165\u53E3\u9875\u9762
|
||||||
black_block_list=\u52A8\u6001\u9ED1\u540D\u5355
|
black_block_list=\u52A8\u6001\u9ED1\u540D\u5355
|
||||||
static_cfg_block=\u9759\u6001\u914D\u7F6E
|
static_cfg_block=\u9759\u6001\u914D\u7F6E
|
||||||
first_hit=\u9996\u6B21\u5206\u6790\u547D\u4E2D
|
first_hit=\u9996\u6B21\u5206\u6790\u547D\u4E2D
|
||||||
@@ -736,9 +736,8 @@ default_group=\u7F3A\u7701\u7EC4
|
|||||||
policy_group_manage=\u7B56\u7565\u5206\u7EC4
|
policy_group_manage=\u7B56\u7565\u5206\u7EC4
|
||||||
#===========policy_group_manage end =============
|
#===========policy_group_manage end =============
|
||||||
#=============about manipulation=========
|
#=============about manipulation=========
|
||||||
ratelimit_config=\u9650\u6D41\u7BA1\u7406
|
|
||||||
target_ip_protect=\u76EE\u6807IP\u9632\u62A4
|
|
||||||
ratelimit_config=\u9650\u901F
|
ratelimit_config=\u9650\u901F
|
||||||
|
target_ip_protect=\u6297DDOS\u653B\u51FB
|
||||||
ip_ratelimit=IP\u9650\u6D41
|
ip_ratelimit=IP\u9650\u6D41
|
||||||
domain_ratelimit=\u57DF\u540D\u9650\u6D41
|
domain_ratelimit=\u57DF\u540D\u9650\u6D41
|
||||||
ratelimit=\u9650\u901F\u6BD4\u4F8B
|
ratelimit=\u9650\u901F\u6BD4\u4F8B
|
||||||
@@ -983,7 +982,6 @@ dest_ip_report=\u76EE\u7684\u56FD\u5BB6IP\u62A5\u8868
|
|||||||
isp_report=\u8FD0\u8425\u5546\u5C40\u70B9\u62A5\u8868
|
isp_report=\u8FD0\u8425\u5546\u5C40\u70B9\u62A5\u8868
|
||||||
#=============about report===================
|
#=============about report===================
|
||||||
ip_multiplex_policy=IP\u590D\u7528\u7B56\u7565
|
ip_multiplex_policy=IP\u590D\u7528\u7B56\u7565
|
||||||
target_ip_protect=\u6297DDOS\u653B\u51FB
|
|
||||||
ip_multiplex_pool_config=IP\u590D\u7528\u5730\u5740\u6C60
|
ip_multiplex_pool_config=IP\u590D\u7528\u5730\u5740\u6C60
|
||||||
letter=\u6765\u51FD
|
letter=\u6765\u51FD
|
||||||
show_more=\u5C55\u793A\u66F4\u591A
|
show_more=\u5C55\u793A\u66F4\u591A
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
<%@ attribute name="unCheckedPS" type="java.lang.String" required="false" description="复选框取消选中时是否关联父子节点,ps关联父子,p关联父,s关联子,都不关联为空"%>
|
<%@ attribute name="unCheckedPS" type="java.lang.String" required="false" description="复选框取消选中时是否关联父子节点,ps关联父子,p关联父,s关联子,都不关联为空"%>
|
||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<input id="${id}Id" name="${name}" class="${cssClass} singleClass" type="hidden" value="${value}" />
|
<input id="${id}Id" name="${name}" class="${cssClass} singleClass" type="hidden" value="${value}" />
|
||||||
<input id="${id}Name" name="${labelName}" ${allowInput?'':'readonly="readonly"'} type="text" value="<spring:message code='${labelValue}'/>" data-msg-required="${dataMsgRequired}" placeholder="${value}"
|
<input id="${id}Name" name="${labelName}" ${allowInput?'':'readonly="readonly"'} type="text" value="<spring:message code='${empty value?"":labelValue}'/>" data-msg-required="${dataMsgRequired}" placeholder="${empty value?labelValue:value}"
|
||||||
class="${cssClass}" style="${cssStyle} background-color:transparent"/>
|
class="${cssClass}" style="${cssStyle} background-color:transparent"/>
|
||||||
|
|
||||||
<div class="input-group-btn">
|
<div class="input-group-btn">
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
ajaxData:{selectIds: $("#${id}Id").val()},buttons:{"<spring:message code='ok'/>":"ok", "<spring:message code='clear'/>":"clear","<spring:message code='close'/>":true}, submit:function(v, h, f){
|
ajaxData:{selectIds: $("#${id}Id").val()},buttons:{"<spring:message code='ok'/>":"ok", "<spring:message code='clear'/>":"clear","<spring:message code='close'/>":true}, submit:function(v, h, f){
|
||||||
if (v == "ok"){
|
if (v == "ok"){
|
||||||
var tree = h.find("iframe")[0].contentWindow.tree;//h.find("iframe").contents();
|
var tree = h.find("iframe")[0].contentWindow.tree;//h.find("iframe").contents();
|
||||||
var ids = [], names = [], nodes = [],types =[];
|
var ids = [], names = [], nodes = [];
|
||||||
if ("${checked}" == "true"){
|
if ("${checked}" == "true"){
|
||||||
nodes = tree.getCheckedNodes(true);
|
nodes = tree.getCheckedNodes(true);
|
||||||
}else{
|
}else{
|
||||||
@@ -100,12 +100,17 @@
|
|||||||
|
|
||||||
}//</c:if><c:if test="${!showParentName}">
|
}//</c:if><c:if test="${!showParentName}">
|
||||||
names.push(nodes[i].name);
|
names.push(nodes[i].name);
|
||||||
if(nodes[i].type){
|
//if(nodes[i].type){
|
||||||
types.push(nodes[i].type);
|
// types.push(nodes[i].type);
|
||||||
}
|
//}
|
||||||
//</c:if><c:if test="${!checked}">
|
//</c:if><c:if test="${!checked}">
|
||||||
break; // 如果为非复选框选择,则返回第一个选择 </c:if>
|
break; // 如果为非复选框选择,则返回第一个选择 </c:if>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if((nodes.length==1)&&(nodes[0].level == 0)&&('true'=='${notAllowSelectRoot}')){
|
||||||
|
top.$.jBox.tip("<spring:message code='no_root'/>("+nodes[0].name+")<spring:message code='reselect'/>");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$("#${id}Id").val(ids.join(",").replace(/u_/ig,""));
|
$("#${id}Id").val(ids.join(",").replace(/u_/ig,""));
|
||||||
//if(types.length>0){
|
//if(types.length>0){
|
||||||
// $("#${id}Id").attr('cfgtype',types.join(","));
|
// $("#${id}Id").attr('cfgtype',types.join(","));
|
||||||
@@ -120,9 +125,7 @@
|
|||||||
//$("#${id}Id").removeAttr('cfgtype');
|
//$("#${id}Id").removeAttr('cfgtype');
|
||||||
$("#${id}Id").change();//手动触发change事件,使Id的值得变化可以被监听到
|
$("#${id}Id").change();//手动触发change事件,使Id的值得变化可以被监听到
|
||||||
$("#${id}Name").val("");
|
$("#${id}Name").val("");
|
||||||
if('${value}'){//如果值不存在,但是value却有值,将placeholder清空
|
$("#${id}Name").attr("placeholder","");
|
||||||
$("#${id}Name").attr("placeholder","");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
if(typeof ${id}TreeselectCallBack == 'function'){
|
if(typeof ${id}TreeselectCallBack == 'function'){
|
||||||
${id}TreeselectCallBack(v, h, f);
|
${id}TreeselectCallBack(v, h, f);
|
||||||
|
|||||||
@@ -201,8 +201,8 @@ var delContent = function(contentClassName, addBtnClassName) {
|
|||||||
<sys:treeselect id="specServiceId" name="specServiceId" value="${_cfg.specServiceId}"
|
<sys:treeselect id="specServiceId" name="specServiceId" value="${_cfg.specServiceId}"
|
||||||
labelName="parent.specServiceName"
|
labelName="parent.specServiceName"
|
||||||
labelValue="${empty _cfg.specServiceId?spec_service_id:fns:getBySpecServiceId(_cfg.specServiceId).specServiceName}"
|
labelValue="${empty _cfg.specServiceId?spec_service_id:fns:getBySpecServiceId(_cfg.specServiceId).specServiceName}"
|
||||||
title="${spec_service_id}" url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${app}" extId=""
|
title="${spec_service_id}" url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${app}" extId="0"
|
||||||
cssClass="form-control required"/>
|
notAllowSelectRoot="true" cssClass="form-control required"/>
|
||||||
</div>
|
</div>
|
||||||
<div for="parent.specServiceName"></div>
|
<div for="parent.specServiceName"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -153,8 +153,8 @@ var delContent = function(contentClassName, addBtnClassName) {
|
|||||||
<sys:treeselect id="specServiceId" name="specServiceId" value="${_cfg.specServiceId}"
|
<sys:treeselect id="specServiceId" name="specServiceId" value="${_cfg.specServiceId}"
|
||||||
labelName="parent.specServiceName"
|
labelName="parent.specServiceName"
|
||||||
labelValue="${empty _cfg.specServiceId?spec_service_id:fns:getBySpecServiceId(_cfg.specServiceId).specServiceName}"
|
labelValue="${empty _cfg.specServiceId?spec_service_id:fns:getBySpecServiceId(_cfg.specServiceId).specServiceName}"
|
||||||
title="${spec_service_id}" url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${app}" extId=""
|
title="${spec_service_id}" url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${app}" extId="0"
|
||||||
cssClass="form-control required"/>
|
notAllowSelectRoot="true" cssClass="form-control required"/>
|
||||||
</div>
|
</div>
|
||||||
<div for="parent.specServiceName"></div>
|
<div for="parent.specServiceName"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -202,8 +202,8 @@ var delContent = function(contentClassName, addBtnClassName) {
|
|||||||
<sys:treeselect id="specServiceId" name="specServiceId" value="${_cfg.specServiceId}"
|
<sys:treeselect id="specServiceId" name="specServiceId" value="${_cfg.specServiceId}"
|
||||||
labelName="parent.specServiceName"
|
labelName="parent.specServiceName"
|
||||||
labelValue="${empty _cfg.specServiceId?spec_service_id:fns:getBySpecServiceId(_cfg.specServiceId).specServiceName}"
|
labelValue="${empty _cfg.specServiceId?spec_service_id:fns:getBySpecServiceId(_cfg.specServiceId).specServiceName}"
|
||||||
title="${spec_service_id}" url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${app}" extId=""
|
title="${spec_service_id}" url="/specific/specificServiceCfg/treeData?isLeafShow=false&cfgType=${app}" extId="0"
|
||||||
cssClass="form-control required"/>
|
notAllowSelectRoot="true" cssClass="form-control required"/>
|
||||||
</div>
|
</div>
|
||||||
<div for="parent.specServiceName"></div>
|
<div for="parent.specServiceName"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ $(document).ready(function(){
|
|||||||
<th><spring:message code='pid'/></th>
|
<th><spring:message code='pid'/></th>
|
||||||
<th><spring:message code='access_url'/></th>
|
<th><spring:message code='access_url'/></th>
|
||||||
<th><spring:message code='log_uri'/></th>
|
<th><spring:message code='log_uri'/></th>
|
||||||
<th><spring:message code='refer'/></th>
|
<th><spring:message code='referer'/></th>
|
||||||
<th><spring:message code='harm_level'/></th>
|
<th><spring:message code='harm_level'/></th>
|
||||||
<th><spring:message code='fd_type'/></th>
|
<th><spring:message code='fd_type'/></th>
|
||||||
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
||||||
@@ -234,7 +234,7 @@ $(document).ready(function(){
|
|||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
${log.refer}
|
${log.referer}
|
||||||
</td>
|
</td>
|
||||||
<td>${log.level}</td>
|
<td>${log.level}</td>
|
||||||
<!--0:动态黑名单FD;1:静态配置FD;2:首次分析命中 -->
|
<!--0:动态黑名单FD;1:静态配置FD;2:首次分析命中 -->
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ $(document).ready(function(){
|
|||||||
<th><spring:message code='pid'/></th>
|
<th><spring:message code='pid'/></th>
|
||||||
<th><spring:message code='access_url'/></th>
|
<th><spring:message code='access_url'/></th>
|
||||||
<th><spring:message code='log_uri'/></th>
|
<th><spring:message code='log_uri'/></th>
|
||||||
<th><spring:message code='refer'/></th>
|
<th><spring:message code='referer'/></th>
|
||||||
<th><spring:message code='harm_level'/></th>
|
<th><spring:message code='harm_level'/></th>
|
||||||
<th><spring:message code='fd_type'/></th>
|
<th><spring:message code='fd_type'/></th>
|
||||||
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
||||||
@@ -234,7 +234,7 @@ $(document).ready(function(){
|
|||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
${log.refer}
|
${log.referer}
|
||||||
</td>
|
</td>
|
||||||
<td>${log.level}</td>
|
<td>${log.level}</td>
|
||||||
<!--0:动态黑名单FD;1:静态配置FD;2:首次分析命中 -->
|
<!--0:动态黑名单FD;1:静态配置FD;2:首次分析命中 -->
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ $(document).ready(function(){
|
|||||||
<th><spring:message code='pid'/></th>
|
<th><spring:message code='pid'/></th>
|
||||||
<th><spring:message code='access_url'/></th>
|
<th><spring:message code='access_url'/></th>
|
||||||
<th><spring:message code='log_uri'/></th>
|
<th><spring:message code='log_uri'/></th>
|
||||||
<th><spring:message code='refer'/></th>
|
<th><spring:message code='referer'/></th>
|
||||||
<th><spring:message code='harm_level'/></th>
|
<th><spring:message code='harm_level'/></th>
|
||||||
<th><spring:message code='fd_type'/></th>
|
<th><spring:message code='fd_type'/></th>
|
||||||
<%--<th><spring:message code='av_protocol'/></th> --%>
|
<%--<th><spring:message code='av_protocol'/></th> --%>
|
||||||
@@ -234,8 +234,8 @@ $(document).ready(function(){
|
|||||||
</a>
|
</a>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td title="${fns:escapeHtml(log.refer)}">
|
<td title="${fns:escapeHtml(log.referer)}">
|
||||||
${fns:stringFormat(log.refer,30)}
|
${fns:stringFormat(log.referer,30)}
|
||||||
</td>
|
</td>
|
||||||
<td>${log.level}</td>
|
<td>${log.level}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ $(document).ready(function(){
|
|||||||
<th><spring:message code='pid'/></th>
|
<th><spring:message code='pid'/></th>
|
||||||
<th><spring:message code='access_url'/></th>
|
<th><spring:message code='access_url'/></th>
|
||||||
<th><spring:message code='log_uri'/></th>
|
<th><spring:message code='log_uri'/></th>
|
||||||
<th><spring:message code='refer'/></th>
|
<th><spring:message code='referer'/></th>
|
||||||
<th><spring:message code='harm_level'/></th>
|
<th><spring:message code='harm_level'/></th>
|
||||||
<th><spring:message code='fd_type'/></th>
|
<th><spring:message code='fd_type'/></th>
|
||||||
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
||||||
@@ -235,7 +235,7 @@ $(document).ready(function(){
|
|||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
${log.refer}
|
${log.referer}
|
||||||
</td>
|
</td>
|
||||||
<td>${log.level}</td>
|
<td>${log.level}</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ $(document).ready(function(){
|
|||||||
<th><spring:message code='pid'/></th>
|
<th><spring:message code='pid'/></th>
|
||||||
<th><spring:message code='access_url'/></th>
|
<th><spring:message code='access_url'/></th>
|
||||||
<th><spring:message code='log_uri'/></th>
|
<th><spring:message code='log_uri'/></th>
|
||||||
<th><spring:message code='refer'/></th>
|
<th><spring:message code='referer'/></th>
|
||||||
<th><spring:message code='harm_level'/></th>
|
<th><spring:message code='harm_level'/></th>
|
||||||
<th><spring:message code='fd_type'/></th>
|
<th><spring:message code='fd_type'/></th>
|
||||||
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
||||||
@@ -236,7 +236,7 @@ $(document).ready(function(){
|
|||||||
<%-- <c:if test="${fn:startsWith(log.logUri, \"http\")}">${log.logUri }</c:if>
|
<%-- <c:if test="${fn:startsWith(log.logUri, \"http\")}">${log.logUri }</c:if>
|
||||||
<c:if test="${!fn:startsWith(log.logUri, \"http\")}">http://${log.logUri }</c:if>'>http://${log.logUri }</a> --%>
|
<c:if test="${!fn:startsWith(log.logUri, \"http\")}">http://${log.logUri }</c:if>'>http://${log.logUri }</a> --%>
|
||||||
</td>
|
</td>
|
||||||
<td>${log.refer}</td>
|
<td>${log.referer}</td>
|
||||||
<td>${log.level}</td>
|
<td>${log.level}</td>
|
||||||
<!--0:动态黑名单FD;1:静态配置FD;2:首次分析命中 -->
|
<!--0:动态黑名单FD;1:静态配置FD;2:首次分析命中 -->
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ $(document).ready(function(){
|
|||||||
<th><spring:message code='pid'/></th>
|
<th><spring:message code='pid'/></th>
|
||||||
<th><spring:message code='access_url'/></th>
|
<th><spring:message code='access_url'/></th>
|
||||||
<th><spring:message code='log_uri'/></th>
|
<th><spring:message code='log_uri'/></th>
|
||||||
<th><spring:message code='refer'/></th>
|
<th><spring:message code='referer'/></th>
|
||||||
<th><spring:message code='harm_level'/></th>
|
<th><spring:message code='harm_level'/></th>
|
||||||
<th><spring:message code='fd_type'/></th>
|
<th><spring:message code='fd_type'/></th>
|
||||||
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
<%-- <th><spring:message code='av_protocol'/></th> --%>
|
||||||
@@ -233,7 +233,7 @@ $(document).ready(function(){
|
|||||||
<%-- <c:if test="${fn:startsWith(log.logUri, \"http\")}">${log.logUri }</c:if>
|
<%-- <c:if test="${fn:startsWith(log.logUri, \"http\")}">${log.logUri }</c:if>
|
||||||
<c:if test="${!fn:startsWith(log.logUri, \"http\")}">http://${log.logUri }</c:if>'>http://${log.logUri }</a> --%>
|
<c:if test="${!fn:startsWith(log.logUri, \"http\")}">http://${log.logUri }</c:if>'>http://${log.logUri }</a> --%>
|
||||||
</td>
|
</td>
|
||||||
<td>${log.refer }</td>
|
<td>${log.referer }</td>
|
||||||
<td>${log.level }</td>
|
<td>${log.level }</td>
|
||||||
<!--0:动态黑名单FD;1:静态配置FD;2:首次分析命中 -->
|
<!--0:动态黑名单FD;1:静态配置FD;2:首次分析命中 -->
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -226,7 +226,7 @@
|
|||||||
<th><spring:message code='pid' /></th>
|
<th><spring:message code='pid' /></th>
|
||||||
<th><spring:message code='access_url' /></th>
|
<th><spring:message code='access_url' /></th>
|
||||||
<th><spring:message code='log_uri' /></th>
|
<th><spring:message code='log_uri' /></th>
|
||||||
<th><spring:message code='refer' /></th>
|
<th><spring:message code='referer' /></th>
|
||||||
<th><spring:message code='harm_level' /></th>
|
<th><spring:message code='harm_level' /></th>
|
||||||
<th><spring:message code='fd_type' /></th>
|
<th><spring:message code='fd_type' /></th>
|
||||||
<%-- <th><spring:message code='av_protocol' /></th> --%>
|
<%-- <th><spring:message code='av_protocol' /></th> --%>
|
||||||
@@ -292,7 +292,7 @@
|
|||||||
</a>
|
</a>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>${log.refer }</td>
|
<td>${log.referer }</td>
|
||||||
<td>${log.level}</td>
|
<td>${log.level}</td>
|
||||||
<td><c:if test="${log.fdType eq 0 }">
|
<td><c:if test="${log.fdType eq 0 }">
|
||||||
<spring:message code="black_block_list" />
|
<spring:message code="black_block_list" />
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ $(document).ready(function(){
|
|||||||
<th><spring:message code='pid' /></th>
|
<th><spring:message code='pid' /></th>
|
||||||
<th><spring:message code='access_url' /></th>
|
<th><spring:message code='access_url' /></th>
|
||||||
<th><spring:message code='log_uri' /></th>
|
<th><spring:message code='log_uri' /></th>
|
||||||
<th><spring:message code='refer' /></th>
|
<th><spring:message code='referer' /></th>
|
||||||
<th><spring:message code='harm_level' /></th>
|
<th><spring:message code='harm_level' /></th>
|
||||||
<th><spring:message code='fd_type' /></th>
|
<th><spring:message code='fd_type' /></th>
|
||||||
<%-- <th><spring:message code='av_protocol' /></th> --%>
|
<%-- <th><spring:message code='av_protocol' /></th> --%>
|
||||||
@@ -234,7 +234,7 @@ $(document).ready(function(){
|
|||||||
</a>
|
</a>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>${log.refer }</td>
|
<td>${log.referer }</td>
|
||||||
<td>${log.level }</td>
|
<td>${log.level }</td>
|
||||||
<td>
|
<td>
|
||||||
<c:if test="${log.fdType eq 0 }"><spring:message code="black_block_list" /></c:if>
|
<c:if test="${log.fdType eq 0 }"><spring:message code="black_block_list" /></c:if>
|
||||||
|
|||||||
@@ -168,7 +168,7 @@ $(document).ready(function(){
|
|||||||
<th><spring:message code='pid' /></th>
|
<th><spring:message code='pid' /></th>
|
||||||
<th><spring:message code='access_url' /></th>
|
<th><spring:message code='access_url' /></th>
|
||||||
<th><spring:message code='log_uri' /></th>
|
<th><spring:message code='log_uri' /></th>
|
||||||
<th><spring:message code='refer' /></th>
|
<th><spring:message code='referer' /></th>
|
||||||
<th><spring:message code='harm_level' /></th>
|
<th><spring:message code='harm_level' /></th>
|
||||||
<th><spring:message code='fd_type' /></th>
|
<th><spring:message code='fd_type' /></th>
|
||||||
<%-- <th><spring:message code='av_protocol' /></th> --%>
|
<%-- <th><spring:message code='av_protocol' /></th> --%>
|
||||||
@@ -234,7 +234,7 @@ $(document).ready(function(){
|
|||||||
</a>
|
</a>
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
<td>${log.refer }</td>
|
<td>${log.referer }</td>
|
||||||
<td>${log.level}</td>
|
<td>${log.level}</td>
|
||||||
<td><c:if test="${log.fdType eq 0 }">
|
<td><c:if test="${log.fdType eq 0 }">
|
||||||
<spring:message code="black_block_list" />
|
<spring:message code="black_block_list" />
|
||||||
|
|||||||
@@ -89,7 +89,7 @@
|
|||||||
for(var i=0; i<ids.length; i++) {
|
for(var i=0; i<ids.length; i++) {
|
||||||
var node = tree.getNodeByParam("id", (type==3?"u_":"")+ids[i]);
|
var node = tree.getNodeByParam("id", (type==3?"u_":"")+ids[i]);
|
||||||
//如果节点id与排除id相同,不被选中
|
//如果节点id与排除id相同,不被选中
|
||||||
if(node.id!="${extId}"){
|
if(node.id!=parseInt("${extId}")){
|
||||||
if("${checked}" == "true"){
|
if("${checked}" == "true"){
|
||||||
try{tree.checkNode(node, true, true);}catch(e){}
|
try{tree.checkNode(node, true, true);}catch(e){}
|
||||||
tree.selectNode(node, false);
|
tree.selectNode(node, false);
|
||||||
|
|||||||
Reference in New Issue
Block a user