- IT信息化80端口
- IT信息化8050端口
- 财务开票系统
- 精细化开放接口
- IT信息化文档
- 基本权限申请地址
- 信息化系统
- 工资表
- 总览图
- 考勤表(attend)
- 日常绩效表(daily)
- 薪资补贴表(salary)
- 提成奖金表(special)
- 五险一金表(fund)
- 奖励表(reward)
- 扣减表(cut)
- 税表(tax)
- 离职补偿表(quit)
- 劳务表(service)
- 公式和方法
- 薪资表合计方法:calculateSalaryTotal
- 旷工:calculateCountAttendAbsent
- 迟到相关运算方法:calculateCountAttendLate
- 病假:calculateCountAttendSickLeave
- 事假:calculateCountAttendThingLeave
- 入离职扣减:calculateCountAttendEntryQuit
- 试用期差额扣减 :calculateCountAttendTryReduce
- 加班薪资:calculateCountAttendOverWork
- 考勤绩效扣减:calculateCountAttendOtherReduce
- 报告绩效工资扣减:calculateReportReduce
- 研发人员职能绩效扣减:calculateStudyReduce
- 职能绩效扣减 和 商务绩效扣减:calculateReduce
- 日常绩效表-合计:calculateDailyTotal
- 日常绩效表-报告绩效奖励:calculateReportAwards
- 薪资表-合计:calculateSalaryAllowanceTotal
- 提成奖金表:calculateSpecialTotal
- 五险一金表:calculateFundTotal
- 奖励表-合计:calculateRewardTotal
- 扣减表-合计:calculateCutTotal
- 税表:calculateTax
- 离职补偿表:calculateQuit
- 劳务费表:calculateService
- 归档文件
- 其他信息化系统
H5-部门树形数据
GET
hr/all-user/depart-tree
最后修改时间:2023-01-09 06:07:21
责任人:罗亚江
请求参数
Query 参数
debug
string
可选
示例值:
1
Header 参数
Authorization
string
可选
默认值:
{{AUTH_TOKEN}}
Body 参数multipart/form-data
debug
string
可选
默认值:
{{DEBUG}}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'hr/all-user/depart-tree' \
--header 'Authorization: {{AUTH_TOKEN}}' \
--form 'debug="{{DEBUG}}"'
返回响应
🟢200成功
application/json
Body
object {0}
示例
{ "code": 10000, "msg": "success", "data": [ { "id": "4866", "dept_id": "36284858", "name": "人才发展部", "parent_id": "1", "all": 15, "current": 15, "users": [ { "name": "刘仁杰", "userid": "300121106420847847", "dept_id_list": "36284858" }, { "name": "刘敏", "userid": "1916565007677431", "dept_id_list": "36284858" }, { "name": "宋佳", "userid": "0539176840746824", "dept_id_list": "36284858" }, { "name": "申国红", "userid": "216909253429555640", "dept_id_list": "36284858" }, { "name": "刘婷", "userid": "1110244338674655", "dept_id_list": "36284858" }, { "name": "黄成康", "userid": "095117670139861355", "dept_id_list": "36284858" }, { "name": "陈嘉欣", "userid": "276365542737681794", "dept_id_list": "36284858" }, { "name": "唐玉婷", "userid": "233862541321866782", "dept_id_list": "36284858" }, { "name": "易霜", "userid": "2153452965848745", "dept_id_list": "36284858" }, { "name": "杨双(实习生)", "userid": "66526604381382849520", "dept_id_list": "36284858" }, { "name": "苏克霞", "userid": "281904491132864834", "dept_id_list": "36284858" }, { "name": "吴雪", "userid": "0434152836706870", "dept_id_list": "36284858" }, { "name": "李浪雅", "userid": "01482157045226321513", "dept_id_list": "36284858" }, { "name": "刘宇", "userid": "2666334060674927", "dept_id_list": "36284858" }, { "name": "田梦秋", "userid": "065828085029691669", "dept_id_list": "36284858" } ] }, { "id": "4867", "dept_id": "122276451", "name": "总裁办", "parent_id": "1", "all": 10, "current": 10, "users": [ { "name": "宗利军", "userid": "01562838234630", "dept_id_list": "122276451" }, { "name": "黄丽媛", "userid": "091714131539702978", "dept_id_list": "122276451" }, { "name": "郎清平", "userid": "02201460418488", "dept_id_list": "122276451" }, { "name": "王欢", "userid": "01520202618825", "dept_id_list": "122276451" }, { "name": "朱旭琪", "userid": "01054209325293", "dept_id_list": "122276451" }, { "name": "何俊", "userid": "01520042606841", "dept_id_list": "122276451" }, { "name": "朱凌宇", "userid": "3237505926059308", "dept_id_list": "122276451" }, { "name": "沈劲枝", "userid": "03006962273460", "dept_id_list": "122276451" }, { "name": "刘旭", "userid": "0663250367677589", "dept_id_list": "122276451" }, { "name": "李敏旭", "userid": "19152837391507611251", "dept_id_list": "122276451" } ] }, { "id": "4869", "dept_id": "6062025", "name": "研发中心", "parent_id": "1", "children": [ { "id": "4891", "dept_id": "122587
修改于 2023-01-09 06:07:21