|
|
@ -74,12 +74,12 @@ |
|
|
|
this.InitDataGrid = function () { |
|
|
|
$('#task-grid').datagrid({ |
|
|
|
columns: [[ |
|
|
|
{ field: 'Name', title: '姓名', align: 'center', width: 50 }, |
|
|
|
{ field: 'LoginAccount', title: '登录账户', align: 'center', width: 50 }, |
|
|
|
{ field: 'LoginPassword', title: '登录密码', align: 'center', width: 50 }, |
|
|
|
{ field: 'LoginNumber', title: '登录次数', align: 'center', width: 50 }, |
|
|
|
{ field: 'LoginTime', title: '最后登录时间', align: 'center', width: 50 }, |
|
|
|
{ field: 'isEnable', title: '启用', align: 'center', width: 50, formatter: this.formatText.bind(this) } |
|
|
|
{ field: 'Name', title: '姓名', align: 'center', width: 10 }, |
|
|
|
{ field: 'LoginAccount', title: '登录账户', align: 'center', width: 10 }, |
|
|
|
{ field: 'LoginPassword', title: '登录密码', align: 'center', width: 10 }, |
|
|
|
{ field: 'LoginNumber', title: '登录次数', align: 'center', width: 10 }, |
|
|
|
{ field: 'LoginTime', title: '最后登录时间', align: 'center', width: 20 }, |
|
|
|
{ field: 'isEnable', title: '启用', align: 'left', width: 50, formatter: this.formatText.bind(this) } |
|
|
|
]], |
|
|
|
striped: true, |
|
|
|
singleSelect: false, |
|
|
|