src/main/webapp/views/home/console.html | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 |
src/main/webapp/views/home/console.html
@@ -387,10 +387,18 @@ }); // 搜索栏搜索事件 form.on('submit(reset)', function (data) { $(':input', $('#search-box')) .val('') .removeAttr('checked') .removeAttr('selected'); $(':input', $('#search-box')) .val('') .removeAttr('checked') .removeAttr('selected'); var searchData = {}; $.each($('#search-box [name]').serializeArray(), function() { searchData[this.name] = this.value; }); tableIns.reload({ where: searchData }); }); function tableReload() {