|  |  | @ -68,9 +68,11 @@ | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'OrgName', title: '所属机构', align: 'left', width: 180 }, | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'LoginName', title: '登录账户', align: 'left', width: 150 }, | 
			
		
	
		
			
				
					|  |  |  |                 { 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: 160, formatter: this.formatLastTime.bind(this)}, | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'CreateTime', title: '最后登录时间', align: 'center', width: 160, formatter: this.formatTime.bind(this) }, | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'ComputeCount', title: '计算次数', align: 'center', width: 80 }, | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'LastComputeTime', title: '最后计算时间', align: 'center', width: 160, formatter: this.formatLastComputeTime.bind(this) }, | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'LoginCount', title: '登录次数', align: 'center', width: 80 }, | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'LastLoginTime', title: '最后登录时间', align: 'center', width: 160, formatter: this.formatLastLoginTime.bind(this) }, | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'CreateTime', title: '创建时间', align: 'center', width: 160, formatter: this.formatTime.bind(this) }, | 
			
		
	
		
			
				
					|  |  |  |                 { field: 'Null', title: '', align: 'left' } | 
			
		
	
		
			
				
					|  |  |  |             ]], | 
			
		
	
		
			
				
					|  |  |  |             striped: true, | 
			
		
	
	
		
			
				
					|  |  | @ -101,8 +103,8 @@ | 
			
		
	
		
			
				
					|  |  |  |         var headerTable = $('.datagrid-header'); | 
			
		
	
		
			
				
					|  |  |  |         var bodyTable = $('.datagrid-body'); | 
			
		
	
		
			
				
					|  |  |  |         var headerTd = headerTable.find('td:last'); | 
			
		
	
		
			
				
					|  |  |  |         headerTd.css('width', (width - 991) + 'px'); | 
			
		
	
		
			
				
					|  |  |  |         bodyTable.find('tr').find('td:last').css('width', (width - 991) + 'px'); | 
			
		
	
		
			
				
					|  |  |  |         headerTd.css('width', (width - 1213) + 'px'); | 
			
		
	
		
			
				
					|  |  |  |         bodyTable.find('tr').find('td:last').css('width', (width - 1213) + 'px'); | 
			
		
	
		
			
				
					|  |  |  |     }; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     this.onQueryButtonClick = function () { | 
			
		
	
	
		
			
				
					|  |  | @ -133,12 +135,18 @@ | 
			
		
	
		
			
				
					|  |  |  |         return '<span>{0}</span>'.format(moment(time).format('YYYY/MM/DD HH:mm:ss')); | 
			
		
	
		
			
				
					|  |  |  |     }; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     this.formatLastTime = function (time) { | 
			
		
	
		
			
				
					|  |  |  |         var value = time === null ? '-' : format(moment(time).format('YYYY/MM/DD HH:mm:ss')); | 
			
		
	
		
			
				
					|  |  |  |     this.formatLastComputeTime = function (time) { | 
			
		
	
		
			
				
					|  |  |  |         var value = time === null ? '-' : moment(time).format('YYYY/MM/DD HH:mm:ss'); | 
			
		
	
		
			
				
					|  |  |  |         return '<span>{0}</span>'.format(value); | 
			
		
	
		
			
				
					|  |  |  |     }; | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     this.formatLastLoginTime = function (time) { | 
			
		
	
		
			
				
					|  |  |  |         var value = time === null ? '-' : moment(time).format('YYYY/MM/DD HH:mm:ss'); | 
			
		
	
		
			
				
					|  |  |  |         return '<span>{0}</span>'.format(value); | 
			
		
	
		
			
				
					|  |  |  |     } | 
			
		
	
		
			
				
					|  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |     this.OnTaskSelected = function (index, row) { | 
			
		
	
		
			
				
					|  |  |  |         console.log(row) | 
			
		
	
		
			
				
					|  |  |  |         this.selectedRow = row; | 
			
		
	
		
			
				
					|  |  |  |         $('.datagrid-btable tr').removeClass('datagrid-row-selected'); | 
			
		
	
		
			
				
					|  |  |  |         $('.datagrid-btable tr').eq(index).addClass('datagrid-row-selected'); | 
			
		
	
	
		
			
				
					|  |  | 
 |