curl --location --request POST 'https://gxs.shhkgxs.com:27443/api/statistics/get_device_alarms' \
--header 'company_id: 1' \
--header 'x-token-u: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1aWQiOjUwNzksImZyb20iOiJhZG1pbiIsInRpbWUiOjE3NDI0Mzc1OTd9.UzYRFZO06kDxhnr8uUk6nJ1UrQNXTs3RLqiFLbo421c'
{
"data": [
{
"device_type": 1,
"device_name": "监护床垫",
"alarmCount": 9,
"finishCount": 4,
"deal_ratio": "84%",
"finish_ratio": "80%"
},
{
"device_type": 2,
"device_name": "按键拉绳报警器",
"alarmCount": 37,
"finishCount": 12,
"deal_ratio": "62%",
"finish_ratio": "50%"
},
{
"device_type": 3,
"device_name": "监护手表",
"alarmCount": 122,
"finishCount": 48,
"deal_ratio": "91%",
"finish_ratio": "68%"
},
{
"device_type": 4,
"device_name": "24小时心电监测仪",
"alarmCount": 0,
"finishCount": 0,
"deal_ratio": "0%",
"finish_ratio": "0%"
}
],
"url": "",
"type": "success",
"msg": "数据获取成功",
"code": 0
}