|
|
@ -39,15 +39,17 @@ function buildColumns(that) {
|
|
|
|
render: (content, item, index) => {
|
|
|
|
render: (content, item, index) => {
|
|
|
|
return <a href="javascript:;">{(that.state.page - 1) * 20 + index + 1} </a>
|
|
|
|
return <a href="javascript:;">{(that.state.page - 1) * 20 + index + 1} </a>
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},{
|
|
|
|
|
|
|
|
title: '用户ID',
|
|
|
|
|
|
|
|
width: 120,
|
|
|
|
|
|
|
|
dataIndex: 'login',
|
|
|
|
|
|
|
|
key: 'login',
|
|
|
|
|
|
|
|
render: (login, record) => {
|
|
|
|
|
|
|
|
return <span className="overflowHidden1" style={{ maxWidth: '110px'}} title={`${login.length > 8 ? login : ''}`}>{login}</span>
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
// ,{
|
|
|
|
|
|
|
|
// title: '用户ID',
|
|
|
|
|
|
|
|
// width: 120,
|
|
|
|
|
|
|
|
// dataIndex: 'login',
|
|
|
|
|
|
|
|
// key: 'login',
|
|
|
|
|
|
|
|
// render: (login, record) => {
|
|
|
|
|
|
|
|
// return <span className="overflowHidden1" style={{ maxWidth: '110px'}} title={`${login.length > 8 ? login : ''}`}>{login}</span>
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
, {
|
|
|
|
title: '姓名',
|
|
|
|
title: '姓名',
|
|
|
|
dataIndex: 'name',
|
|
|
|
dataIndex: 'name',
|
|
|
|
width: 120,
|
|
|
|
width: 120,
|
|
|
|