block时level默认为0 monitor时level默认100

修改request、cfg、sys_log、proc_exec_log表的id为bigint
This commit is contained in:
duandongmei
2018-10-17 14:53:52 +08:00
parent 94cb4fc9e4
commit a9b78e358a
2 changed files with 10 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
alter table cfg_num_statistics modify column id bigint;
alter table request_num_statistics modify column id bigint;
alter table proc_exec_log modify column id bigint;
alter table sys_log modify column id bigint;
alter table cfg_num_statistics modify column id bigint auto_increment;
alter table request_num_statistics modify column id bigint auto_increment;
alter table proc_exec_log modify column id bigint auto_increment;
alter table sys_log modify column id bigint auto_increment;

View File

@@ -88,10 +88,14 @@ function hiddenlevel(){
var action=$("input[name='action']:checked").val();
if(action==16){
$(".leveL").addClass("hidden");
$("select[name='level']").val(0);
$("select[name='level']").find("option").eq(0).attr("value","0");
$("select[name='level']").val("0");
$("select[name='level']").selectpicker("refresh");
}else {
$(".leveL").removeClass("hidden");
$("select[name='level']").val(0);
$("select[name='level']").find("option").eq(0).attr("value","");
$("select[name='level']").val("100");
$("select[name='level']").selectpicker("refresh");
}
}
</script>