mirror of https://gitee.com/y_project/RuoYi.git
优化自定义条件查询方法
parent
2ad741c4e8
commit
2d58091792
|
@ -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;
|
||||
}
|
||||
|
||||
/*字典数据-新增字典*/
|
||||
|
|
|
@ -114,14 +114,9 @@
|
|||
});
|
||||
|
||||
function queryParams(params) {
|
||||
return {
|
||||
roleId: $("#roleId").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.roleId = $("#roleId").val();
|
||||
return search;
|
||||
}
|
||||
|
||||
/* 分配用户-选择用户 */
|
||||
|
|
|
@ -100,14 +100,9 @@
|
|||
});
|
||||
|
||||
function queryParams(params) {
|
||||
return {
|
||||
roleId: $("#roleId").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.roleId = $("#roleId").val();
|
||||
return search;
|
||||
}
|
||||
|
||||
/* 添加用户-选择用户-提交 */
|
||||
|
|
Loading…
Reference in New Issue