springmvc页面列表显示问题 ,实在没找到问题在哪里 就da'shen'jie'jue
$(function () {
queryData();
})
function queryByTj() {
tb.bootstrapTable("refresh", {query: {pageNumber: 1}});
}
let tb = "";
function queryData() {
tb=$("#tb").bootstrapTable({
url:"${ctx}/querySome",
pagination:true,
pageNUmber:1,
PageSize:3,
pageList:[3,5,6],
sideParamsType:"undefined",
queryparams:function (params) {
console.log(params);
let newParams={
pageNumber:params.pageNumber,
pageSize:params.pageSize,
"name": $("#name").val(),
"ly": $("#ly").val(),
"hy": $("#hy").val(),
"vip": $("#vip").val()
};
return newParams;
},
columns:[{
checkbox:true
},{
field:"no",
title:"编号"
},{
field:"name",
title:"客户名称"
},{
field:"ly",
title:"客户来源"
},{
field:"hy",
title:"客户所属行业"
},{
field:"vip",
title:"客户级别"
},{
field:"zj",
title:"固定电话"
},{
field:"phone",
title:"手机"
},{
title:"操作",
formatter: function (value,row,index) {
var u = "<a class='btn btn-primary' href='javascript:void(0)' id='up'>更新</a>";
var d = "<a class='btn btn-danger' href='javascript:void(0)' id='del'>删除</a>";
return u + " | " + d;
},
events: etevs
}]
});
}![图片说明](https://img-ask.csdn.net/upload/201902/22/1550821114_32544.png)
```,