From 0999f8000ac230b4da2c229b5a88432b0f2f7dbe Mon Sep 17 00:00:00 2001 From: "MJM_2025_05\\polly" Date: Fri, 12 Sep 2025 09:02:50 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20RTSP=20=E5=88=86?= =?UTF-8?q?=E9=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 首頁: 建立 RTSP 點位 Modals --- index.html | 2 +- src/config/cn.json | 9 +- src/config/tw.json | 7 + src/config/us.json | 12 +- src/constant/authPage.js | 6 + src/fontawsomeIconRegister.js | 4 +- src/main.js | 89 ++++-- src/router/index.js | 6 + .../components/AssetMainList.vue | 4 +- .../components/AssetMainListAddModal.vue | 4 +- .../components/DashboardEffectScatter.vue | 77 ++--- .../DashboardEffectScatterModal.vue | 259 ++-------------- .../components/DashboardEmission.vue | 2 + src/views/rtsp/Rtsp.vue | 283 ++++++++++++++++++ .../components/SystemInfoModalImage.vue | 4 +- stats.html | 2 +- vite.config.js | 3 +- 17 files changed, 460 insertions(+), 313 deletions(-) create mode 100644 src/views/rtsp/Rtsp.vue diff --git a/index.html b/index.html index 200066c..94262fd 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ 智慧倉儲物流 - + + { diff --git a/src/views/dashboard/components/DashboardEmission.vue b/src/views/dashboard/components/DashboardEmission.vue index 989f5b9..410d8b1 100644 --- a/src/views/dashboard/components/DashboardEmission.vue +++ b/src/views/dashboard/components/DashboardEmission.vue @@ -8,6 +8,7 @@ import useBuildingStore from "@/stores/useBuildingStore"; const store = useBuildingStore(); const { t, locale } = useI18n(); const taipower_data = ref([]); +const elecUseDayData = ref([]); const carbonValue = ref(null); const carbonData = ref(null); const search_data = computed(() => { @@ -107,6 +108,7 @@ watch( JSON.stringify(newValue) !== JSON.stringify(oldValue) ) { getData(newValue); + getElecUseDayData(newValue); } }, { diff --git a/src/views/rtsp/Rtsp.vue b/src/views/rtsp/Rtsp.vue new file mode 100644 index 0000000..0609e29 --- /dev/null +++ b/src/views/rtsp/Rtsp.vue @@ -0,0 +1,283 @@ + + + diff --git a/src/views/system/components/SystemInfoModalImage.vue b/src/views/system/components/SystemInfoModalImage.vue index c8e6cab..acdc04e 100644 --- a/src/views/system/components/SystemInfoModalImage.vue +++ b/src/views/system/components/SystemInfoModalImage.vue @@ -20,7 +20,7 @@ watch(