更新脚本:增加系统日志默认按照记录时间倒叙排序

This commit is contained in:
Argo-MacBookPro 2018-09-09 14:16:03 +08:00
parent f2fbca14e9
commit 1d8b3ea9a7
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
$('table').smartTable({
url: url,
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() }); },
columns: [
{ title: "操作类型", field: "CRUD", sortable: true },