Commit 2d5fd4b0 authored by Hagsn3's avatar Hagsn3

改接口名

parent 1f074a0b
......@@ -6,8 +6,8 @@ import Qs from 'qs'
* 2.删除部门
* 3.修改部门
* 4.修改部门状态
* 5.分页查询部门列表
* 6.查询部门列表
* 5.查询部门列表
* 6.分页查询部门列表
* 7.查询部门列表(排除节点)
* 8.查询部门详细
* -----------------
......@@ -63,18 +63,18 @@ export function statusChange(data) {
})
}
// 5.分页查询部门列表
// 5.查询部门列表
export function listDept(query) {
return request({
url: '/system/dept/list',
url: '/system/dept/listAll',
method: 'get',
params: query
})
}
// 6.查询部门列表
// 6.分页查询部门列表
export function getListDept() {
return request({
url: 'system/role/listAll',
url: 'system/role/list',
method: 'get'
})
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment