dev_forum
hjm 5 years ago
parent b5fbbffce8
commit 2a320fa7db

@ -40,6 +40,15 @@ const buildColumns = (that) => {
render: (id, student, index) => { render: (id, student, index) => {
return (that.state.page - 1) * 20 + index + 1 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: '姓名', title: '姓名',
dataIndex: 'name', dataIndex: 'name',
@ -316,6 +325,7 @@ class studentsList extends Component{
}).then((result)=>{ }).then((result)=>{
if (result.data.status == 0) { if (result.data.status == 0) {
this.props.showNotification('移动成功') this.props.showNotification('移动成功')
this.setState({checkBoxValues: []})
this.fetchAll() this.fetchAll()
this.props.updataleftNavfun() this.props.updataleftNavfun()

@ -122,6 +122,7 @@ function buildColumns(that) {
columns.push({ columns.push({
title: '操作', title: '操作',
key: 'action', key: 'action',
align:'center',
render: (text, record) => { render: (text, record) => {
if (record.application_id) { if (record.application_id) {
return ( return (

Loading…
Cancel
Save