mirror of
https://gitee.com/pnoker/iot-dc3.git
synced 2026-11-03 03:32:08 +08:00
a9b2b4bd2af8e98d34eb054f96af161bfb4364fc
Event.vue was a single merged table over dc3_device_event and dc3_driver_event, which forced magic column names like "Source ID" that meant different things per row and a Point ID column that only made sense for device rows. Splitting along the source boundary removes the ambiguity. - views/settings/event/Overview.vue — landing page for the parent menu, 4 stat cards (device total/unconfirmed, driver total/ unconfirmed) linking into the detail pages. - views/settings/event/DeviceEvent.vue + DriverEvent.vue — thin wrappers around a shared EventTable.vue component that takes the source as a prop. EventTable hides Point ID on driver pages, looks up device / driver names via the right facade, and keeps all the confirm / unconfirm / bulk plumbing in one place. - router adds settingsDeviceEvent / settingsDriverEvent; Layout breadcrumb nameMap and zh/en i18n extended to match.
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)平台,用于快速开发物联网项目和管理物联设备,是一整套物联系统解决方案。
321 MiB
Languages
Java
75.7%
TypeScript
10.4%
Vue
8.3%
PLpgSQL
3.6%
JavaScript
0.9%
Other
1%