Check user under org.

This commit is contained in:
Yang Luo
2021-02-14 21:21:42 +08:00
parent 7203dcbe22
commit 65eee22099
11 changed files with 64 additions and 38 deletions

View File

@ -104,7 +104,7 @@ class UserListPage extends React.Component {
title: 'Name',
dataIndex: 'name',
key: 'name',
width: '120px',
width: '100px',
sorter: (a, b) => a.name.localeCompare(b.name),
render: (text, record, index) => {
return (
@ -124,13 +124,13 @@ class UserListPage extends React.Component {
return Setting.getFormattedDate(text);
}
},
{
title: 'Password Type',
dataIndex: 'passwordType',
key: 'passwordType',
width: '150px',
sorter: (a, b) => a.passwordType.localeCompare(b.passwordType),
},
// {
// title: 'Password Type',
// dataIndex: 'passwordType',
// key: 'passwordType',
// width: '150px',
// sorter: (a, b) => a.passwordType.localeCompare(b.passwordType),
// },
// {
// title: 'Password',
// dataIndex: 'password',
@ -162,7 +162,7 @@ class UserListPage extends React.Component {
title: 'Email',
dataIndex: 'email',
key: 'email',
width: '180px',
width: '160px',
sorter: (a, b) => a.email.localeCompare(b.email),
render: (text, record, index) => {
return (
@ -172,13 +172,13 @@ class UserListPage extends React.Component {
)
}
},
{
title: 'Phone',
dataIndex: 'phone',
key: 'phone',
width: '120px',
sorter: (a, b) => a.phone.localeCompare(b.phone),
},
// {
// title: 'Phone',
// dataIndex: 'phone',
// key: 'phone',
// width: '120px',
// sorter: (a, b) => a.phone.localeCompare(b.phone),
// },
{
title: 'Affiliation',
dataIndex: 'affiliation',
@ -186,6 +186,13 @@ class UserListPage extends React.Component {
width: '120px',
sorter: (a, b) => a.affiliation.localeCompare(b.affiliation),
},
{
title: 'Tag',
dataIndex: 'tag',
key: 'tag',
width: '100px',
sorter: (a, b) => a.tag.localeCompare(b.tag),
},
{
title: 'Is Admin',
dataIndex: 'isAdmin',