1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-08 10:22:46 +00:00

Group to department (#6411)

* change group to department

* update group quota

* admin change group

* optimize code

* Update change-group-dialog.js

* update

* code-optimize

* code-optimize

* Update groups.py

* update

* fix group-name

---------

Co-authored-by: 孙永强 <11704063+s-yongqiang@user.noreply.gitee.com>
Co-authored-by: r350178982 <32759763+r350178982@users.noreply.github.com>
This commit is contained in:
awu0403
2024-07-27 11:21:59 +08:00
committed by GitHub
parent ed1424d4f9
commit 953f17e717
11 changed files with 321 additions and 10 deletions

View File

@@ -81,6 +81,11 @@ class SystemAdminAPI {
return this.req.get(url);
}
adminGroup2Department(groupID) {
const url = this.server + '/api/v2.1/admin/groups/' + groupID + '/group-to-department/';
return this.req.post(url);
}
}
let systemAdminAPI = new SystemAdminAPI();