profile alert 页面对接告警历史接口 #48

Closed
opened 2024-12-25 18:21:08 +08:00 by liangyuanpeng · 6 comments

需要显示告警的历史数据, 服务器API整理后会更新在这里.

https://smartoilets.net/simplepage/PWH/F2/male?profile=alerter

image

需要显示告警的历史数据, 服务器API整理后会更新在这里. https://smartoilets.net/simplepage/PWH/F2/male?profile=alerter ![image](/attachments/9714d8ab-0001-4837-98ce-67c6ef297795)
166 KiB
liangyuanpeng added the
kind/feature
label 2024-12-25 18:21:08 +08:00
Author
Owner

由于这是显示在用户页面而不是管理后台页面,因此数据结构和socketio event 中的应该是相同的.

由于这是显示在用户页面而不是管理后台页面,因此数据结构和socketio event 中的应该是相同的.
Author
Owner

https://smartoilets.net/openapi/api/alert/info/history?siteName={siteName}&wcName={wcName}

预期返回的数据结构与 socketio event 中 alert 的数据结构是一样的, 但目前服务器可能还需要完善, 可以按照数据结构写代码.

https://smartoilets.net/openapi/api/alert/info/history?siteName={siteName}&wcName={wcName} 预期返回的数据结构与 socketio event 中 alert 的数据结构是一样的, 但目前服务器可能还需要完善, 可以按照数据结构写代码.
Owner

image

加了一个 新的 alert history 组件命名:

STS__ALERT_HISTORIES

image

![image](/attachments/80833cf4-bd27-4f91-b8dc-de0fcbd2994e) 加了一个 新的 alert history 组件命名: STS__ALERT_HISTORIES ![image](/attachments/85690959-942c-4cbb-8420-77af040221f7)
jeff added the
done-waiting-confirmed
label 2024-12-29 23:53:32 +08:00
Owner

需要 对 ALERT_HISTORIES 做不同分类,过滤显示

需要 对 ALERT_HISTORIES 做不同分类,过滤显示
Owner

具体位置信息 没有显示出来。 场地/厕所/位置号码等

具体位置信息 没有显示出来。 场地/厕所/位置号码等
Author
Owner

需要 对 ALERT_HISTORIES 做不同分类,过滤显示

需要支持传递 noticeType 参数, 例如 STS__ALERT_HISTORIES:cleaner ,

> 需要 对 ALERT_HISTORIES 做不同分类,过滤显示 需要支持传递 noticeType 参数, 例如 STS__ALERT_HISTORIES:cleaner ,
Sign in to join this conversation.
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: smartoilets-front/projects#48
No description provided.