fix:项目列表跳转权限问题 (#4862)
* fix:项目列表跳转权限问题 * fix:项目列表跳转权限问题 Co-authored-by: wenyann <wenyan.yang@fit2cloud.com>
This commit is contained in:
parent
8637f12ac5
commit
5672f52b3b
|
@ -186,6 +186,11 @@ public class UserController {
|
|||
return PageUtils.setPageInfo(page, userService.getProjectMemberList(request));
|
||||
}
|
||||
|
||||
@PostMapping("/project/member/list")
|
||||
public List<User> getProjectMemberListAll(@RequestBody QueryMemberRequest request) {
|
||||
return userService.getProjectMemberList(request);
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取工作空间成员用户 不分页
|
||||
*/
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue