告警信息

简要描述:

  • 告警信息

请求URL:

  • http://thingshive.com.cn/event-center/event/statistic/page

请求方式:

  • GET

参数:

参数名 必选 类型 说明
eventFrom str 设备业务类型 elevator
yearNum int 年份
projectId int 项目 id
page int 分页
limit int 每页条数

请求示例

http://thingshive.com.cn/event-center/event/statistic/page?page=1&limit=5&eventFrom=current&yearNum=2021&projectId=141

返回示例

{
    "msg":"success",
    "code":0,
    "data":{
        "total":323,
        "size":5,
        "current":1,
        "records":[
            {
                "delFlag":"0",
                "remark":null,
                "createTime":"2021-01-19 13:27:51",
                "updateTime":"2021-02-03 15:49:50",
                "createBy":2,
                "updateBy":6,
                "id":59,
                "tenantId":44,
                "code":"E1597115971711",
                "name":"name",
                "projectId":141,
                "projectName":"7.24项目测试",
                "level":"Urgent",
                "levelName":"紧急报警",
                "type":"Fault",
                "typeName":"故障",
                "eventType":"WaterAndPowerCut",
                "eventTypeName":"停水停电",
                "eventFrom":"",
                "eventFromName":"系统来源",
                "deviceId":89,
                "deviceName":"中车智能车钩-Z272-008",
                "deviceCode":"CRRC-Z272-008",
                "deviceAttribute":"deviceAttribute",
                "deviceAttributeValue":"deviceAttributeValue",
                "deviceTypeId":null,
                "deviceTypeName":null,
                "specifications":null,
                "content":"contentcontentcontent",
                "state":"0",
                "happenPosition":null,
                "startTime":null,
                "endTime":null,
                "attachmentList":null,
                "attachmentBusinesses":null,
                "delAttachmentIds":null,
                "showImg":null,
                "ids":null,
                "yearNum":null,
                "monthNum":null,
                "count":null,
                "date":null,
                "dateType":null,
                "businessType":null,
                "createName":null,
                "personnel":null,
                "gridId":null,
                "gridName":null,
                "eventSource":null,
                "userType":null,
                "businessCodeList":null
            },
            {
                "delFlag":"0",
                "remark":null,
                "createTime":"2021-01-19 13:27:51",
                "updateTime":"2021-02-03 15:49:50",
                "createBy":2,
                "updateBy":6,
                "id":60,
                "tenantId":44,
                "code":"E1597115971711",
                "name":"name",
                "projectId":141,
                "projectName":"7.24项目测试",
                "level":"Urgent",
                "levelName":"紧急报警",
                "type":"Fault",
                "typeName":"故障",
                "eventType":"WaterAndPowerCut",
                "eventTypeName":"停水停电",
                "eventFrom":"",
                "eventFromName":"系统来源",
                "deviceId":89,
                "deviceName":"中车智能车钩-Z272-008",
                "deviceCode":"CRRC-Z272-008",
                "deviceAttribute":"deviceAttribute",
                "deviceAttributeValue":"deviceAttributeValue",
                "deviceTypeId":null,
                "deviceTypeName":null,
                "specifications":null,
                "content":"contentcontentcontent",
                "state":"0",
                "happenPosition":null,
                "startTime":null,
                "endTime":null,
                "attachmentList":null,
                "attachmentBusinesses":null,
                "delAttachmentIds":null,
                "showImg":null,
                "ids":null,
                "yearNum":null,
                "monthNum":null,
                "count":null,
                "date":null,
                "dateType":null,
                "businessType":null,
                "createName":null,
                "personnel":null,
                "gridId":null,
                "gridName":null,
                "eventSource":null,
                "userType":null,
                "businessCodeList":null
            },
            {
                "delFlag":"0",
                "remark":null,
                "createTime":"2021-01-12 18:25:25",
                "updateTime":"2021-04-20 11:33:57",
                "createBy":2,
                "updateBy":2,
                "id":648,
                "tenantId":44,
                "code":"Ed3ac6533047c46aca180651bf25934a4",
                "name":"事件",
                "projectId":141,
                "projectName":"华正信息",
                "level":"Urgent",
                "levelName":"紧急报警",
                "type":"Fault",
                "typeName":"故障",
                "eventType":"WquipmentFailur",
                "eventTypeName":"设备故障",
                "eventFrom":"",
                "eventFromName":"系统来源",
                "deviceId":145,
                "deviceName":"冷、热计量设备",
                "deviceCode":"RFID-0051",
                "deviceAttribute":"deviceAttribute",
                "deviceAttributeValue":"deviceAttributeValue",
                "deviceTypeId":null,
                "deviceTypeName":null,
                "specifications":"gateway",
                "content":"6号楼大门编号R4090温度设备故障",
                "state":"0",
                "happenPosition":"",
                "startTime":null,
                "endTime":null,
                "attachmentList":null,
                "attachmentBusinesses":null,
                "delAttachmentIds":null,
                "showImg":null,
                "ids":null,
                "yearNum":null,
                "monthNum":null,
                "count":null,
                "date":null,
                "dateType":null,
                "businessType":null,
                "createName":null,
                "personnel":null,
                "gridId":null,
                "gridName":null,
                "eventSource":null,
                "userType":null,
                "businessCodeList":null
            },
            {
                "delFlag":"0",
                "remark":null,
                "createTime":"2020-12-11 21:00:53",
                "updateTime":"2021-02-03 15:49:50",
                "createBy":2,
                "updateBy":6,
                "id":661,
                "tenantId":44,
                "code":"Ed3ac6533047c46aca180651bf25934a4",
                "name":"事件",
                "projectId":141,
                "projectName":"华正信息",
                "level":"Urgent",
                "levelName":"紧急报警",
                "type":"Fault",
                "typeName":"故障",
                "eventType":"ElevatorTrappedPeople",
                "eventTypeName":"电梯困人",
                "eventFrom":"",
                "eventFromName":"系统来源",
                "deviceId":148,
                "deviceName":"电梯",
                "deviceCode":"RFID-0053",
                "deviceAttribute":"deviceAttribute",
                "deviceAttributeValue":"deviceAttributeValue",
                "deviceTypeId":null,
                "deviceTypeName":null,
                "specifications":"gateway",
                "content":"1号楼电梯困人",
                "state":"0",
                "happenPosition":"",
                "startTime":null,
                "endTime":null,
                "attachmentList":null,
                "attachmentBusinesses":null,
                "delAttachmentIds":null,
                "showImg":null,
                "ids":null,
                "yearNum":null,
                "monthNum":null,
                "count":null,
                "date":null,
                "dateType":null,
                "businessType":null,
                "createName":null,
                "personnel":null,
                "gridId":null,
                "gridName":null,
                "eventSource":null,
                "userType":null,
                "businessCodeList":null
            },
            {
                "delFlag":"0",
                "remark":null,
                "createTime":"2020-12-11 14:59:00",
                "updateTime":"2021-02-03 15:49:50",
                "createBy":2,
                "updateBy":5,
                "id":654,
                "tenantId":44,
                "code":"Ed3ac6533047c46aca180651bf25934a4",
                "name":"事件",
                "projectId":141,
                "projectName":"华正信息",
                "level":"Urgent",
                "levelName":"紧急报警",
                "type":"Fault",
                "typeName":"故障",
                "eventType":"ElevatorTrappedPeople",
                "eventTypeName":"电梯困人",
                "eventFrom":"",
                "eventFromName":"系统来源",
                "deviceId":148,
                "deviceName":"电梯",
                "deviceCode":"RFID-0053",
                "deviceAttribute":"deviceAttribute",
                "deviceAttributeValue":"deviceAttributeValue",
                "deviceTypeId":null,
                "deviceTypeName":null,
                "specifications":"gateway",
                "content":"1号楼电梯困人",
                "state":"0",
                "happenPosition":"",
                "startTime":null,
                "endTime":null,
                "attachmentList":null,
                "attachmentBusinesses":null,
                "delAttachmentIds":null,
                "showImg":null,
                "ids":null,
                "yearNum":null,
                "monthNum":null,
                "count":null,
                "date":null,
                "dateType":null,
                "businessType":null,
                "createName":null,
                "personnel":null,
                "gridId":null,
                "gridName":null,
                "eventSource":null,
                "userType":null,
                "businessCodeList":null
            }
        ],
        "pages":65
    }
}

返回参数说明

参数名 类型 说明
code int 状态码, 0:成功;其他:异常
message String 描述信息
data object 返回数据
xaxis String X轴
series int

备注