流水导出

zhangshanxue 2020-10-22 22:02:36 +08:00
parent 0b5c611057
commit ba9756992c
1 changed files with 1 additions and 4 deletions

View File

@ -95,17 +95,14 @@
"aaSorting": [[1, "desc"]],//默认第几个排序
"bStateSave": true,//状态保存x异步 request请求
"pading": false,
"aLengthMenu":[20, 40, 60,-1],
"aoColumnDefs": [
//{"bVisible": false, "aTargets": [ 3 ]} //控制列的隐藏显示
{"orderable": false, "aTargets": [0, 8]}// 不参与排序的列
]
});
function getUserInfo() {
return true
}
function tableToExcel() {
var titles = $("#aa").find("tr:first th"); //获得表头td数组
var json = $("#aa").find("tr:not(:first)").map(function (i, e) {