mirror of
https://github.com/dataease/dataease.git
synced 2026-05-20 11:38:11 +08:00
feat: 系统管理列表使用fit2cloud-ui
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user