邀请组织成员进入工作空间
This commit is contained in:
parent
db8cd75665
commit
586bf457da
|
@ -140,6 +140,14 @@ public class UserController {
|
||||||
return PageUtils.setPageInfo(page, userService.getOrgMemberList(request));
|
return PageUtils.setPageInfo(page, userService.getOrgMemberList(request));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 组织成员列表不分页
|
||||||
|
*/
|
||||||
|
@PostMapping("/orgmember/list/all")
|
||||||
|
public List<User> getOrgMemberList(@RequestBody QueryOrgMemberRequest request) {
|
||||||
|
return userService.getOrgMemberList(request);
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询组织成员列表 带角色信息
|
* 查询组织成员列表 带角色信息
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -245,7 +245,19 @@
|
||||||
},
|
},
|
||||||
create() {
|
create() {
|
||||||
this.form = {};
|
this.form = {};
|
||||||
this.$get('/user/list',response => {
|
let param = {
|
||||||
|
name: this.condition,
|
||||||
|
organizationId: this.currentUser().lastOrganizationId
|
||||||
|
};
|
||||||
|
let wsId = this.currentUser().lastWorkspaceId;
|
||||||
|
if (typeof wsId == "undefined" || wsId == null || wsId == "") {
|
||||||
|
this.$message({
|
||||||
|
message:'请先选择工作空间!',
|
||||||
|
type: 'warning'
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
this.$post('/user/orgmember/list/all', param,response => {
|
||||||
this.createVisible = true;
|
this.createVisible = true;
|
||||||
this.$set(this.form, "userList", response.data);
|
this.$set(this.form, "userList", response.data);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue