注释掉特定协议中的序号动态变更
This commit is contained in:
@@ -96,7 +96,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||||
$("input[name='specServiceCode']").attr("range","[300001,310000]");
|
//$("input[name='specServiceCode']").attr("range","[300001,310000]");
|
||||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
||||||
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
||||||
}else{
|
}else{
|
||||||
@@ -119,17 +119,17 @@
|
|||||||
});
|
});
|
||||||
if($("[name='cfgType']").val()==1){
|
if($("[name='cfgType']").val()==1){
|
||||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||||
$("input[name='specServiceCode']").attr("range","[300001,310000]");
|
//$("input[name='specServiceCode']").attr("range","[300001,310000]");
|
||||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
||||||
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
||||||
}else if($("[name='cfgType']").val()==2){
|
}else if($("[name='cfgType']").val()==2){
|
||||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
|
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
|
||||||
$("input[name='specServiceCode']").attr("range","[0,2147483647]");
|
//$("input[name='specServiceCode']").attr("range","[0,2147483647]");
|
||||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
|
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
|
||||||
$(".protocol_desc").html('<spring:message code="tunnel_desc"/>:');
|
$(".protocol_desc").html('<spring:message code="tunnel_desc"/>:');
|
||||||
}else{
|
}else{
|
||||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
|
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
|
||||||
$("input[name='specServiceCode']").attr("range","[10001,20000]");
|
//$("input[name='specServiceCode']").attr("range","[10001,20000]");
|
||||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');
|
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');
|
||||||
$(".protocol_desc").html('<spring:message code="protocol_desc"/>:');
|
$(".protocol_desc").html('<spring:message code="protocol_desc"/>:');
|
||||||
}
|
}
|
||||||
@@ -163,17 +163,17 @@
|
|||||||
});
|
});
|
||||||
if(cfgType==1){
|
if(cfgType==1){
|
||||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
$(".protocol_code").html('<font color="red">*</font><spring:message code="app_code"/>:');
|
||||||
$("input[name='specServiceCode']").attr("range","[300001,310000]");
|
//$("input[name='specServiceCode']").attr("range","[300001,310000]");
|
||||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
$(".protocol_name").html('<font color="red">*</font><spring:message code="app_name"/>:');
|
||||||
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
$(".protocol_desc").html('<spring:message code="app_desc"/>:');
|
||||||
}else if(cfgType==2){
|
}else if(cfgType==2){
|
||||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
|
$(".protocol_code").html('<font color="red">*</font><spring:message code="tunnel_code"/>:');
|
||||||
$("input[name='specServiceCode']").attr("range","[0,2147483647]");
|
//$("input[name='specServiceCode']").attr("range","[0,2147483647]");
|
||||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
|
$(".protocol_name").html('<font color="red">*</font><spring:message code="tunnel_name"/>:');
|
||||||
$(".protocol_desc").html('<spring:message code="tunnel_desc"/>:');
|
$(".protocol_desc").html('<spring:message code="tunnel_desc"/>:');
|
||||||
}else{
|
}else{
|
||||||
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
|
$(".protocol_code").html('<font color="red">*</font><spring:message code="protocol_code"/>:');
|
||||||
$("input[name='specServiceCode']").attr("range","[10001,20000]");
|
//$("input[name='specServiceCode']").attr("range","[10001,20000]");
|
||||||
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');
|
$(".protocol_name").html('<font color="red">*</font><spring:message code="protocol_name"/>:');
|
||||||
$(".protocol_desc").html('<spring:message code="protocol_desc"/>:');
|
$(".protocol_desc").html('<spring:message code="protocol_desc"/>:');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user