单域配置调整
(1)简化逻辑部分代码写到了BaseController里 (2)字符串,增强字符串配置的区域GK提交 (3)单域配置的审核部分目前不会下发area_ip_cfg给maat,后续会调整
This commit is contained in:
@@ -65,4 +65,20 @@ var switchIpType=function(obj){
|
||||
$(dstIp).val("::");
|
||||
}
|
||||
}
|
||||
}
|
||||
var areaControlInit=function(){
|
||||
if($("input[name='isAreaEffective']:checked").val()==1){
|
||||
$(".areaType").removeClass("hidden");
|
||||
if($("input[name='areaEffectiveIds']").val()){
|
||||
$(".areaType").find("[value='1']").prop("checked",true);
|
||||
$("#areaIsp").removeClass("hidden");
|
||||
$("#areaIp").addClass("hidden");
|
||||
}else{
|
||||
$(".areaType").find("[value='0']").prop("checked",true);
|
||||
$("#areaIp").removeClass("hidden");
|
||||
$("#areaIsp").addClass("hidden");
|
||||
}
|
||||
}else{
|
||||
$("input[name='areaEffectiveIds']").val("");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user