@ -274,7 +274,8 @@ function initTabMySQL(){
function mysqlCommonFuncMysqlNSQL ( ) {
function renderSQL ( ) {
var sid = mysqlGetSid ( ) ;
myPostCBN ( 'get_topn_list' , { 'sid' : sid } , function ( rdata ) {
var filter _db = $ ( '#filter_db' ) . is ( ':checked' ) ;
myPostCBN ( 'get_topn_list' , { 'sid' : sid , 'filter_db' : filter _db ? 'yes' : 'no' } , function ( rdata ) {
var data = rdata . data ;
if ( data [ 'status' ] ) {
var items = data . data ;
@ -313,6 +314,13 @@ function mysqlCommonFuncMysqlNSQL(){
< label id = "real_time_label" class = "btswitch-btn" for = "real_time_monitoring" > < / l a b e l > \
< / d i v > \
< / d i v > \
< div class = "ss-text pull-left" style = "padding-left:10px;" > \
< em > 过滤数据库 < / e m > \
< div class = "ssh-item" > \
< input class = "btswitch btswitch-ios" id = "filter_db" type = "checkbox" > \
< label class = "btswitch-btn" for = "filter_db" > < / l a b e l > \
< / d i v > \
< / d i v > \
< / d i v > \
< hr / > \
< table class = "table table-hover" id = "topn_list" > \