Skip to content

Commit

Permalink
fix:项目列表跳转权限问题 (metersphere#4862)
Browse files Browse the repository at this point in the history
* fix:项目列表跳转权限问题

* fix:项目列表跳转权限问题

Co-authored-by: wenyann <[email protected]>
  • Loading branch information
metersphere-bot and wenyann authored Jul 20, 2021
1 parent 8637f12 commit 5672f52
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,11 @@ public Pager<List<User>> getProjectMemberList(@PathVariable int goPage, @PathVar
return PageUtils.setPageInfo(page, userService.getProjectMemberList(request));
}

@PostMapping("/project/member/list")
public List<User> getProjectMemberListAll(@RequestBody QueryMemberRequest request) {
return userService.getProjectMemberList(request);
}

/**
* 获取工作空间成员用户 不分页
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -370,9 +370,9 @@ export default {
};
this.wsId = row.id;
let path = "/user/project/member/list";
this.result = this.$post(this.buildPagePath(path), param, res => {
this.result = this.$post("/user/project/member/list", param, res => {
let data = res.data;
this.memberLineData = data.listObject;
this.memberLineData = data;
let arr = this.memberLineData.filter(item => item.id == getCurrentUserId());
if (arr.length > 0) {
window.sessionStorage.setItem(PROJECT_ID, row.id);
Expand Down

0 comments on commit 5672f52

Please sign in to comment.