配置界面的Cfg Id检索条件 增加范围和in的检索方式
This commit is contained in:
@@ -739,25 +739,25 @@ window.onload=function(){
|
||||
$("div[class='content content5']").find("label:lt(1)").addClass("keyword-disinline");//page.css 关键词换行
|
||||
})
|
||||
// 配置id的搜索下拉框选择切换
|
||||
if ($("#searchForm #seltype").val() == 'compileId') {
|
||||
$("#searchForm #intype").addClass("number");
|
||||
if ($("#searchForm #seltype").val() == 'compileIdNew') {
|
||||
$("#searchForm #intype").addClass("compileIdCheck");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("number");
|
||||
$("#searchForm #intype").removeClass("compileIdCheck");
|
||||
}
|
||||
// reset时去掉number
|
||||
$("#resetBtn").on("click", function() {
|
||||
if ($("#searchForm #seltype").val() == 'compileId') {
|
||||
$("#searchForm #intype").addClass("number");
|
||||
if ($("#searchForm #seltype").val() == 'compileIdNew') {
|
||||
$("#searchForm #intype").addClass("compileIdCheck");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("number");
|
||||
$("#searchForm #intype").removeClass("compileIdCheck");
|
||||
}
|
||||
});
|
||||
// 切换时为compileId加上number
|
||||
$("#searchForm #seltype").on("change", function() {
|
||||
if ($("#searchForm #seltype").val() == 'compileId') {
|
||||
$("#searchForm #intype").addClass("number");
|
||||
if ($("#searchForm #seltype").val() == 'compileIdNew') {
|
||||
$("#searchForm #intype").addClass("compileIdCheck");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("number");
|
||||
$("#searchForm #intype").removeClass("compileIdCheck");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user