|
|
@ -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 11:58:08
|
|
|
|
* @LastEditTime : 2020-01-11 14:01:49
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
import { random } from 'lodash';
|
|
|
|
import { random } from 'lodash';
|
|
|
|
|
|
|
|
|
|
|
@ -31,6 +31,8 @@ const fetchData = (startIndex = 0) =>
|
|
|
|
name: 'John Brown',
|
|
|
|
name: 'John Brown',
|
|
|
|
age: 32,
|
|
|
|
age: 32,
|
|
|
|
address: 'New York No. 1 Lake Park',
|
|
|
|
address: 'New York No. 1 Lake Park',
|
|
|
|
|
|
|
|
address2: 'address2',
|
|
|
|
|
|
|
|
address3: 'address3'
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}),
|
|
|
|
}),
|
|
|
|
);
|
|
|
|
);
|
|
|
@ -42,7 +44,7 @@ const columns = [
|
|
|
|
title: '序号',
|
|
|
|
title: '序号',
|
|
|
|
dataIndex: 'index',
|
|
|
|
dataIndex: 'index',
|
|
|
|
render: text => text,
|
|
|
|
render: text => text,
|
|
|
|
width: 50,
|
|
|
|
width: 80,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '使用单位',
|
|
|
|
title: '使用单位',
|
|
|
@ -62,22 +64,23 @@ const columns = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '选用实训/个',
|
|
|
|
title: '选用实训/个',
|
|
|
|
// width: 200,
|
|
|
|
// width: 200,
|
|
|
|
dataIndex: 'address',
|
|
|
|
dataIndex: 'address2',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
{
|
|
|
|
{
|
|
|
|
title: '选用实训/个',
|
|
|
|
title: '选用实训/个',
|
|
|
|
// width: 200,
|
|
|
|
// width: 200,
|
|
|
|
dataIndex: 'address',
|
|
|
|
dataIndex: 'address3',
|
|
|
|
}
|
|
|
|
}
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
const sumData = [
|
|
|
|
const sumData = [
|
|
|
|
{
|
|
|
|
{
|
|
|
|
index: '合计',
|
|
|
|
index: '合计',
|
|
|
|
key: ',4',
|
|
|
|
|
|
|
|
name: 'Disabled User',
|
|
|
|
name: 'Disabled User',
|
|
|
|
age: 99,
|
|
|
|
age: 99,
|
|
|
|
address: 'Sidney No. 1 Lake Park',
|
|
|
|
address: 'Sidney No. 1 Lake Park',
|
|
|
|
|
|
|
|
address2: 'address2',
|
|
|
|
|
|
|
|
addrexs3: 'address3'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
];
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|