邀请组织成员进入工作空间
This commit is contained in:
parent
db8cd75665
commit
586bf457da
|
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询组织成员列表 带角色信息
|
||||
*/
|
||||
|
|
|
@ -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 => {
|
||||
|
|
Loading…
Reference in New Issue