diff --git a/.env.development b/.env.development index 9fe4572..b5dd21c 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ VITE_API_BASEURL = "http://192.168.0.206:8060" -VITE_FILE_API_BASEURL = "" +VITE_FILE_API_BASEURL = "http://192.168.0.206:8088" VITE_FORGE_BASEURL = "http://localhost:5173" \ No newline at end of file diff --git a/.env.production b/.env.production index 7b0e2d0..013439b 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ -VITE_API_BASEURL = "http://220.132.206.5:8060" -VITE_FILE_API_BASEURL = "http://220.132.206.5:8085/file" +VITE_API_BASEURL = "http://192.168.0.206:8060" +VITE_FILE_API_BASEURL = "http://192.168.0.206:8088" VITE_FORGE_BASEURL = "http://202.39.218.221:8080/file/netzero" \ No newline at end of file diff --git a/src/assets/img/icon/C.png b/public/icon/C.png similarity index 100% rename from src/assets/img/icon/C.png rename to public/icon/C.png diff --git a/src/assets/img/icon/E1.png b/public/icon/E1.png similarity index 100% rename from src/assets/img/icon/E1.png rename to public/icon/E1.png diff --git a/src/assets/img/icon/E2.png b/public/icon/E2.png similarity index 100% rename from src/assets/img/icon/E2.png rename to public/icon/E2.png diff --git a/src/assets/img/icon/E3.png b/public/icon/E3.png similarity index 100% rename from src/assets/img/icon/E3.png rename to public/icon/E3.png diff --git a/src/assets/img/icon/E4-1.png b/public/icon/E4-1.png similarity index 100% rename from src/assets/img/icon/E4-1.png rename to public/icon/E4-1.png diff --git a/src/assets/img/icon/EL.png b/public/icon/EL.png similarity index 100% rename from src/assets/img/icon/EL.png rename to public/icon/EL.png diff --git a/src/assets/img/icon/F1.png b/public/icon/F1.png similarity index 100% rename from src/assets/img/icon/F1.png rename to public/icon/F1.png diff --git a/src/assets/img/icon/L1.png b/public/icon/L1.png similarity index 100% rename from src/assets/img/icon/L1.png rename to public/icon/L1.png diff --git a/src/assets/img/icon/L2.png b/public/icon/L2.png similarity index 100% rename from src/assets/img/icon/L2.png rename to public/icon/L2.png diff --git a/src/assets/img/icon/M1.png b/public/icon/M1.png similarity index 100% rename from src/assets/img/icon/M1.png rename to public/icon/M1.png diff --git a/src/assets/img/icon/M10.png b/public/icon/M10.png similarity index 100% rename from src/assets/img/icon/M10.png rename to public/icon/M10.png diff --git a/src/assets/img/icon/M12.png b/public/icon/M12.png similarity index 100% rename from src/assets/img/icon/M12.png rename to public/icon/M12.png diff --git a/src/assets/img/icon/M5-2.png b/public/icon/M5-2.png similarity index 100% rename from src/assets/img/icon/M5-2.png rename to public/icon/M5-2.png diff --git a/src/assets/img/icon/M8.png b/public/icon/M8.png similarity index 100% rename from src/assets/img/icon/M8.png rename to public/icon/M8.png diff --git a/src/assets/img/icon/P.png b/public/icon/P.png similarity index 100% rename from src/assets/img/icon/P.png rename to public/icon/P.png diff --git a/src/assets/img/icon/P1.png b/public/icon/P1.png similarity index 100% rename from src/assets/img/icon/P1.png rename to public/icon/P1.png diff --git a/src/assets/img/icon/PSC.png b/public/icon/PSC.png similarity index 100% rename from src/assets/img/icon/PSC.png rename to public/icon/PSC.png diff --git a/src/assets/img/icon/R.png b/public/icon/R.png similarity index 100% rename from src/assets/img/icon/R.png rename to public/icon/R.png diff --git a/src/assets/img/icon/W1.png b/public/icon/W1.png similarity index 100% rename from src/assets/img/icon/W1.png rename to public/icon/W1.png diff --git a/src/assets/img/icon/W2.png b/public/icon/W2.png similarity index 100% rename from src/assets/img/icon/W2.png rename to public/icon/W2.png diff --git a/src/assets/img/icon/W3.png b/public/icon/W3.png similarity index 100% rename from src/assets/img/icon/W3.png rename to public/icon/W3.png diff --git a/src/components/forge/Forge.vue b/src/components/forge/Forge.vue index e01517f..5013130 100644 --- a/src/components/forge/Forge.vue +++ b/src/components/forge/Forge.vue @@ -1,221 +1,79 @@ diff --git a/src/views/dashboard/components/DashboardSysCard.vue b/src/views/dashboard/components/DashboardSysCard.vue index c59fcd6..8d578e4 100644 --- a/src/views/dashboard/components/DashboardSysCard.vue +++ b/src/views/dashboard/components/DashboardSysCard.vue @@ -51,7 +51,7 @@ const mockData = ref([
icon
diff --git a/src/views/dashboard/components/DashboardSysProgress.vue b/src/views/dashboard/components/DashboardSysProgress.vue index 231f73e..b443226 100644 --- a/src/views/dashboard/components/DashboardSysProgress.vue +++ b/src/views/dashboard/components/DashboardSysProgress.vue @@ -80,7 +80,7 @@ const getProgressValue = (group) => { {{ group[1].value }} diff --git a/src/views/energyManagement/components/BillingDegreeChart.vue b/src/views/energyManagement/components/BillingDegreeChart.vue index bfdca33..38a5f15 100644 --- a/src/views/energyManagement/components/BillingDegreeChart.vue +++ b/src/views/energyManagement/components/BillingDegreeChart.vue @@ -6,81 +6,101 @@ const defaultChartOption = ref({ tooltip: { trigger: "axis", axisPointer: { - type: "shadow" - } + type: "shadow", + }, }, legend: { - data: ['尖峰', '半尖峰', '離峰度數'], + data: ["尖峰", "半尖峰", "離峰度數"], textStyle: { color: "#ffffff", fontSize: 16, }, - orient: "horizontal", + orient: "horizontal", bottom: "0%", }, grid: { - top: '5%', - left: '0%', - right: '0%', - bottom: '10%', - containLabel: true + top: "5%", + left: "0%", + right: "0%", + bottom: "15%", + containLabel: true, }, xAxis: { - type: 'category', - data: ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月'], + type: "category", + data: [ + "1月", + "2月", + "3月", + "4月", + "5月", + "6月", + "7月", + "8月", + "9月", + "10月", + "11月", + "12月", + ], axisLabel: { color: "#ffffff", }, }, yAxis: { - type: 'value', + type: "value", axisLabel: { color: "#ffffff", }, }, series: [ { - name: '尖峰', - type: 'bar', - stack: 'total', - data: [5000, 5500, 7000, 7500, 9000, 9500, 11000, 11500, 11000, 7500, 6500, 5500], + name: "尖峰", + type: "bar", + stack: "total", + data: [ + 5000, 5500, 7000, 7500, 9000, 9500, 11000, 11500, 11000, 7500, 6500, + 5500, + ], itemStyle: { - color: '#3c50e0', + color: "#45f4ef", }, }, { - name: '半尖峰', - type: 'bar', - stack: 'total', - data: [3000, 3200, 4500, 4800, 5200, 5800, 6000, 6100, 6200, 5300, 4500, 4000], + name: "半尖峰", + type: "bar", + stack: "total", + data: [ + 3000, 3200, 4500, 4800, 5200, 5800, 6000, 6100, 6200, 5300, 4500, 4000, + ], itemStyle: { - color: '#6577f3', + color: "#ffd345", }, }, { - name: '離峰度數', - type: 'bar', - stack: 'total', - data: [2000, 2500, 3500, 4000, 4500, 5000, 5200, 5300, 5400, 4500, 4000, 3500], + name: "離峰度數", + type: "bar", + stack: "total", + data: [ + 2000, 2500, 3500, 4000, 4500, 5000, 5200, 5300, 5400, 4500, 4000, 3500, + ], itemStyle: { - color: '#8fd0ef', + color: "#64ed81", }, - } - ] + }, + ], }); onMounted(() => { - // + // });