mirror of
https://github.com/jumpserver/lina.git
synced 2026-01-13 19:35:24 +00:00
perf: 修改翻译
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
v-for="item in totalColumnsList"
|
||||
:key="item.prop"
|
||||
:span="8"
|
||||
style="margin-top:5px;"
|
||||
class="col-item"
|
||||
>
|
||||
<el-checkbox
|
||||
:disabled="item.prop==='actions' || minColumns.indexOf(item.prop)!==-1"
|
||||
@@ -87,8 +87,29 @@ export default {
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang='less' scoped>
|
||||
<style lang='scss' scoped>
|
||||
.column-setting {
|
||||
margin-left: 10px;
|
||||
|
||||
.col-item {
|
||||
margin-top: 5px;
|
||||
|
||||
>>> .el-checkbox {
|
||||
width: 100%;
|
||||
|
||||
.el-checkbox__input {
|
||||
line-height: 16px
|
||||
}
|
||||
|
||||
.el-checkbox__label {
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
width: calc(100% - 20px); // 20px is the width of the checkbox
|
||||
line-height: 16px;
|
||||
vertical-align: text-top;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -170,7 +170,8 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
.el-data-table {
|
||||
>>> .el-pagination.is-background .el-pager li {
|
||||
margin: 0 1px ;
|
||||
margin: 0 1px;
|
||||
padding: 0 2px;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -397,3 +397,7 @@ button, input, optgroup, select, textarea {
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
|
||||
.el-select .el-input .el-select__caret {
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ export default {
|
||||
tableConfig: {
|
||||
url: `/api/v1/assets/assets/${this.object.id}/perm-users/`,
|
||||
columns: [
|
||||
'name', 'username', 'email', 'phone', 'wechat',
|
||||
'name', 'username', 'email', 'phone',
|
||||
'groups_display', 'total_role_display', 'source',
|
||||
'is_valid', 'login_blocked', 'mfa_enabled',
|
||||
'mfa_force_enabled', 'is_expired',
|
||||
|
||||
@@ -24,7 +24,7 @@ export default {
|
||||
fields: [
|
||||
[this.$t('Account'), ['username', 'name', 'email']],
|
||||
[this.$t('Authentication'), ['mfa_level', 'public_key']],
|
||||
[this.$t('Other'), ['phone', 'wechat']],
|
||||
[this.$t('Other'), ['phone']],
|
||||
[this.$t('TermsAndConditions'), ['terms']]
|
||||
],
|
||||
fieldsMeta: {
|
||||
|
||||
@@ -30,7 +30,7 @@ export default {
|
||||
hasDetailInMsg: false,
|
||||
fields: [
|
||||
[this.$t('Account'), ['username', 'name', 'email']],
|
||||
[this.$t('Other'), ['phone', 'wechat']]
|
||||
[this.$t('Other'), ['phone']]
|
||||
],
|
||||
fieldsMeta: {
|
||||
username: {
|
||||
|
||||
@@ -31,7 +31,7 @@ export default {
|
||||
'need_update_password', 'mfa_level', 'source'
|
||||
]],
|
||||
[this.$t('Secure'), ['system_roles', 'org_roles', 'is_active', 'date_expired']],
|
||||
[this.$t('Other'), ['phone', 'wechat', 'comment']]
|
||||
[this.$t('Other'), ['phone', 'comment']]
|
||||
],
|
||||
url: '/api/v1/users/users/',
|
||||
fieldsMeta: {
|
||||
|
||||
Reference in New Issue
Block a user