更新脚本:增加系统日志默认按照记录时间倒叙排序
This commit is contained in:
parent
f2fbca14e9
commit
1d8b3ea9a7
|
@ -4,6 +4,7 @@
|
||||||
$('table').smartTable({
|
$('table').smartTable({
|
||||||
url: url,
|
url: url,
|
||||||
sortName: 'LogTime',
|
sortName: 'LogTime',
|
||||||
|
sortOrder: 'desc',
|
||||||
queryParams: function (params) { return $.extend(params, { operateType: $("#txt_operate_type").val(), OperateTimeStart: $("#txt_operate_start").val(), OperateTimeEnd: $("#txt_operate_end").val() }); },
|
queryParams: function (params) { return $.extend(params, { operateType: $("#txt_operate_type").val(), OperateTimeStart: $("#txt_operate_start").val(), OperateTimeEnd: $("#txt_operate_end").val() }); },
|
||||||
columns: [
|
columns: [
|
||||||
{ title: "操作类型", field: "CRUD", sortable: true },
|
{ title: "操作类型", field: "CRUD", sortable: true },
|
||||||
|
|
Loading…
Reference in New Issue