mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-09-19 02:04:37 +08:00
0fc4e4386e08831ce0268ceda4f35bc2e334de48
Aligns with the iot-dc3 backend rename: dc3_rule_state.event_id and
dc3_notify_history.event_id now ship as alarm_id, and the corresponding
JSON keys / TypeScript types follow.
- AlarmDetail: rule-state and notify-history detail panels now show
the field as "Alarm ID" with prop="alarmId".
- alarm.ts: RuleStateRecord.eventId / NotifyHistoryRecord.eventId →
alarmId.
- EventTable: add a Level column rendering dc3_entity_alarm.alarm_level_flag
(P0/P1/P2/P3) — the column already existed on the backend but the
dashboard never surfaced it. Tag color leans danger->success as the
level number grows so P0 lights up red.
- i18n: add settings.event.alarmLevel ("Level" / "级别") for the new column.
1. Prepare
gitVisual Studio Codenodejs>= 18, recommended to use 22pnpm, install usingcorepack enable && corepack prepare pnpm@latest --activate(ornpm install -g pnpm)
2. Source code
git clone https://github.com/pnoker/iot-dc3-web.git
3. Develop
cd iot-dc3-web
# install
pnpm install
# run
pnpm dev
Description
IoT DC3 是一个基于 Spring Cloud 的 100% 完全开源的、分布式的物联网(IoT)平台,用于快速开发物联网项目和管理物联设备,是一整套物联系统解决方案。
311 MiB
Languages
Java
75.7%
TypeScript
10.4%
Vue
8.3%
PLpgSQL
3.6%
JavaScript
0.9%
Other
1%