|  |  | @ -4,7 +4,7 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |  * @Github:  |  |  |  |  * @Github:  | 
			
		
	
		
		
			
				
					
					|  |  |  |  * @Date: 2020-01-11 10:55:33 |  |  |  |  * @Date: 2020-01-11 10:55:33 | 
			
		
	
		
		
			
				
					
					|  |  |  |  * @LastEditors  : tangjiang |  |  |  |  * @LastEditors  : tangjiang | 
			
		
	
		
		
			
				
					
					|  |  |  |  * @LastEditTime : 2020-01-11 14:01:49 |  |  |  |  * @LastEditTime : 2020-01-11 17:48:02 | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  */ |  |  |  |  */ | 
			
		
	
		
		
			
				
					
					|  |  |  | import { random } from 'lodash'; |  |  |  | import { random } from 'lodash'; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
	
		
		
			
				
					|  |  | @ -28,11 +28,11 @@ const fetchData = (startIndex = 0) => | 
			
		
	
		
		
			
				
					
					|  |  |  |               return { |  |  |  |               return { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 key: getGuid(), |  |  |  |                 key: getGuid(), | 
			
		
	
		
		
			
				
					
					|  |  |  |                 index: `${index}`, |  |  |  |                 index: `${index}`, | 
			
		
	
		
		
			
				
					
					|  |  |  |                 name: 'John Brown', |  |  |  |                 name: '湖南长沙中南大学湖南长沙中南大学湖南长沙中南大学湖南长沙中南大学湖南长沙中南大学', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 age: 32, |  |  |  |                 age: i+1, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 address: 'New York No. 1 Lake Park', |  |  |  |                 address: 'New York No. ', | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                 address2: 'address2', |  |  |  |                 address2: 'address2', | 
			
		
	
		
		
			
				
					
					|  |  |  |                 address3: 'address3' |  |  |  |                 bbb: 'address3' | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |               }; |  |  |  |               }; | 
			
		
	
		
		
			
				
					
					|  |  |  |             }), |  |  |  |             }), | 
			
		
	
		
		
			
				
					
					|  |  |  |       ); |  |  |  |       ); | 
			
		
	
	
		
		
			
				
					|  |  | @ -43,45 +43,57 @@ const columns = [ | 
			
		
	
		
		
			
				
					
					|  |  |  |   { |  |  |  |   { | 
			
		
	
		
		
			
				
					
					|  |  |  |     title: '序号', |  |  |  |     title: '序号', | 
			
		
	
		
		
			
				
					
					|  |  |  |     dataIndex: 'index', |  |  |  |     dataIndex: 'index', | 
			
		
	
		
		
			
				
					
					|  |  |  |     render: text => text, |  |  |  |     render: text => text + 1, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     width: 80, |  |  |  |     width: 80, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     align: 'center' | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   { |  |  |  |   { | 
			
		
	
		
		
			
				
					
					|  |  |  |     title: '使用单位', |  |  |  |     title: '使用单位', | 
			
		
	
		
		
			
				
					
					|  |  |  |     dataIndex: 'name', |  |  |  |     dataIndex: 'name', | 
			
		
	
		
		
			
				
					
					|  |  |  |     // width: 100,
 |  |  |  |     width: 300, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     className: 'overflow_hidden', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     align: 'center' | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   { |  |  |  |   { | 
			
		
	
		
		
			
				
					
					|  |  |  |     title: '使用课堂/个', |  |  |  |     title: '使用课堂/个', | 
			
		
	
		
		
			
				
					
					|  |  |  |     // width: 200,
 |  |  |  |     width: 200, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     dataIndex: 'age', |  |  |  |     dataIndex: 'age', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     align: 'center', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     sorter: (a, b) => a.age - b.age | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   { |  |  |  |   { | 
			
		
	
		
		
			
				
					
					|  |  |  |     title: '课堂学生/个', |  |  |  |     title: '课堂学生/个', | 
			
		
	
		
		
			
				
					
					|  |  |  |     // width: 200,
 |  |  |  |     width: 200, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     dataIndex: 'address', |  |  |  |     dataIndex: 'address', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     align: 'center', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     sorter: (a, b) => a.age - b.age | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   { |  |  |  |   { | 
			
		
	
		
		
			
				
					
					|  |  |  |     title: '选用实训/个', |  |  |  |     title: '选用实训/个', | 
			
		
	
		
		
			
				
					
					|  |  |  |     // width: 200,
 |  |  |  |     width: 200, | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     dataIndex: 'address2', |  |  |  |     dataIndex: 'address2', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     align: 'center', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     sorter: (a, b) => a.age - b.age | 
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   }, | 
			
		
	
		
		
			
				
					
					|  |  |  |   { |  |  |  |   { | 
			
		
	
		
		
			
				
					
					|  |  |  |     title: '选用实训/个', |  |  |  |     title: '选用实训/个', | 
			
		
	
		
		
			
				
					
					|  |  |  |     // width: 200,
 |  |  |  |     width: 200, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |     dataIndex: 'address3', |  |  |  |     dataIndex: 'bbb', | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     align: 'center', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     sorter: (a, b) => a.bbb - b.bbb | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
		
		
			
				
					
					|  |  |  | ]; |  |  |  | ]; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | const sumData = [ |  |  |  | const sumData = [ | 
			
		
	
		
		
			
				
					
					|  |  |  |   { |  |  |  |   { | 
			
		
	
		
		
			
				
					
					|  |  |  |     index: '合计', |  |  |  |     index: '合计', | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |     key: 6, | 
			
		
	
		
		
			
				
					
					|  |  |  |     name: 'Disabled User', |  |  |  |     name: 'Disabled User', | 
			
		
	
		
		
			
				
					
					|  |  |  |     age: 99, |  |  |  |     age: 99, | 
			
		
	
		
		
			
				
					
					|  |  |  |     address: 'Sidney No. 1 Lake Park', |  |  |  |     address: 'Sidney No.', | 
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					|  |  |  |     address2: 'address2', |  |  |  |     address2: 'address2', | 
			
		
	
		
		
			
				
					
					|  |  |  |     addrexs3: 'address3' |  |  |  |     bbb: 'address3', | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |   }, |  |  |  |   } | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  | ]; |  |  |  | ]; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | export { columns, fetchData, sumData }; |  |  |  | export { columns, fetchData, sumData }; | 
			
		
	
	
		
		
			
				
					|  |  | 
 |