巡检列表

简要描述
  • 巡检列表
请求URL
  • http://192.168.2.107:8080/ops/itsm/inspection/task/getAllTask
请求方式
  • POST
参数
参数名 必选 类型 说明
page.pageNum int
page.pageSize int
taskState string 状态(未执行、执行中、已执行、全部)
keyword string 关键字搜索
dateKey string 日期
参数示例
 {
    "page": {
        "pageNum": 1, 
        "pageSize": 2
    }, 
    "taskState": "全部", 
    "keyword": "系统", 
    "dateKey": "all"
}
返回示例
  {
    "errorCode": 0,
    "message": "成功",
    "time": 1641873267014,
    "responseBody": {
        "data": [
            {
                "createTime": "2022-01-07 17:23:00",
                "name": "巡检模板2(No delete)",
                "updateTime": "2022-01-07 17:53:05",
                "state": 0,
                "label": "BasicInspectionTask",
                "uuid": "72507473df9e42c78948f6e5e8e46990",
                "properties": {
                    "inspectionCount": "5",
                    "inspectionTemplateId": "37f9a53154134a11872673219a944221",
                    "taskState": "完成",
                    "abnormal": 1,
                    "overtimeState": "0",
                    "startTime": "2022-01-07 11:13",
                    "ordernum": "2",
                    "endTime": "2022-01-07 18:17",
                    "inspector": [
                        {
                            "inspectorId": "3dc754728e2a434c916bee703333aa66",
                            "inspectorName": "冯嘉进"
                        },
                        {
                            "inspectorId": "d22ae15a56394869924059a9d5867a29",
                            "inspectorName": "系统管理员"
                        },
                        {
                            "inspectorId": "3dc754728e2a434c916bee703333aa66",
                            "inspectorName": "冯嘉进"
                        }
                    ],
                    "jiguiCount": "0",
                    "hander": [
                        {
                            "handerId": "d22ae15a56394869924059a9d5867a29",
                            "handerName": "系统管理员"
                        }
                    ]
                }
            }
        ],
        "page": {
            "taskState": "",
            "dateKey": "all",
            "startTime": "",
            "page": {
                "total": 1,
                "pageSize": 1,
                "pageNum": 1
            },
            "endTime": "",
            "keyword": "系统"
        }
    }
}