开始巡检查询接口
<p><strong>请求URL:</strong> </p>
<ul>
<li><code>http://192.168.2.107:8080/ops/customize/zheshang/inspection/task/getTaskDetails</code></li>
</ul>
<p><strong>请求方式:</strong></p>
<ul>
<li>POST </li>
</ul>
<p><strong>Header:</strong></p>
<pre><code>token:bfde6131aae34a339c3ea339cc517e7c
Content-Type:application/json
</code></pre>
<p><strong>参数:</strong> </p>
<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;">taskId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>巡检任务id</td>
</tr>
<tr>
<td style="text-align: left;">item.content.explain</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string 或者 Object</td>
<td>当值为:复选框时,explain值是一个对象</td>
</tr>
<tr>
<td style="text-align: left;">item.content.openErrorStatus</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>当值为:开启时,巡检页面需要展示异常,正常的标识(和之前普通指标一致),否则没有</td>
</tr>
</tbody>
</table>
<p><strong>返回示例</strong></p>
<pre><code>{
"errorCode": 0,
"message": "成功",
"time": 1634005292007,
"responseBody": {
"item": [
{
"inspectionItemName": "产品二部",
"inspectionItemId": "c6506e4d924749188f9e5350f30c8757",
"content": [
{
"explain": "8楼信息技术部8楼信息技术部8楼信息技术部",
"min": 100,
"abnormal": [],
"contentDetailsId": "8facecfcd8ec46338d096fd6f36fdd22",
"max": 1,
"inspectionContentId": "813e9d26ed7f452d8d66e44912714f73",
"type": "数值型自动判断",
"inspectionContentName": "8楼信息技术部"
},
{
"explain": {
"explain": "金科技科技科技6666666666666666666666666",
"checkBooxAttr": [
{
"selectValue": "蔬菜",
"checked": false,
"selectLabel": "蔬菜"
},
{
"selectValue": "肉类",
"checked": false,
"selectLabel": "肉类"
}
],
"openErrorStatus": "开启"
},
"abnormal": [],
"contentDetailsId": "d2a9cff8a03f4ea5a5a5eff55fe746dd",
"inspectionContentId": "478bc5fa918d4356a93eb2bd6b0fcc66",
"type": "复选框",
"inspectionContentName": "金科技科技科技"
},
{
"explain": "9楼人力资源",
"abnormal": [],
"contentDetailsId": "00442d003dc44969b256cbdf9025363f",
"inspectionContentId": "926eb228c4b047749b6a65b2278b1555",
"type": "人工判断",
"inspectionContentName": "9楼人力资源"
}
]
}
],
"cabinet": [],
"uuid": "bf9fd1b7ff17419681827c815eef55b4"
}
}
</code></pre>