1.common.js增加查询时的compileId 为数字判断2.音视频中添加do_log字段,compileId查询
This commit is contained in:
@@ -415,7 +415,31 @@ $(function(){
|
||||
initCommIpVal();
|
||||
});
|
||||
window.onload=function(){
|
||||
//日志查询IP类型增加格式提示
|
||||
// 配置id的搜索下拉框选择切换
|
||||
if ($("#searchForm #seltype").val() == 'compileId') {
|
||||
$("#searchForm #intype").addClass("number");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("number");
|
||||
}
|
||||
// reset时去掉number
|
||||
$("#resetBtn").on("click", function() {
|
||||
if ($("#searchForm #seltype").val() == 'compileId') {
|
||||
$("#searchForm #intype").addClass("number");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("number");
|
||||
}
|
||||
});
|
||||
// 切换时为compileId加上number
|
||||
$("#searchForm #seltype").on("change", function() {
|
||||
if ($("#searchForm #seltype").val() == 'compileId') {
|
||||
$("#searchForm #intype").addClass("number");
|
||||
} else {
|
||||
$("#searchForm #intype").removeClass("number");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
// 日志查询IP类型增加格式提示
|
||||
$("#searchForm [name='capIp']").attr("placeholder","IPv4 0.0.0.0 or IPv6 ::");
|
||||
$("#searchForm [name='sIp']").attr("placeholder","IPv4 0.0.0.0 or IPv6 ::");
|
||||
$("#searchForm [name='dIp']").attr("placeholder","IPv4 0.0.0.0 or IPv6 ::");
|
||||
|
||||
Reference in New Issue
Block a user