优化自定义条件查询方法
This commit is contained in:
@@ -122,14 +122,9 @@
|
||||
});
|
||||
|
||||
function queryParams(params) {
|
||||
return {
|
||||
dictType: $("#dictType").val(),
|
||||
pageSize: params.limit,
|
||||
pageNum: params.offset / params.limit + 1,
|
||||
searchValue: params.search,
|
||||
orderByColumn: params.sort,
|
||||
isAsc: params.order
|
||||
};
|
||||
var search = $.table.queryParams(params);
|
||||
search.dictType = $("#dictType").val();
|
||||
return search;
|
||||
}
|
||||
|
||||
/*字典数据-新增字典*/
|
||||
|
Reference in New Issue
Block a user