|
|
|
@ -40,6 +40,15 @@ const buildColumns = (that) => {
|
|
|
|
|
render: (id, student, index) => {
|
|
|
|
|
return (that.state.page - 1) * 20 + index + 1
|
|
|
|
|
}
|
|
|
|
|
}, {
|
|
|
|
|
title: '用户id',
|
|
|
|
|
dataIndex: 'login',
|
|
|
|
|
key: 'login',
|
|
|
|
|
align:'center',
|
|
|
|
|
className:"color-grey-6",
|
|
|
|
|
// render: (name, record) => {
|
|
|
|
|
// return <a className="color-dark" target="_blank" href={`/users/${record.login}`}>{name}</a>
|
|
|
|
|
// }
|
|
|
|
|
}, {
|
|
|
|
|
title: '姓名',
|
|
|
|
|
dataIndex: 'name',
|
|
|
|
@ -316,6 +325,7 @@ class studentsList extends Component{
|
|
|
|
|
}).then((result)=>{
|
|
|
|
|
if (result.data.status == 0) {
|
|
|
|
|
this.props.showNotification('移动成功')
|
|
|
|
|
this.setState({checkBoxValues: []})
|
|
|
|
|
this.fetchAll()
|
|
|
|
|
this.props.updataleftNavfun()
|
|
|
|
|
|
|
|
|
|