基础协议,APP协议配置,监测业务,ip域默认展开,并且必须输入
This commit is contained in:
@@ -1145,4 +1145,5 @@ dest_country=Dest IP Country
|
|||||||
MM_SPEAKER_RECOGNIZATION=Speaker Recognization
|
MM_SPEAKER_RECOGNIZATION=Speaker Recognization
|
||||||
MM_LOGO_DETECTION=Logo Detection
|
MM_LOGO_DETECTION=Logo Detection
|
||||||
MM_FACE_RECOGNIZATION=Face Recognization
|
MM_FACE_RECOGNIZATION=Face Recognization
|
||||||
preset=Preset
|
preset=Preset
|
||||||
|
ip_must_select=IP Configuration must select
|
||||||
@@ -1136,4 +1136,5 @@ dest_country=\u0421\u0442\u0440\u0430\u043D\u0430 \u0446\u0435\u043B\u0435\u0432
|
|||||||
MM_SPEAKER_RECOGNIZATION=Speaker Recognization
|
MM_SPEAKER_RECOGNIZATION=Speaker Recognization
|
||||||
MM_LOGO_DETECTION=Logo Detection
|
MM_LOGO_DETECTION=Logo Detection
|
||||||
MM_FACE_RECOGNIZATION=Face Recognization
|
MM_FACE_RECOGNIZATION=Face Recognization
|
||||||
preset=Preset
|
preset=Preset
|
||||||
|
ip_must_select=IP配置必选
|
||||||
@@ -1143,4 +1143,5 @@ dest_country=\u76EE\u7684IP\u6240\u5C5E\u56FD\u5BB6
|
|||||||
MM_SPEAKER_RECOGNIZATION=\u8BF4\u8BDD\u4EBA\u8BC6\u522B
|
MM_SPEAKER_RECOGNIZATION=\u8BF4\u8BDD\u4EBA\u8BC6\u522B
|
||||||
MM_LOGO_DETECTION=\u53F0\u6807\u8BC6\u522B
|
MM_LOGO_DETECTION=\u53F0\u6807\u8BC6\u522B
|
||||||
MM_FACE_RECOGNIZATION=\u4EBA\u8138\u8BC6\u522B
|
MM_FACE_RECOGNIZATION=\u4EBA\u8138\u8BC6\u522B
|
||||||
preset=\u9884\u7F6E
|
preset=\u9884\u7F6E
|
||||||
|
ip_must_select=IP\u914D\u7F6E\u5FC5\u9009
|
||||||
@@ -18,6 +18,9 @@ $(function(){
|
|||||||
}else{
|
}else{
|
||||||
$(".subscribeId").hide();
|
$(".subscribeId").hide();
|
||||||
}
|
}
|
||||||
|
if($(this).val()==1){
|
||||||
|
$(".ipPortAdd").click();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
||||||
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
||||||
@@ -46,6 +49,10 @@ $(function(){
|
|||||||
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
|
top.$.jBox.tip("<spring:message code='one_more'/>", "<spring:message code='info'/>");
|
||||||
return;
|
return;
|
||||||
} */
|
} */
|
||||||
|
if($("[name=action]:checked").val()==1&&$(".ipPortAdd").parents(".form-section").next(".boxSolid").is(":hidden")){
|
||||||
|
top.$.jBox.tip("<spring:message code='ip_must_select'/>", "<spring:message code='info'/>");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$(".boxSolid:visible").find("input[name$='cfgKeywords']").each(function(){
|
$(".boxSolid:visible").find("input[name$='cfgKeywords']").each(function(){
|
||||||
if($(this).val()==''){
|
if($(this).val()==''){
|
||||||
$(this).parents(".form-group").find(
|
$(this).parents(".form-group").find(
|
||||||
@@ -330,7 +337,7 @@ var delContent = function(contentClassName, addBtnClassName) {
|
|||||||
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
||||||
<spring:message code="NTC_UNIVERSAL_IP" />
|
<spring:message code="NTC_UNIVERSAL_IP" />
|
||||||
<small> <span
|
<small> <span
|
||||||
class="glyphicon glyphicon-plus ${tabName}Add"
|
class="glyphicon glyphicon-plus ${tabName}Add ipPortAdd"
|
||||||
onClick="addContent(this,'${tabName}')" title="add"></span></small>
|
onClick="addContent(this,'${tabName}')" title="add"></span></small>
|
||||||
</h4>
|
</h4>
|
||||||
<c:set var="cfgName" value="ipPortList[${ipCfgIndex}]"></c:set>
|
<c:set var="cfgName" value="ipPortList[${ipCfgIndex}]"></c:set>
|
||||||
|
|||||||
@@ -24,6 +24,9 @@ $(function(){
|
|||||||
}else{
|
}else{
|
||||||
$("#ratelimit").hide();
|
$("#ratelimit").hide();
|
||||||
}
|
}
|
||||||
|
if($(this).val()==1){
|
||||||
|
$(".ipPortAdd").click();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
$("#serviceId").val($(".action:checked").attr("serviceId"));
|
||||||
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
$("#protocolId").val($(".action:checked").attr("protocolId"));
|
||||||
@@ -51,6 +54,10 @@ $(function(){
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
var flag = true;
|
var flag = true;
|
||||||
|
if($("[name=action]:checked").val()==1&&$(".ipPortAdd").parents(".form-section").next(".boxSolid").is(":hidden")){
|
||||||
|
top.$.jBox.tip("<spring:message code='ip_must_select'/>", "<spring:message code='info'/>");
|
||||||
|
return false;
|
||||||
|
}
|
||||||
$(".boxSolid:visible").find("input[name$='cfgKeywords']").each(function(){
|
$(".boxSolid:visible").find("input[name$='cfgKeywords']").each(function(){
|
||||||
|
|
||||||
if($(this).val()==''){
|
if($(this).val()==''){
|
||||||
@@ -299,7 +306,7 @@ var delContent = function(contentClassName, addBtnClassName) {
|
|||||||
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
<c:set var="tabName" value="${region.configRegionValue}Tab"></c:set>
|
||||||
<spring:message code="NTC_UNIVERSAL_IP" />
|
<spring:message code="NTC_UNIVERSAL_IP" />
|
||||||
<small> <span
|
<small> <span
|
||||||
class="glyphicon glyphicon-plus ${tabName}Add"
|
class="glyphicon glyphicon-plus ${tabName}Add ipPortAdd"
|
||||||
onClick="addContent(this,'${tabName}')" title="add"></span></small>
|
onClick="addContent(this,'${tabName}')" title="add"></span></small>
|
||||||
</h4>
|
</h4>
|
||||||
<c:set var="cfgName" value="ipPortList[${ipCfgIndex}]"></c:set>
|
<c:set var="cfgName" value="ipPortList[${ipCfgIndex}]"></c:set>
|
||||||
|
|||||||
Reference in New Issue
Block a user