fix(系统设置): 工作空间添加项目成员时用户组必填

This commit is contained in:
shiziyuan9527 2021-05-31 15:54:39 +08:00 committed by 刘瑞斌
parent 68193de3bd
commit c8eecf587e
5 changed files with 11 additions and 2 deletions

View File

@ -93,7 +93,7 @@
<el-form-item>
<template>
<el-button type="success" style="width: 100%;" @click="addGroup('createUserForm')" :disabled="btnAddRole">
{{ $t('role.add') }}
{{ $t('group.add') }}
</el-button>
</template>
</el-form-item>

View File

@ -219,7 +219,7 @@
</template>
</el-autocomplete>
</el-form-item>
<el-form-item label="用户组" prop="groupIds">
<el-form-item label="用户组" prop="groupIds" :rules="{required: true, message: '请选择用户组', trigger: 'blur'}">
<el-select v-model="memberForm.groupIds" multiple placeholder="请选择用户组" style="width: 100%">
<el-option
v-for="item in memberForm.groups"

View File

@ -472,6 +472,9 @@ export default {
add_user_role_batch: 'Batch add user role',
}
},
group: {
add: 'Add User Group',
},
role: {
please_choose_role: 'Please Choose Role',
admin: 'Admin',

View File

@ -470,6 +470,9 @@ export default {
add_user_role_batch: '批量添加角色',
}
},
group: {
add: '添加用户组',
},
role: {
please_choose_role: '请选择角色',
admin: '系统管理员',

View File

@ -470,6 +470,9 @@ export default {
add_user_role_batch: '批量添加角色',
}
},
group: {
add: '添加用戶組',
},
role: {
please_choose_role: '請選擇角色',
admin: '系統管理員',