一道通数字道闸管理平台


获取部门列表

<p>[TOC]</p> <h5>简要描述</h5> <ul> <li>获取部门列表</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://localhost/dev-api/system/dept/list</code></li> </ul> <h5>请求方式</h5> <ul> <li>GET</li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">deptName</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>部门名称</td> </tr> <tr> <td style="text-align: left;">status</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>部门状态:0正常,1停用</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code> { "msg": "操作成功", "code": 200, "data": [ { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 100, "parentId": 0, "ancestors": "0", "deptName": "若依科技", "orderNum": 0, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 101, "parentId": 100, "ancestors": "0,100", "deptName": "深圳总公司", "orderNum": 1, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 102, "parentId": 100, "ancestors": "0,100", "deptName": "长沙分公司", "orderNum": 2, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 103, "parentId": 101, "ancestors": "0,100,101", "deptName": "研发部门", "orderNum": 1, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 104, "parentId": 101, "ancestors": "0,100,101", "deptName": "市场部门", "orderNum": 2, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 105, "parentId": 101, "ancestors": "0,100,101", "deptName": "测试部门", "orderNum": 3, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 106, "parentId": 101, "ancestors": "0,100,101", "deptName": "财务部门", "orderNum": 4, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 107, "parentId": 101, "ancestors": "0,100,101", "deptName": "运维部门", "orderNum": 5, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 108, "parentId": 102, "ancestors": "0,100,102", "deptName": "市场部门", "orderNum": 1, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] }, { "searchValue": null, "createBy": "admin", "createTime": "2022-09-07 17:17:42", "updateBy": null, "updateTime": null, "remark": null, "params": {}, "deptId": 109, "parentId": 102, "ancestors": "0,100,102", "deptName": "财务部门", "orderNum": 2, "leader": "若依", "phone": "15888888888", "email": "ry@qq.com", "status": "0", "delFlag": "0", "parentName": null, "children": [] } ] } </code></pre>

页面列表

ITEM_HTML