From 2f1f5059d63256d7ba92a9bd48f380ee55ba828b Mon Sep 17 00:00:00 2001 From: "MJM_2025_05\\polly" Date: Thu, 9 Oct 2025 17:06:40 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=A8=BB=E8=A8=98=E4=BE=9D=E9=83=A8?= =?UTF-8?q?=E5=B1=AC=E9=9C=80=E6=B1=82=E5=88=87=E6=8F=9B=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E9=96=8B=E7=99=BC=E6=88=96=20Docker=20=E5=85=A9=E7=A8=AE=20URL?= =?UTF-8?q?=20=E8=A8=AD=E5=AE=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Scripts/version.txt | 2 +- src/apis/graph/api.js | 7 ++++-- src/apis/history/api.js | 6 ++++- src/components/forge/Forge.vue | 5 ++++- src/components/forge/ForgeForSystem.vue | 5 ++++- src/constant/api_app.js | 6 ++++- src/constant/api_forge.js | 6 ++++- src/router/index-84b479b.js | Bin 7062 -> 7300 bytes src/router/index.js | 5 ++++- src/stores/useHeatmapBarStore.js | 7 +++--- src/util/downloadExcel.js | 5 ++++- src/util/request.js | 5 ++++- .../AssetManagement/components/AssetTable.vue | 5 ++++- .../components/AssetTableModalLeftInfo.vue | 5 ++++- .../AssetTableModalLeftInfoGraph.vue | 5 ++++- .../components/AssetTableModalRightInfo.vue | 5 ++++- .../components/AlertQuery/AlertTableModal.vue | 5 ++++- src/views/dashboard/Dashboard.vue | 21 +++++++++--------- .../components/DashboardEffectScatter.vue | 5 ++++- .../dashboard/components/DashboardSysCard.vue | 5 ++++- .../graphManagement/components/GraphTable.vue | 5 ++++- .../operation/components/OperationTable.vue | 5 ++++- .../components/OperationTableModal.vue | 5 ++++- src/views/rtsp/Rtsp.vue | 5 ++++- src/views/setting/components/Floors.vue | 5 ++++- src/views/system/SystemFloor.vue | 5 ++++- src/views/system/components/SystemCard.vue | 5 ++++- .../components/SystemInfoModalImage.vue | 5 ++++- vite.config.js | 20 +++++++++-------- 29 files changed, 127 insertions(+), 48 deletions(-) diff --git a/Scripts/version.txt b/Scripts/version.txt index b3a9566..5e07d80 100644 --- a/Scripts/version.txt +++ b/Scripts/version.txt @@ -1 +1 @@ -1.0.1-2510091042 +1.0.2-2510091649 diff --git a/src/apis/graph/api.js b/src/apis/graph/api.js index 427ae7c..0cee6a8 100644 --- a/src/apis/graph/api.js +++ b/src/apis/graph/api.js @@ -1,5 +1,8 @@ -// graph -const BASEURL = import.meta.env.VITE_API_BASEURL; +// 本地開發 BASEURL +// const BASEURL = import.meta.env.VITE_API_BASEURL; +// docker 部屬 BASEURL (兩者視部屬方式擇一保留) +const BASEURL = window.env?.VITE_API_BASEURL; + export const GET_GRAPH_SIDEBAR_API = `/GraphManage/GraphManageTreeList`; export const UPDATE_GRAPH_SIDEBAR_API = `/GraphManage/EditGraphManageTree`; diff --git a/src/apis/history/api.js b/src/apis/history/api.js index 64de717..ea1fe7a 100644 --- a/src/apis/history/api.js +++ b/src/apis/history/api.js @@ -1,5 +1,9 @@ // history -const BASEURL = import.meta.env.VITE_API_BASEURL; +// 本地開發 BASEURL +// const BASEURL = import.meta.env.VITE_API_BASEURL; +// docker 部屬 BASEURL (兩者視部屬方式擇一保留) +const BASEURL = window.env?.VITE_API_BASEURL; + export const GET_HISTORY_SIDEBAR_API = `/api/History/GetDeviceInfo`; export const GET_HISTORY_POINT_API = `/api/History/GetAllDevPoi`; export const GET_HISTORY_DATA_API = `/api/History/GetHistoryData`; diff --git a/src/components/forge/Forge.vue b/src/components/forge/Forge.vue index e55b62d..6c0ede0 100644 --- a/src/components/forge/Forge.vue +++ b/src/components/forge/Forge.vue @@ -1,7 +1,10 @@