mirror of
https://github.com/jumpserver/lina.git
synced 2025-07-31 22:55:01 +00:00
perf: Translate account
This commit is contained in:
parent
eba323fb64
commit
a0382dc984
@ -32,7 +32,7 @@ export default {
|
||||
tableConfig: {
|
||||
url: '/api/v1/accounts/account-templates/',
|
||||
columns: null,
|
||||
columnsExclude: ['spec_info'],
|
||||
columnsExclude: ['spec_info', 'password_rules', 'push_params'],
|
||||
columnsShow: {
|
||||
min: ['name', 'actions'],
|
||||
default: ['name', 'username', 'secret_type', 'has_secret', 'privileged', 'actions']
|
||||
|
@ -116,7 +116,7 @@ export default {
|
||||
})
|
||||
},
|
||||
{
|
||||
title: this.$t('SuEnabled'),
|
||||
title: this.$t('EnableDomain'),
|
||||
type: 'switch',
|
||||
attrs: {
|
||||
model: object['su_enabled'],
|
||||
|
@ -63,6 +63,7 @@ export default {
|
||||
}
|
||||
},
|
||||
updateSuccessNextRoute: { name: 'UserGuide' },
|
||||
hasReset: false,
|
||||
cleanFormValue(value) {
|
||||
value = Object.assign({}, value, { is_first_login: false })
|
||||
if (value.mfa_level === 2) {
|
||||
|
@ -73,6 +73,7 @@ export default {
|
||||
label: this.$t('Date')
|
||||
},
|
||||
actions: {
|
||||
width: '160px',
|
||||
formatterArgs: {
|
||||
hasUpdate: false,
|
||||
hasDelete: false,
|
||||
|
@ -142,7 +142,7 @@ export default {
|
||||
},
|
||||
{
|
||||
value: 'title',
|
||||
label: this.$t('title')
|
||||
label: this.$t('Title')
|
||||
},
|
||||
{
|
||||
value: 'type',
|
||||
|
Loading…
Reference in New Issue
Block a user