fix(系统设置): 修复工作空间成员批量添加到项目没有保存用户组

--bug=1007881 --user=刘瑞斌 【系统设置】工作空间-用户-批量添加到项目,选择项目成员用户组,变成了只读用户 https://www.tapd.cn/55049933/s/1070910
This commit is contained in:
CaptainB 2021-11-20 12:02:12 +08:00 committed by 刘瑞斌
parent 0a519ce005
commit 3d12936456
1 changed files with 2 additions and 1 deletions

View File

@ -332,7 +332,7 @@ export default {
this.selectDataCounts = getSelectDataCounts(this.condition, this.total, this.selectRows);
toggleAllSelection(this.$refs.userTable, this.tableData, this.selectRows);
},
cascaderConfirm(batchProcessTypeParam, selectValueArr) {
cascaderConfirm(batchProcessTypeParam, selectValueArr, selectUserGroupId) {
if (selectValueArr.length == 0) {
this.$success(this.$t('commons.modify_success'));
}
@ -341,6 +341,7 @@ export default {
params.workspaceId = getCurrentWorkspaceId();
params.batchType = batchProcessTypeParam;
params.batchProcessValue = selectValueArr;
params.selectUserGroupId = selectUserGroupId;
this.$post('/user/special/batchProcessUserInfo', params, () => {
this.$success(this.$t('commons.modify_success'));
this.initTableData();