文档
测试

单位首页

GET
{{url}}/operation/1.1/home

请求头

参数名
类型
描述
必填
token
string
示例:
必填

示例

请求参数: ``` ``` 响应体: ``` { "countSourceByCategory": [ { "total": 3, "categoryName": "降水" } ], "countRiskByCategory": [ { "total": 10, "risk_category": 1, "categoryName": "危险品jjj" } ], "countSourceByLevel": [ { "total": 2, "level": 4 }, { "total": 1, "level": 1 } ], "countTask": 10, "countTimeout": 0, "countNoPlan": 0, "countOverd": 2, "countLevelByMonth": [ { "total": 2, "level": 1, "mon": "2020-09" }, { "total": 2, "level": 4, "mon": "2020-09" } ], "countRisk": [ { "total": 9, "level": 1 }, { "total": 1, "level": 2 } ] } ```

响应参数说明

参数名
类型
描述
必填
countSourceByCategory
array
危险源分类别统计
必填
categoryName
string
分类名
必填
total
int
数量
必填
countSourceByLevel
array
危险源分等级统计
必填
level
object
1低风险2一般风险3较大风险4重大风险
必填
total
int
数量
必填
countTask
int
检查数
必填
countTimeout
int
超时的重大危险源
必填
countOverd
int
整改完成的重大隐患
必填
countLevelByMonth
array
评价趋势
必填
mon
string
月份
必填
total
int
数量
必填
level
int
1低风险2一般风险3较大风险4重大风险
必填
countRiskByCategory
array
隐患分类别统计
必填
risk_category
int
类别
必填
total
int
数量
必填
categoryName
string
类别
必填
countRisk
array
按隐患等级的隐患数统计
必填
total
int
数量
必填
level
int
等级0不是隐患1一般隐患2重大隐患
必填
countNoPlan
int
未制定计划的重大风险源
必填