获取当前表单配置信息
<h5>简要描述</h5>
<ul>
<li>获取当前表单配置信息</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.8.22:8003/dianjian-configuration/model/getConfiguration</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;">keyword</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>关键字</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"fieldConfigList": [
{
"dataType": "7",
"fieldName": "项目",
"id": 10,
"keyword": "project",
"modelId": 12
},
{
"dataType": "8",
"fieldName": "巡检内容",
"id": 11,
"keyword": "patrol_item",
"modelId": 12
},
{
"dataType": "1",
"fieldName": "是否正常",
"id": 12,
"keyword": "is_normal",
"modelId": 12
},
{
"dataType": "2",
"fieldName": "问题记录",
"id": 13,
"keyword": "problem_record",
"modelId": 12
},
{
"dataType": "2",
"fieldName": "联系人",
"id": 14,
"keyword": "contacts",
"modelId": 12
},
{
"dataType": "4",
"fieldName": "现场照片",
"id": 15,
"keyword": "scene_photo",
"modelId": 12
}
],
"model": {
"id": 12,
"isCurrent": "Y",
"isDeploy": "Y",
"keyword": "model1",
"name": "模型1",
"remark": "model1",
"version": 1,
"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\"}]",
"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}}"
}
}</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;">model</td>
<td style="text-align: left;">Object</td>
<td>模型信息</td>
</tr>
<tr>
<td style="text-align: left;">fieldConfigList</td>
<td style="text-align: left;">Object</td>
<td>字段配置列表</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>