修改动态表单问题
This commit is contained in:
parent
c8c4c492fb
commit
fb0d072626
@ -212,7 +212,7 @@
|
||||
});
|
||||
}
|
||||
// 重载表格
|
||||
function reloadTable() {
|
||||
function reloadTable(currentPage) {
|
||||
table.reload('dataTable', {
|
||||
url: top.restAjax.path(tableUrl, []),
|
||||
where: {
|
||||
@ -221,7 +221,7 @@
|
||||
endTime: $('#endTime').val()
|
||||
},
|
||||
page: {
|
||||
curr: 1
|
||||
curr: currentPage
|
||||
},
|
||||
height: $win.height() - 90,
|
||||
});
|
||||
@ -271,7 +271,7 @@
|
||||
});
|
||||
// 事件 - 搜索
|
||||
$(document).on('click', '#search', function() {
|
||||
reloadTable();
|
||||
reloadTable(1);
|
||||
});
|
||||
// 事件 - 增删改
|
||||
table.on('toolbar(dataTable)', function(obj) {
|
||||
|
Loading…
Reference in New Issue
Block a user