ITSM

运维管理系统


暂存、保存巡检任务

[TOC]

简要描述
  • 暂存、保存巡检任务
请求URL
  • http://192.168.2.107:8080/ops/itsm/inspection/task/add
请求方式
  • POST
参数
参数名 必选 类型 说明
taskId string 任务id
finish boolen 暂存:false,完成:true
item list
cabinet list
参数示例
  {
    "taskId": "c141ac5cd64c4bb192ae76c34b44dae1", 
    "finish": false, 
    "item": [
        {
            "itemId": "e62d0f8183bf4bc98764b06e7ecf5554", 
            "content": [
                {
                    "result": "正常", 
                    "value": "测试", 
                    "explain": {
                        "explain": "测试巡检项1"
                    }, 
                    "abnormal": [ ], 
                    "normalPhotoList": [ ], 
                    "contentDetailsId": "9321e20e4ce449d19baf15df7eec024c"
                }, 
                {
                    "result": "正常", 
                    "value": "测试", 
                    "explain": {
                        "explain": "测试巡检内容2"
                    }, 
                    "abnormal": [ ], 
                    "normalPhotoList": [ ], 
                    "contentDetailsId": "06bea689150e49ef9c7b159d999eb770"
                }
            ], 
            "isExemptState": false
        }
    ], 
    "cabinet": [
        {
            "jiguiDetailsId": "79ef724a781c4dd4825270bdd269e3d5", 
            "result": "正常", 
            "abnormal": [ ]
        }
    ]
}
返回示例
{
    "errorCode": 0,
    "message": "保存成功",
    "time": 1641881693568,
    "responseBody": null
}

页面列表

ITEM_HTML