通过Id查询巡检任务详情
<p>[TOC]</p>
<h5>简要描述</h5>
<ul>
<li>通过Id查询巡检任务详情</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://192.168.2.107:8080/ops/itsm/inspection/task/getTaskDetails</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;">taskId</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">string</td>
<td>任务id</td>
</tr>
</tbody>
</table>
<h5>参数示例</h5>
<pre><code> {"taskId":"72507473df9e42c78948f6e5e8e46990"}</code></pre>
<h5>返回示例</h5>
<pre><code> {
"errorCode": 0,
"message": "成功",
"time": 1641881297388,
"responseBody": {
"item": [
{
"inspectionItemName": "巡检项1(No delete)",
"inspectionItemId": "e62d0f8183bf4bc98764b06e7ecf5554",
"isExemptState": false,
"errorStatus": "正常",
"exemptstate": "",
"content": [
{
"explain": {
"explain": "测试巡检项1"
},
"isnormalphoto": "否",
"mast": "否",
"isExemptState": "false",
"inspectionContentId": "9078c95feae24c669c22ec1a55d26957",
"ordernum": "1",
"type": "人工判断",
"exemptstate": "",
"result": "异常",
"abnormal": [
{
"createTime": "2022-01-07 17:53:05",
"name": "",
"updateTime": "2022-01-07 17:53:05",
"state": 0,
"describe": "测试",
"uuid": "f4d4187e8e3a457ab2c46c81099c2f81",
"imgList": [
{
"path": "/ops/static/20220107175249_28e4de1d909240898afa47a735101ace.png",
"imgId": "bbba40d848324d1393245bcb83babc9d"
}
]
}
],
"contentDetailsId": "893a3f4ae22f46b5a47317da38a9364b",
"normalPhotoList": [],
"value": "测试",
"inspectionContentName": "测试巡检项1"
},
{
"explain": {
"explain": "测试巡检内容2"
},
"isnormalphoto": "否",
"mast": "否",
"isExemptState": "false",
"inspectionContentId": "afe7f3ee3f244943aa9f12ea7da24ba9",
"ordernum": "2",
"type": "人工判断",
"exemptstate": "",
"result": "正常",
"abnormal": [],
"contentDetailsId": "58d01dd0c4b64c9b987e5d6274160c6b",
"normalPhotoList": [],
"value": "测试",
"inspectionContentName": "测试巡检内容2"
}
]
},
{
"inspectionItemName": "巡检项2(No delete)",
"inspectionItemId": "c92a46c5f6f147ed882a43dc03ed8607",
"isExemptState": true,
"errorStatus": "正常",
"exemptstate": "停机",
"content": [
{
"explain": {
"explain": "巡检内容5",
"checkBooxAttr": [
{
"selectValue": "测试1",
"checked": false,
"selectLabel": "测试1"
},
{
"selectValue": "测试2",
"checked": false,
"selectLabel": "测试2"
}
],
"openErrorStatus": "关闭"
},
"isnormalphoto": "否",
"mast": "是",
"isExemptState": "true",
"inspectionContentId": "d8bf8ae1a3b14ba884d9837f1cffd9f6",
"ordernum": "1",
"type": "复选框",
"exemptstate": "停机",
"result": null,
"abnormal": [],
"contentDetailsId": "9da7b50422d145fcaf409ca9362347d9",
"normalPhotoList": [],
"value": null,
"inspectionContentName": "巡检内容5"
},
{
"explain": {
"explain": "巡检内容6",
"checkBooxAttr": [
{
"selectValue": "测试1",
"checked": false,
"selectLabel": "测试1"
},
{
"selectValue": "测试2",
"checked": false,
"selectLabel": "测试2"
},
{
"selectValue": "测试3",
"checked": false,
"selectLabel": "测试3"
}
],
"openErrorStatus": "关闭"
},
"isnormalphoto": "否",
"mast": "是",
"isExemptState": "true",
"inspectionContentId": "c14f393ed93b4d85ad7be61921354691",
"ordernum": "2",
"type": "单选框",
"exemptstate": "停机",
"result": null,
"abnormal": [],
"contentDetailsId": "c4479c25b7d24e99a019b522a225e2b2",
"normalPhotoList": [],
"value": null,
"inspectionContentName": "巡检内容6"
},
{
"explain": {
"explain": "巡检内容9"
},
"isnormalphoto": "否",
"mast": "是",
"isExemptState": "true",
"inspectionContentId": "878e1317dd3c423da7a96e68438c052b",
"ordernum": "3",
"type": "人工判断",
"exemptstate": "停机",
"result": null,
"abnormal": [],
"contentDetailsId": "6aa515f205ed4ce0aff25cad6f41e35d",
"normalPhotoList": [],
"value": null,
"inspectionContentName": "巡检内容9"
}
]
}
],
"cabinet": [],
"uuid": "72507473df9e42c78948f6e5e8e46990"
}
}</code></pre>