mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-01 15:32:48 +08:00
Merge branch 'master' of gitee.com:ulthon/ulthon_admin
This commit is contained in:
@@ -200,6 +200,12 @@ layui.define(['table', 'jquery', 'form'], function (exports) {
|
||||
|
||||
//关键词搜索
|
||||
form.on('submit(tableSelect_btn_search)', function (data) {
|
||||
// 判断 table 中是否存在 where 搜索条件
|
||||
if (opt.table.where) {
|
||||
$.each(opt.table.where, function (index, item) {
|
||||
data.field[index] = item
|
||||
});
|
||||
}
|
||||
tableSelect_table.reload({
|
||||
where: data.field,
|
||||
page: {
|
||||
|
||||
Reference in New Issue
Block a user