mirror of
https://github.com/netcccyun/dnsmgr.git
synced 2026-05-09 07:06:26 +02:00
解析支持高级搜索
This commit is contained in:
@@ -15,7 +15,7 @@ if (parameter_str !== undefined) {
|
||||
}
|
||||
|
||||
function searchSubmit(){
|
||||
$('#listTable').bootstrapTable('refresh');
|
||||
$('#listTable').bootstrapTable('selectPage', 1);
|
||||
return false;
|
||||
}
|
||||
function searchClear(){
|
||||
@@ -25,7 +25,7 @@ function searchClear(){
|
||||
$('#searchToolbar').find('select[name]').each(function() {
|
||||
$(this).find('option:first').prop("selected", 'selected');
|
||||
});
|
||||
$('#listTable').bootstrapTable('refresh');
|
||||
$('#listTable').bootstrapTable('selectPage', 1);
|
||||
}
|
||||
function updateToolbar(){
|
||||
$('#searchToolbar').find(':input[name]').each(function() {
|
||||
@@ -67,6 +67,7 @@ if (typeof $.fn.bootstrapTable !== "undefined") {
|
||||
queryParamsType: '',
|
||||
queryParams: function(params) {
|
||||
$('#searchToolbar').find(':input[name]').each(function() {
|
||||
if(!$(this).is(":visible")) return;
|
||||
params[$(this).attr('name')] = $(this).val()
|
||||
})
|
||||
updateQueryStr(params);
|
||||
|
||||
Reference in New Issue
Block a user