ITSM

运维管理系统


巡检列表数据接口

<h5>简要描述</h5> <ul> <li>【此接口原来就有,只是新增请求参数】巡检列表数据</li> </ul> <h5>请求URL</h5> <ul> <li><code>http://192.168.2.107:8080/ops/customize/zheshang/inspection/task/getAllTask</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;">page</td> <td style="text-align: left;">是</td> <td style="text-align: left;">Obj</td> <td>分页参数</td> </tr> <tr> <td style="text-align: left;">taskState</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>页签名称,包含:未执行、执行中、已执行、全部</td> </tr> <tr> <td style="text-align: left;">keyword</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>传递空字符串</td> </tr> <tr> <td style="text-align: left;">dateKey</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>获取左边树数据,中的key的值</td> </tr> </tbody> </table> <pre><code>{ "page": { "pageNum": 1, "pageSize": 11 }, "taskState": "执行中", "keyword": "", "dateKey": "2021-11-01 12:23:99" } </code></pre> <h5>特别说明</h5> <p><img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/494a7f0e4fb321fa8c05ceab3f437833" alt="" /></p> <h5>返回示例</h5> <pre><code>{ "errorCode": 0, "message": "成功", "time": 1637896070278, "responseBody": { "item": [ { "inspectionItemName": "产品二部", "inspectionItemId": "73f3939440954f108765fe93d5df7719", "errorStatus": "正常", "content": [ { "explain": { "explain": "指标4指标4指标4指标4指标4", "checkBooxAttr": [ { "selectValue": "11", "checked": false, "selectLabel": "11" }, { "selectValue": "22", "checked": false, "selectLabel": "22" } ], "openErrorStatus": "关闭" }, "result": "正常", "abnormal": [], "isnormalphoto": "否", "contentDetailsId": "e5c4264c5a8e4f0d81e31c9aabadd409", "mast": "否", "inspectionContentId": "0eb5380215db4810a7731d1ba209c4f9", "type": "复选框", "normalPhotoList": [], "value": { "explain": "指标4指标4指标4指标4指标4", "checkBooxAttr": [ { "selectValue": "11", "checked": false, "selectLabel": "11" }, { "selectValue": "22", "checked": false, "selectLabel": "22" } ], "openErrorStatus": "关闭" }, "inspectionContentName": "指标42" }, { "explain": { "explain": "指标1指标1指标1指标1" }, "result": "正常", "abnormal": [], "isnormalphoto": "否", "contentDetailsId": "a83e1aa86d97441fa875a6ad12016a18", "mast": "是", "inspectionContentId": "ac41413cd56b405991dc9ac92bcb1f35", "type": "人工判断", "normalPhotoList": [], "value": "", "inspectionContentName": "指标22" }, { "explain": { "explain": "指标二指标二指标二指标二指标二" }, "result": "正常", "abnormal": [], "isnormalphoto": "否", "contentDetailsId": "45b1cdcdcfe440518255842bb8a3432c", "mast": "是", "inspectionContentId": "2ff0bf60f5cd4f29bb33b3e7e9e62ca6", "type": "人工判断", "normalPhotoList": [], "value": "", "inspectionContentName": "指标2311" }, { "explain": { "explain": "指标3指标3指标3指标3指标3指标3指标3指标3" }, "max": 1, "isnormalphoto": "否", "mast": "是", "inspectionContentId": "8aae544a46264b9f9e03d1f36c7712ad", "type": "数值型自动判断", "result": "正常", "min": 100, "abnormal": [], "contentDetailsId": "efc16c054cf0459fa9ee41e6f20dd29b", "normalPhotoList": [], "value": "", "inspectionContentName": "指标31" } ] }, { "inspectionItemName": "产品三部", "inspectionItemId": "3bd861c1fb454af6b5e0d07756adb57d", "errorStatus": "正常", "content": [ { "explain": { "explain": "巡检1巡检1巡检1巡检1巡检1" }, "result": "正常", "abnormal": [], "isnormalphoto": "是", "contentDetailsId": "5acaa3cd715c4688b275299f3c6b9298", "mast": "是", "inspectionContentId": "189df70f749c4ad2bb0b6b59f7aaa37d", "type": "人工判断", "normalPhotoList": [ { "path": "/ops/static/20211126100800_fd47b9092aa647ee9a8bc50ef1d60bbd.jpg", "imgId": "8fa2e0aae01048b1b4d054a0f6def6b4" }, { "path": "/ops/static/20211126110304_341c78bea6194156be485cc5192f1fd9.jpg", "imgId": "167684c10a5a44f882c9ea9624805107" } ], "value": "3333", "inspectionContentName": "巡检1222" }, { "explain": { "explain": "100100100100100100100" }, "max": 50, "isnormalphoto": "是", "mast": "是", "inspectionContentId": "b44723fb13e64ffe8dade497f88c79a8", "type": "数值型自动判断", "result": "异常", "min": 100, "abnormal": [ { "createTime": "2021-11-26 11:07:34", "updateTime": "2021-11-26 11:07:34", "state": 0, "describe": "", "uuid": "fec368c2082b4480ad4c0741dc9e0b05", "imgList": [] } ], "contentDetailsId": "b09702ca76824c079d76ea453d603006", "normalPhotoList": [ { "path": "/ops/static/20211126100800_fd47b9092aa647ee9a8bc50ef1d60bbd.jpg", "imgId": "8fa2e0aae01048b1b4d054a0f6def6b4" }, { "path": "/ops/static/20211126110304_341c78bea6194156be485cc5192f1fd9.jpg", "imgId": "167684c10a5a44f882c9ea9624805107" } ], "value": "33333", "inspectionContentName": "巡检21" }, { "explain": { "explain": "巡检指标5巡检指标5巡检指标5巡检指标5", "checkBooxAttr": [ { "selectValue": "11", "checked": false, "selectLabel": "11" }, { "selectValue": "22", "checked": false, "selectLabel": "22" } ], "openErrorStatus": "开启" }, "result": "正常", "abnormal": [], "isnormalphoto": "否", "contentDetailsId": "28b503378e6e4efcb81d06e195574a23", "mast": "是", "inspectionContentId": "91a916bfc624422dbfebf50f19653d3b", "type": "复选框", "normalPhotoList": [ { "path": "/ops/static/20211126100800_fd47b9092aa647ee9a8bc50ef1d60bbd.jpg", "imgId": "8fa2e0aae01048b1b4d054a0f6def6b4" }, { "path": "/ops/static/20211126110304_341c78bea6194156be485cc5192f1fd9.jpg", "imgId": "167684c10a5a44f882c9ea9624805107" } ], "value": { "explain": "巡检指标5巡检指标5巡检指标5巡检指标5", "checkBooxAttr": [ { "selectValue": "11", "checked": false, "selectLabel": "11" }, { "selectValue": "22", "checked": false, "selectLabel": "22" } ], "openErrorStatus": "开启" }, "inspectionContentName": "巡检指标" } ] } ], "cabinet": [ { "computerRoom": "测试机房1", "errorStatus": "正常", "value": [ { "zone": "", "value": [ { "result": "正常", "jiguiName": "新建机柜", "abnormal": [], "jiguiId": "8a1fe53b61744901b104956690f3be91", "jiguiDetailsId": "18222a65e2a749b98ea367a381f1829d", "sort": "1", "imgList": [] }, { "result": "正常", "jiguiName": "名称截断", "abnormal": [], "jiguiId": "cac8ab42d87a4d678307b8005a39bb76", "jiguiDetailsId": "cf18074fe07140ff8d032cc4cc85b05a", "sort": "1", "imgList": [] } ] } ] } ], "uuid": "c10da3456d11457fb608d3b286ca8cc5" } }</code></pre>

页面列表

ITEM_HTML