profile alert 页面对接告警历史接口 #48
Labels
No Label
area/smartpanel
bug
done-waiting-confirmed
kind/feature
page/admin
page/simplepage
page/tab-admin
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: smartoilets-front/projects#48
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
需要显示告警的历史数据, 服务器API整理后会更新在这里.
https://smartoilets.net/simplepage/PWH/F2/male?profile=alerter
由于这是显示在用户页面而不是管理后台页面,因此数据结构和socketio event 中的应该是相同的.
https://smartoilets.net/openapi/api/alert/info/history?siteName={siteName}&wcName={wcName}
预期返回的数据结构与 socketio event 中 alert 的数据结构是一样的, 但目前服务器可能还需要完善, 可以按照数据结构写代码.
加了一个 新的 alert history 组件命名:
STS__ALERT_HISTORIES
需要 对 ALERT_HISTORIES 做不同分类,过滤显示
具体位置信息 没有显示出来。 场地/厕所/位置号码等
需要支持传递 noticeType 参数, 例如 STS__ALERT_HISTORIES:cleaner ,