fix(系统设置): 工作空间添加项目成员时用户组必填
This commit is contained in:
parent
ebffbb57aa
commit
ae865bfb5d
|
@ -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>
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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',
|
||||
|
|
|
@ -470,6 +470,9 @@ export default {
|
|||
add_user_role_batch: '批量添加角色',
|
||||
}
|
||||
},
|
||||
group: {
|
||||
add: '添加用户组',
|
||||
},
|
||||
role: {
|
||||
please_choose_role: '请选择角色',
|
||||
admin: '系统管理员',
|
||||
|
|
|
@ -470,6 +470,9 @@ export default {
|
|||
add_user_role_batch: '批量添加角色',
|
||||
}
|
||||
},
|
||||
group: {
|
||||
add: '添加用戶組',
|
||||
},
|
||||
role: {
|
||||
please_choose_role: '請選擇角色',
|
||||
admin: '系統管理員',
|
||||
|
|
Loading…
Reference in New Issue