Merge branch 'develop' of http://10.0.6.99/gwall/gwall.git into develop
Conflicts: src/main/resources/sql/function_region_dict_add_colunm.sql 所有配置界面修改为使用region表动态属性值
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
$(function(){
|
||||
$("input[name$='isHex']").on("change",function(){
|
||||
setIsHexBin(this);
|
||||
});
|
||||
$("input[name$='isCaseSenstive']").on("change",function(){
|
||||
$("select[name$='isHexbin']").each(function(){
|
||||
setIsHexBin(this);
|
||||
});
|
||||
$("input[name$='isHex']:checked").each(function(){
|
||||
$("input[name$='isHex']").on("change",function(){
|
||||
setIsHexBin(this);
|
||||
});
|
||||
$("input[name$='isCaseSenstive']").on("change",function(){
|
||||
setIsHexBin(this);
|
||||
});
|
||||
$("a[name=viewLogInfo]>i").on("click",function(){
|
||||
@@ -449,8 +449,27 @@ var setIsHexBin=function(obj){
|
||||
if($(obj).attr("name").indexOf(".") > -1){
|
||||
profix=$(obj).attr("name").substring(0,$(obj).attr("name").indexOf(".")+1);
|
||||
}
|
||||
console.log($(obj).attr("name"));
|
||||
console.log(profix);
|
||||
if($(obj).attr("name").indexOf("isHexbin") > -1){
|
||||
var isHexbin=$(obj).val();
|
||||
if(isHexbin == 0){
|
||||
$("input[name='"+profix+"isHex'][value=0]").prop("checked",true);
|
||||
$("input[name='"+profix+"isHex'][value=1]").prop("checked",false);
|
||||
$("input[name='"+profix+"isCaseSenstive'][value=0]").prop("checked",true);
|
||||
$("input[name='"+profix+"isCaseSenstive'][value=1]").prop("checked",false);
|
||||
}else if(isHexbin == 1){
|
||||
$("input[name='"+profix+"isHex'][value=1]").prop("checked",true);
|
||||
$("input[name='"+profix+"isHex'][value=0]").prop("checked",false);
|
||||
$("input[name='"+profix+"isCaseSenstive'][value=0]").prop("checked",true);
|
||||
$("input[name='"+profix+"isCaseSenstive'][value=1]").prop("checked",false);
|
||||
$("input[name='"+profix+"isCaseSenstive'][value=1]").parent().addClass("hidden");
|
||||
}else if(isHexbin == 2){
|
||||
$("input[name='"+profix+"isHex'][value=0]").prop("checked",true);
|
||||
$("input[name='"+profix+"isHex'][value=1]").prop("checked",false);
|
||||
$("input[name='"+profix+"isCaseSenstive'][value=1]").prop("checked",true);
|
||||
$("input[name='"+profix+"isCaseSenstive'][value=0]").prop("checked",false);
|
||||
}
|
||||
return;
|
||||
}
|
||||
var isHex=$("input[name='"+profix+"isHex']:checked").val();
|
||||
//如果选择十六进制,则必须发小写不敏感
|
||||
if(isHex == 1){
|
||||
|
||||
Reference in New Issue
Block a user