多表格切换表单查询参数

pull/340/head
RuoYi 2021-10-30 10:28:20 +08:00
parent 775d77ee6d
commit 086458b89d
2 changed files with 3 additions and 0 deletions

View File

@ -163,6 +163,7 @@ var table = {
}, },
// 查询条件 // 查询条件
queryParams: function(params) { queryParams: function(params) {
table.set();
var curParams = { var curParams = {
// 传递参数查询参数 // 传递参数查询参数
pageSize: params.limit, pageSize: params.limit,

View File

@ -86,6 +86,7 @@
$(function() { $(function() {
var options = { var options = {
id: "bootstrap-table1", id: "bootstrap-table1",
formId: "form1",
toolbar: "toolbar1", toolbar: "toolbar1",
url: prefix + "/list", url: prefix + "/list",
createUrl: prefix + "/add", createUrl: prefix + "/add",
@ -145,6 +146,7 @@
$(function() { $(function() {
var options = { var options = {
id: "bootstrap-table2", id: "bootstrap-table2",
formId: "form2",
toolbar: "toolbar2", toolbar: "toolbar2",
url: prefix + "/list", url: prefix + "/list",
createUrl: prefix + "/add", createUrl: prefix + "/add",