wlzboy
3 天以前 40a8157440e3b906da8f52e07d939d78c3f4c313
ruoyi-ui/src/api/system/dept.js
@@ -59,6 +59,14 @@
  })
}
// 按OA订单类别查询分公司列表(别名)
export function listBranchByOaOrderClass() {
  return request({
    url: '/system/dept/branch/by-oa',
    method: 'get'
  })
}
// 按外部传入的用户ID返回其可管理分公司列表
export function listBranchByUser(userId) {
  return request({
@@ -66,3 +74,11 @@
    method: 'get'
  })
}
// 获取所有分公司列表(parentId=100的部门)
export function listAllBranches() {
  return request({
    url: '/system/dept/branch/all',
    method: 'get'
  })
}