邀请组织成员进入工作空间

This commit is contained in:
shiziyuan9527 2020-02-28 17:17:39 +08:00
parent db8cd75665
commit 586bf457da
2 changed files with 22 additions and 2 deletions

View File

@ -140,6 +140,14 @@ public class UserController {
return PageUtils.setPageInfo(page, userService.getOrgMemberList(request));
}
/**
* 组织成员列表不分页
*/
@PostMapping("/orgmember/list/all")
public List<User> getOrgMemberList(@RequestBody QueryOrgMemberRequest request) {
return userService.getOrgMemberList(request);
}
/**
* 查询组织成员列表 带角色信息
*/

View File

@ -245,8 +245,20 @@
},
create() {
this.form = {};
this.$get('/user/list',response => {
this.createVisible = true;
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.$set(this.form, "userList", response.data);
})
this.result = this.$get('/role/list/test', response => {