mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(系统设置): 工作空间菜单中添加成员时用户组选项查询问题
--bug=1018405 --user=李玉号 【系统设置】新建用户组-所属类型是工作空间,但是编辑成员的用户组是看不到该用户组 https://www.tapd.cn/55049933/s/1267129
This commit is contained in:
parent
9476279da4
commit
02614713e4
@ -330,6 +330,7 @@ export default {
|
||||
cellClick(row) {
|
||||
this.currentWorkspaceRow = row;
|
||||
this.dialogWsMemberVisible = true;
|
||||
this.groupScopeId = row.id;
|
||||
let param = {name: '', workspaceId: row.id};
|
||||
this._getWorkspaceMemberListSpecial(param);
|
||||
listenGoBack(this.closeWsMemberDialog);
|
||||
@ -396,11 +397,11 @@ export default {
|
||||
editMember(row) {
|
||||
this.dialogWsMemberUpdateVisible = true;
|
||||
this.memberForm = Object.assign({}, row);
|
||||
this.loading = getUserGroupList({type: GROUP_TYPE.WORKSPACE, resourceId: this.groupScopeId})
|
||||
this.$set(this.memberForm, 'groupIds', this.memberForm.groups.map(r => r.id));
|
||||
this.workspaceMemberUpdateLoading = getUserGroupList({type: GROUP_TYPE.WORKSPACE, resourceId: this.groupScopeId})
|
||||
.then(res => {
|
||||
this.$set(this.memberForm, "workspaceGroups", res.data);
|
||||
})
|
||||
this.$set(this.memberForm, 'groupIds', this.memberForm.groups.map(r => r.id));
|
||||
listenGoBack(this.handleClose);
|
||||
},
|
||||
handleDelete(workspace) {
|
||||
|
Loading…
Reference in New Issue
Block a user