点击【暂存、完成】接口

简要描述
  • 暂存,完成接口
请求URL
  • http://192.168.2.107:8080/ops/customize/zheshang/inspection/task/add
请求方式
  • POST
    特表说明
    参数
    {
      "taskId": "c10da3456d11457fb608d3b286ca8cc5",
      "finish": false,
      "item": [
          {
              "itemId": "73f3939440954f108765fe93d5df7719",
              "content": [
                  {
                      "result": "正常",
                      "value": {
                          "explain": "指标4指标4指标4指标4指标4",
                          "checkBooxAttr": [
                              {
                                  "selectValue": "11",
                                  "checked": false,
                                  "selectLabel": "11"
                              },
                              {
                                  "selectValue": "22",
                                  "checked": false,
                                  "selectLabel": "22"
                              }
                          ],
                          "openErrorStatus": "关闭"
                      },
                      "explain": {
                          "explain": "指标4指标4指标4指标4指标4",
                          "checkBooxAttr": [
                              {
                                  "selectValue": "11",
                                  "checked": false,
                                  "selectLabel": "11"
                              },
                              {
                                  "selectValue": "22",
                                  "checked": false,
                                  "selectLabel": "22"
                              }
                          ],
                          "openErrorStatus": "关闭"
                      },
                      "abnormal": [],
                      "contentDetailsId": "e5c4264c5a8e4f0d81e31c9aabadd409"
                  },
                  {
                      "result": "正常",
                      "value": "",
                      "explain": {
                          "explain": "指标1指标1指标1指标1"
                      },
                      "abnormal": [],
                      "contentDetailsId": "a83e1aa86d97441fa875a6ad12016a18"
                  },
                  {
                      "result": "正常",
                      "value": "",
                      "explain": {
                          "explain": "指标二指标二指标二指标二指标二"
                      },
                      "abnormal": [],
                      "contentDetailsId": "45b1cdcdcfe440518255842bb8a3432c"
                  },
                  {
                      "result": "正常",
                      "value": "",
                      "explain": {
                          "explain": "指标3指标3指标3指标3指标3指标3指标3指标3"
                      },
                      "abnormal": [],
                      "contentDetailsId": "efc16c054cf0459fa9ee41e6f20dd29b"
                  }
              ]
          },
          {
              "itemId": "3bd861c1fb454af6b5e0d07756adb57d",
              "content": [
                  {
                      "result": "正常",
                      "value": "3333",
                      "explain": {
                          "explain": "巡检1巡检1巡检1巡检1巡检1"
                      },
                      "abnormal": [],
                      "contentDetailsId": "5acaa3cd715c4688b275299f3c6b9298",
                      "normalPhotoList":["8fa2e0aae01048b1b4d054a0f6def6b4","167684c10a5a44f882c9ea9624805107"]
                  },
                  {
                      "result": "异常",
                      "value": "33333",
                      "explain": {
                          "explain": "100100100100100100100"
                      },
                      "abnormal": [
                          {
                              "describe": "",
                              "imgList": [],
                              "errorMessage": ""
                          }
                      ],
                      "contentDetailsId": "b09702ca76824c079d76ea453d603006",
                      "normalPhotoList":["8fa2e0aae01048b1b4d054a0f6def6b4","167684c10a5a44f882c9ea9624805107"]
                  },
                  {
                      "result": "正常",
                      "value": {
                          "explain": "巡检指标5巡检指标5巡检指标5巡检指标5",
                          "checkBooxAttr": [
                              {
                                  "selectValue": "11",
                                  "checked": false,
                                  "selectLabel": "11"
                              },
                              {
                                  "selectValue": "22",
                                  "checked": false,
                                  "selectLabel": "22"
                              }
                          ],
                          "openErrorStatus": "开启"
                      },
                      "explain": {
                          "explain": "巡检指标5巡检指标5巡检指标5巡检指标5",
                          "checkBooxAttr": [
                              {
                                  "selectValue": "11",
                                  "checked": false,
                                  "selectLabel": "11"
                              },
                              {
                                  "selectValue": "22",
                                  "checked": false,
                                  "selectLabel": "22"
                              }
                          ],
                          "openErrorStatus": "开启"
                      },
                      "abnormal": [],
                      "contentDetailsId": "28b503378e6e4efcb81d06e195574a23",
                      "normalPhotoList":["8fa2e0aae01048b1b4d054a0f6def6b4","167684c10a5a44f882c9ea9624805107"]
                  }
              ]
          }
      ],
      "cabinet": [
          {
              "jiguiDetailsId": "18222a65e2a749b98ea367a381f1829d",
              "result": "正常",
              "abnormal": []
          },
          {
              "jiguiDetailsId": "cf18074fe07140ff8d032cc4cc85b05a",
              "result": "正常",
              "abnormal": []
          }
      ]
    }
    
    |参数名|必选|类型|说明|
    |:—— |:—-|:——- |——- |
    |finish |是 |boolean |如果点击暂存传递false,点击完成传递true |
    |type |是 |string | 如果type是等于复选框,则value是个对象,对象的值是从 inspection/task/getTaskDetails接口返回的explain的值 获取 |
    |item.content.checkBooxAttr.checked |是 |boolean |如果是true表示已经勾选,false没有勾选 |
返回示例
{
    "errorCode": 0,
    "message": "成功",
    "time": 1634006644885,
    "responseBody": null
}