1
0
mirror of https://github.com/FatttSnake/Pinnacle-OA.git synced 2026-04-05 23:11:24 +08:00

Added pagination to RoleManagement. Optimized get role list in GroupManagement and UserManagement.

This commit is contained in:
2023-06-01 17:57:59 +08:00
parent 4f8d039f88
commit c9f93927c9
7 changed files with 94 additions and 50 deletions

View File

@@ -226,7 +226,7 @@ export default {
},
getRoles() {
this.dialogLoading = true
request.get('/role').then((res) => {
request.get('/role/list').then((res) => {
const response = res.data
if (response.code === DATABASE_SELECT_OK) {
this.roles = response.data