|
|
@ -65,12 +65,13 @@ |
|
|
|
this.userGrid.datagrid({ |
|
|
|
columns: [[ |
|
|
|
{ field: 'RealName', title: '姓名', align: 'center', width: 120 }, |
|
|
|
{ field: 'OrgName', title: '所属机构', align: 'center', width: 120 }, |
|
|
|
{ field: 'LoginName', title: '登录账户', align: 'center', width: 120 }, |
|
|
|
{ field: 'LoginPassWord', title: '登录密码', align: 'center', width: 120, formatter: this.formatPassword.bind(this) }, |
|
|
|
{ field: 'OrgName', title: '所属机构', align: 'left', width: 120 }, |
|
|
|
{ field: 'LoginName', title: '登录账户', align: 'left', width: 120 }, |
|
|
|
{ field: 'LoginPassWord', title: '登录密码', align: 'left', width: 120, formatter: this.formatPassword.bind(this) }, |
|
|
|
{ field: 'ComputeCount', title: '登录次数', align: 'center', width: 100 }, |
|
|
|
{ field: 'LastComputeTime', title: '最后计算时间', align: 'center', width: 170, formatter: this.formatLastTime.bind(this)}, |
|
|
|
{ field: 'CreateTime', title: '最后登录时间', align: 'left', formatter: this.formatTime.bind(this) } |
|
|
|
{ field: 'LastComputeTime', title: '最后计算时间', align: 'center', width: 160, formatter: this.formatLastTime.bind(this)}, |
|
|
|
{ field: 'CreateTime', title: '最后登录时间', align: 'center', width: 160, formatter: this.formatTime.bind(this) }, |
|
|
|
{ field: 'Null', title: '', align: 'left' } |
|
|
|
]], |
|
|
|
striped: true, |
|
|
|
singleSelect: false, |
|
|
@ -78,7 +79,7 @@ |
|
|
|
scrollbarSize: 0, |
|
|
|
pagination: true, |
|
|
|
pageNumber: 1, |
|
|
|
pageSize: 20, |
|
|
|
pageSize: 50, |
|
|
|
pageList: [10, 20, 50, 100, 150, 200], |
|
|
|
loadMsg: '正在加载数据,请稍后...', |
|
|
|
onSelect: this.OnTaskSelected.bind(this), |
|
|
@ -100,9 +101,8 @@ |
|
|
|
var headerTable = $('.datagrid-header'); |
|
|
|
var bodyTable = $('.datagrid-body'); |
|
|
|
var headerTd = headerTable.find('td:last'); |
|
|
|
headerTd.css('width', (width - 753) + 'px'); |
|
|
|
bodyTable.find('tr').find('td:last').css('width', (width - 753) + 'px'); |
|
|
|
//bodyTd.eq(headerTd.length - 2).css('width', '172px');
|
|
|
|
headerTd.css('width', (width - 901) + 'px'); |
|
|
|
bodyTable.find('tr').find('td:last').css('width', (width - 901) + 'px'); |
|
|
|
}; |
|
|
|
|
|
|
|
this.onQueryButtonClick = function () { |
|
|
|