巡检列表树接口

简要描述
  • 对应jira【US-1583】
  • 巡检列表左边树接口
请求URL
  • http://192.168.2.107:8080/ops/customize/zheshang/inspection/task/getInspTreeList
请求方式
  • POST
参数

{“taskState”:”未执行”}

返回示例
  [
    {
        "name": "生成时间",
        "size": 100,
        "key": "all",
        "childNode": [
            {
                "name": "2021-11-01",
                "size": 14,
                "key": "2021-11-01 00:00:00",
                "childNode": [
                    {
                        "name": "10:00",
                        "size": 14,
                        "key": "2021-11-01 10:00:00",
                        "childNode": []
                    },
                    {
                        "name": "09:00",
                        "size": 14,
                        "key": "2021-11-01 09:00:00",
                        "childNode": []
                    },
                    {
                        "name": "05:00",
                        "size": 14,
                        "key": "2021-11-01 05:00:00",
                        "childNode": []
                    }
                ]
            },
            {
                "name": "2021-10-31",
                "size": 14,
                "key": "2021-10-31 00:00:00",
                "childNode": [
                    {
                        "name": "10:00",
                        "size": 14,
                        "key": "2021-11-01 10:00:00",
                        "childNode": []
                    },
                    {
                        "name": "09:00",
                        "size": 14,
                        "key": "2021-11-01 09:00:00",
                        "childNode": []
                    },
                    {
                        "name": "05:00",
                        "size": 14,
                        "key": "2021-11-01 05:00:00",
                        "childNode": []
                    }
                ]
            },
            {
                "name": "2021-10-31",
                "size": 14,
                "key": "2021-10-31 00:00:00",
                "childNode": [
                    {
                        "name": "10:00",
                        "size": 14,
                        "key": "2021-11-01 10:00:00",
                        "childNode": []
                    },
                    {
                        "name": "09:00",
                        "size": 14,
                        "key": "2021-11-01 09:00:00",
                        "childNode": []
                    },
                    {
                        "name": "05:00",
                        "size": 14,
                        "key": "2021-11-01 05:00:00",
                        "childNode": []
                    }
                ]
            },
            {
                "name": "其他",
                "size": 114,
                "key": "other",
                "childNode": []
            }
        ]
    }
]
返回参数说明
参数名 类型 说明
key String 当点击左边树的时候,查询列表的时候传递的参数
备注