【项目管理系统】①


1-树形列表

简要描述
  • 功能 树形jie结构
  • 权限标签 xx
  • 新建 by llz 2022-01-13 09:23:28 星期四
请求URL
  • {URL}/employee/tree
请求方式
  • GET
返回示例
{
    "code": 0,
    "message": "成功",
    "data": [
        {
            "id": 1,
            "type": 0,
            "name": "行政部",
            "parentId": 0,
            "parentName": null,
            "sort": 1,
            "open": true,
            "children": [
                {
                    "id": 2,
                    "type": 0,
                    "name": "人事部",
                    "parentId": 1,
                    "parentName": "行政部",
                    "sort": null,
                    "open": true,
                    "children": null,
                    "memberList": [
                        {
                            "id": 2,
                            "type": 22,
                            "tenantId": 1,
                            "deptId": 2,
                            "name": "人事测试人员",
                            "idCard": null,
                            "gender": 0,
                            "age": null,
                            "mobile": "11111111111",
                            "academic": null,
                            "workYears": null,
                            "schoolName": null,
                            "schoolProfession": null,
                            "marriageFlag": 0,
                            "graduateTime": null,
                            "jobGrade": null,
                            "workUnit": null,
                            "workUnitAddress": null,
                            "zipCode": null,
                            "candidatesSource": null,
                            "orgName": null,
                            "orgContactMobile": null,
                            "orgContact": null,
                            "companyName": null,
                            "companyContact": null,
                            "companyContactMobile": null,
                            "entryTime": null,
                            "contractExpirationTime": null,
                            "remark": null,
                            "avatarPic": null,
                            "status": 1,
                            "createBy": null,
                            "createTime": null,
                            "updateBy": null,
                            "updateTime": null,
                            "post": null,
                            "onCompanyFlag": 1,
                            "companyEndTime": null,
                            "employeeFlag": 1,
                            "socialSecurityFlag": null,
                            "socialSecurityTime": null,
                            "directorFlag": null,
                            "directorFor": null
                        }
                    ]
                },
                {
                    "id": 3,
                    "type": 0,
                    "name": "开发部",
                    "parentId": 1,
                    "parentName": "行政部",
                    "sort": null,
                    "open": true,
                    "children": null,
                    "memberList": [
                        {
                            "id": 3,
                            "type": 22,
                            "tenantId": 1,
                            "deptId": 3,
                            "name": "开发测试人员",
                            "idCard": null,
                            ...
                        }
                    ]
                }
            ],
            "memberList": [
                {
                    "id": 1,
                    "type": 22,
                    "tenantId": 1,
                    "deptId": 1,
                    "name": "测试用户",
                    "idCard": null,
                    ...
                }
            ]
        }
    ]
}
返回参数说明
参数名 类型 说明
code int 返回结果 0 成功 500 异常
message int 返回信息
data object 返回结果
id Integer 部门id
type int 是否展示
name string 部门名称
prentId Long 上级id
prentName string 上级名称
sort Integer 排序
children List 子部门列表
memberList List 成员列表
id integer 成员id
tenantId bigint 租户id
deptId bigint 部门id
name string 用户名称
idCard string 身份证号

页面列表

ITEM_HTML