feat: LDAP同步用户支持组织

This commit is contained in:
Jiangjie.Bai
2022-05-10 19:15:47 +08:00
committed by Jiangjie.Bai
parent e78e0cf132
commit fd9916b21b

View File

@@ -87,7 +87,7 @@ export default {
},
tableConfig: {
url: '/api/v1/settings/ldap/users/',
columns: ['username', 'name', 'email', 'existing'],
columns: ['username', 'name', 'email', 'groups', 'existing'],
columnsMeta: {
username: {
label: this.$t('users.Username'),
@@ -97,6 +97,13 @@ export default {
label: this.$t('users.Name'),
width: '180px'
},
groups: {
label: this.$t('users.UserGroups'),
showOverflowTooltip: true,
formatter: function(row) {
return <span> {row.groups.join(' | ')} </span>
}
},
email: {
label: this.$t('users.Email')
},