Skip to content

Commit

Permalink
feat:项目成员支持按照过期时间/用户组名称搜索 TencentBlueKing#10892
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 17750
  • Loading branch information
useryuyu committed Sep 9, 2024
1 parent 5734d51 commit 4332d16
Showing 1 changed file with 18 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -368,11 +368,22 @@ export default {
async handleCreateGroup() {
if (this.isNotProject) return
this.activeTab = '';
const res = await http.getResource({
projectCode: this.curProjectCode,
resourceType: this.resourceType,
resourceCode: this.curProjectCode});
this.$emit('create-group', res.iamGradeManagerId);
try {
const res = await http.getResource({
projectCode: this.curProjectCode,
resourceType: this.resourceType,
resourceCode: this.curProjectCode});
if(res) {
const role_id = res.iamGradeManagerId;
this.$emit('create-group', role_id);
}
} catch (error) {
Message({
theme: 'error',
message: error.message
});
}
},
handleCloseManage() {
this.isClosing = true;
Expand Down Expand Up @@ -425,7 +436,7 @@ export default {
} catch (error) {
Message({
theme: 'error',
message: err.message
message: error.message
});
}
},
Expand All @@ -435,7 +446,7 @@ export default {
} catch (error) {
Message({
theme: 'error',
message: err.message
message: error.message
});
}
},
Expand Down

0 comments on commit 4332d16

Please sign in to comment.