refactor: 用户管理默认排序为注册时间倒序
This commit is contained in:
parent
14f2730d17
commit
9ba0a4dc2e
|
@ -86,8 +86,8 @@ $(function () {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
smartTable: {
|
smartTable: {
|
||||||
sortName: 'DisplayName',
|
sortName: 'RegisterTime',
|
||||||
sortOrder: "asc",
|
sortOrder: "desc",
|
||||||
queryParams: function (params) { return $.extend(params, { name: $("#txt_search_name").val(), displayName: $('#txt_display_name').val() }); }, //传递参数(*)
|
queryParams: function (params) { return $.extend(params, { name: $("#txt_search_name").val(), displayName: $('#txt_display_name').val() }); }, //传递参数(*)
|
||||||
columns: [
|
columns: [
|
||||||
{ title: "登录名称", field: "UserName", sortable: true },
|
{ title: "登录名称", field: "UserName", sortable: true },
|
||||||
|
|
Loading…
Reference in New Issue