feat: 系统管理列表使用fit2cloud-ui

This commit is contained in:
fit2cloud-chenyw
2021-03-11 14:09:38 +08:00
parent bab168f83d
commit 1fe79ec4e4
8 changed files with 269 additions and 254 deletions

View File

@@ -3,7 +3,8 @@ import request from '@/utils/request'
export function getDeptTree(pid) {
return request({
url: 'api/dept/childNodes/' + pid,
method: 'post'
method: 'post',
loading: true
})
}

View File

@@ -3,7 +3,8 @@ import request from '@/utils/request'
export function getMenusTree(pid) {
return request({
url: 'api/menu/childNodes/' + pid,
method: 'post'
method: 'post',
loading: true
})
}

View File

@@ -3,7 +3,8 @@ import request from '@/utils/request'
export function allRoles() {
return request({
url: '/api/role/all',
method: 'post'
method: 'post',
loading: true
})
}
@@ -11,7 +12,8 @@ export function roleGrid(pageIndex, pageSize, data) {
return request({
url: '/api/role/roleGrid/' + pageIndex + '/' + pageSize,
method: 'post',
data
data,
loading: true
})
}