1.datagrid - $('#dg').datagrid({});
$("#book").datagrid('load',{
status:$("#status").val(),
perName:$("#perName").val()
});
$('#book').datagrid({
url : TL.UrlToken('/book/QBookRecord/findPageBorrowList'),
method : "get",
fitColumns : true,
singleSelect : true,
pagination : true,
rownumbers: true,
queryParams:{
status:$("#status").val(),
perName:$("#perName").val()
},
2.异步请求ajax
$.ajax({
url: TL.UrlToken('/book/QBookRecord/findPageBorrowRecord'),
data:{
"status":"1"
},