江西电建


获取数据信息

<h5>简要描述</h5> <ul> <li>获取数据信息</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://192.168.8.22:8003/dianjian-configuration/business/getById</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </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;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>数据ID</td> </tr> </tbody> </table> <h5>返回示例</h5> <pre><code>{ "fieldConfigList": [ { "id": 10, "modelId": 12, "fieldName": "项目", "keyword": "project", "dataType": "7", "tableName": null }, { "id": 11, "modelId": 12, "fieldName": "巡检内容", "keyword": "patrol_item", "dataType": "8", "tableName": null }, { "id": 12, "modelId": 12, "fieldName": "是否正常", "keyword": "is_normal", "dataType": "1", "tableName": null }, { "id": 13, "modelId": 12, "fieldName": "问题记录", "keyword": "problem_record", "dataType": "2", "tableName": null }, { "id": 14, "modelId": 12, "fieldName": "联系人", "keyword": "contacts", "dataType": "2", "tableName": null }, { "id": 15, "modelId": 12, "fieldName": "现场照片", "keyword": "scene_photo", "dataType": "4", "tableName": null } ], "code": 200, "data": [ { "sourceId": 16, "dataType": "8", "id": 43, "keyword": "project", "value": { "p_no": "123456", "create_time": "2021-09-25T13:29:40.000+00:00", "visibility": 1, "end_time": "2021-09-30T07:56:37.000+00:00", "begin_time": "2021-09-01T07:56:28.000+00:00", "priority": 1, "p_describe": "项目描述", "p_master": "userxlasd123", "update_time": "2021-09-23T06:55:11.000+00:00", "p_name": "风电项目", "id": 1, "state": 0, "delete_flag": 0 } }, { "sourceId": 16, "dataType": "9", "id": 44, "keyword": "patrol_item", "value": { "project_id": { "p_no": "123456", "create_time": "2021-09-25T13:29:40.000+00:00", "visibility": 1, "end_time": "2021-09-30T07:56:37.000+00:00", "begin_time": "2021-09-01T07:56:28.000+00:00", "priority": 1, "p_describe": "项目描述", "p_master": "userxlasd123", "update_time": "2021-09-23T06:55:11.000+00:00", "p_name": "风电项目", "id": 1, "state": 0, "delete_flag": 0 }, "end_time": "2021-09-30T06:25:46.000+00:00", "begin_time": "2021-09-28T06:25:28.000+00:00", "id": 1, "sort": 1, "delete_flag": 0, "plan_name": "进度计划", "plan_master": "userxlasd123" } }, { "sourceId": 16, "dataType": "1", "id": 45, "keyword": "is_normal", "value": "是否正常" }, { "sourceId": 16, "dataType": "2", "id": 46, "keyword": "problem_record", "value": "问题记录" }, { "sourceId": 16, "dataType": "2", "id": 47, "keyword": "contacts", "value": "联系人" }, { "sourceId": 16, "dataType": "4", "id": 48, "keyword": "scene_photo", "value": { "file_path": "/2021-09-09", "file_url": "http://192.168.9.172/touxiang/2021-09-09/692ebfa2390609f4a5a18a3360e237fd.jpg", "create_time": "2021-09-09T08:23:06.000+00:00", "file_name": "692ebfa2390609f4a5a18a3360e237fd.jpg", "file_real_name": "692EBFA2390609F4A5A18A3360E237FD的副本.jpg", "bucket_name": "touxiang", "id": 2 } } ], "model": { "id": 12, "name": "模型1", "keyword": "model1", "version": 1, "isCurrent": "N", "widgetStyleJson": "{\"10001\": {\"width\": 12,\"height\": 6},\"10002\": {\"width\": \"12\",\"height\": 1},\"10003\": {\"width\": 6,\"height\": 1},\"10004\": {\"width\": 6,\"height\": 1},\"1634005272341\": {\"width\": 12,\"height\": 6},\"1634005293811\": {\"width\": \"24\",\"height\": \"2\"},\"1634005337825\": {\"width\": 24,\"height\": 2},\"1634179774634\": {\"width\": 12,\"height\": 1},\"1634179780574\": {\"width\": 24,\"height\": 1},\"1634179783384\": {\"width\": 24,\"height\": 1},\"1634179797042\": {\"width\": \"24\",\"height\": 1},\"1634179806608\": {\"width\": 24,\"height\": 2},\"1634179813653\": {\"width\": \"24\",\"height\": 1},\"1634179841369\": {\"width\": \"24\",\"height\": 6}}", "widgetListJson": "[{\"id\": 1634179780574,\"type\": \"project_select\",\"config\": {\"placeholder\": \"请选择巡检的项目\"},\"scripts\": {},\"key\": \"project\",\"notnull\": false}, {\"id\": 1634179783384,\"type\": \"plan_select\",\"config\": {\"placeholder\": \"请选择巡检的内容\"},\"scripts\": {},\"key\": \"patrol_item\"}, {\"id\": 1634179797042,\"type\": \"radio\",\"config\": {\"options\": [{\"label\": \"是\",\"value\": \"1\"}, {\"label\": \"否\",\"value\": \"0\"}],\"function_type\": \"1\"},\"scripts\": {},\"key\": \"is_normal\"}, {\"id\": 1634179806608,\"type\": \"text_area\",\"config\": {\"placeholder\": \"请填写遇到的问题\"},\"scripts\": {},\"key\": \"problem_record\"}, {\"id\": 1634179813653,\"type\": \"input\",\"config\": {},\"scripts\": {},\"key\": \"contacts\"}, {\"id\": 1634179841369,\"type\": \"image\",\"config\": {},\"scripts\": {},\"key\": \"scene_photo\"}]", "remark": "model1", "isDeploy": "Y" } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">groupid</td> <td style="text-align: left;">int</td> <td>用户组id,1:超级管理员;2:普通用户</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML