fix(系统设置): 工作空间添加项目成员时用户组必填
This commit is contained in:
parent
68193de3bd
commit
c8eecf587e
|
@ -93,7 +93,7 @@
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<template>
|
<template>
|
||||||
<el-button type="success" style="width: 100%;" @click="addGroup('createUserForm')" :disabled="btnAddRole">
|
<el-button type="success" style="width: 100%;" @click="addGroup('createUserForm')" :disabled="btnAddRole">
|
||||||
{{ $t('role.add') }}
|
{{ $t('group.add') }}
|
||||||
</el-button>
|
</el-button>
|
||||||
</template>
|
</template>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
|
@ -219,7 +219,7 @@
|
||||||
</template>
|
</template>
|
||||||
</el-autocomplete>
|
</el-autocomplete>
|
||||||
</el-form-item>
|
</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-select v-model="memberForm.groupIds" multiple placeholder="请选择用户组" style="width: 100%">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in memberForm.groups"
|
v-for="item in memberForm.groups"
|
||||||
|
|
|
@ -472,6 +472,9 @@ export default {
|
||||||
add_user_role_batch: 'Batch add user role',
|
add_user_role_batch: 'Batch add user role',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
group: {
|
||||||
|
add: 'Add User Group',
|
||||||
|
},
|
||||||
role: {
|
role: {
|
||||||
please_choose_role: 'Please Choose Role',
|
please_choose_role: 'Please Choose Role',
|
||||||
admin: 'Admin',
|
admin: 'Admin',
|
||||||
|
|
|
@ -470,6 +470,9 @@ export default {
|
||||||
add_user_role_batch: '批量添加角色',
|
add_user_role_batch: '批量添加角色',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
group: {
|
||||||
|
add: '添加用户组',
|
||||||
|
},
|
||||||
role: {
|
role: {
|
||||||
please_choose_role: '请选择角色',
|
please_choose_role: '请选择角色',
|
||||||
admin: '系统管理员',
|
admin: '系统管理员',
|
||||||
|
|
|
@ -470,6 +470,9 @@ export default {
|
||||||
add_user_role_batch: '批量添加角色',
|
add_user_role_batch: '批量添加角色',
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
group: {
|
||||||
|
add: '添加用戶組',
|
||||||
|
},
|
||||||
role: {
|
role: {
|
||||||
please_choose_role: '請選擇角色',
|
please_choose_role: '請選擇角色',
|
||||||
admin: '系統管理員',
|
admin: '系統管理員',
|
||||||
|
|
Loading…
Reference in New Issue