ITSM

运维管理系统


开始巡检查询接口

请求URL:

  • http://192.168.2.107:8080/ops/customize/zheshang/inspection/task/getTaskDetails

请求方式:

  • POST

Header:

token:bfde6131aae34a339c3ea339cc517e7c
Content-Type:application/json

参数:

参数名 必选 类型 说明
taskId string 巡检任务id
item.content.explain string 或者 Object 当值为:复选框时,explain值是一个对象
item.content.openErrorStatus string 当值为:开启时,巡检页面需要展示异常,正常的标识(和之前普通指标一致),否则没有

返回示例

{
  "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"
  }
}

页面列表

ITEM_HTML