From e4467c662b8cceccdf8a01bfdf00c08f05ffad83 Mon Sep 17 00:00:00 2001 From: stt Date: Sat, 11 Oct 2025 09:54:24 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 2 +- src/components/tree/pointTree.vue | 2 +- src/components/tree/systemTree.vue | 1 - src/utils/request_wx.ts | 1 - .../components/eventStatistics/collecting.vue | 2 +- .../eventStatistics/dipDetailTotal.vue | 2 +- .../eventStatistics/distributionNetwork.vue | 1 - .../components/eventStatistics/index.vue | 3 +- .../eventStatistics/system copy.vue | 1 - .../components/eventStatistics/system.vue | 1 - src/views/VoltageSag_BJ/components/config.vue | 61 +++++---- .../components/informationTable.vue | 117 ++++++++---------- .../VoltageSag_BJ/components/reportForms.vue | 75 +++++++---- 13 files changed, 144 insertions(+), 125 deletions(-) diff --git a/src/App.vue b/src/App.vue index 1bbea50..7188439 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,7 +23,7 @@ window.addEventListener("message", (event) => { }); // setTimeout(() => { -// console.log("🚀 ~ import.meta.env.VITE_NAME:", import.meta.env.VITE_NAME) +console.log("🚀 ~ import.meta.env.VITE_NAME:", import.meta.env.VITE_NAME) if (import.meta.env.VITE_NAME == 'wuxi') { store.dispatch("loginAction", { username: "cdf", diff --git a/src/components/tree/pointTree.vue b/src/components/tree/pointTree.vue index b393f07..6e98c2d 100644 --- a/src/components/tree/pointTree.vue +++ b/src/components/tree/pointTree.vue @@ -45,7 +45,7 @@ import { } from "@element-plus/icons-vue"; import { getTerminalTreeForFive } from "@/api/manage_wx"; import { useStore } from "vuex"; -import { ElMessage } from "element-plus"; + const store = useStore(); const filterText = ref(""); diff --git a/src/components/tree/systemTree.vue b/src/components/tree/systemTree.vue index 00b6d1d..c5ffe91 100644 --- a/src/components/tree/systemTree.vue +++ b/src/components/tree/systemTree.vue @@ -67,7 +67,6 @@ import { Location, Guide, } from "@element-plus/icons-vue"; -import { ElMessage } from "element-plus"; import { getTerminalTreeForFive } from "@/api/manage_wx"; import { useStore } from "vuex"; const totalId = ref(''); diff --git a/src/utils/request_wx.ts b/src/utils/request_wx.ts index bbc366d..4f5be3c 100644 --- a/src/utils/request_wx.ts +++ b/src/utils/request_wx.ts @@ -1,5 +1,4 @@ import axios from "axios"; -import { ElMessage } from "element-plus"; import type { AxiosInstance, AxiosRequestConfig } from "axios"; class HttpRequest { diff --git a/src/views/SagTraceResult_WX/components/eventStatistics/collecting.vue b/src/views/SagTraceResult_WX/components/eventStatistics/collecting.vue index 434cf1b..264553b 100644 --- a/src/views/SagTraceResult_WX/components/eventStatistics/collecting.vue +++ b/src/views/SagTraceResult_WX/components/eventStatistics/collecting.vue @@ -136,7 +136,7 @@ import type { UploadInstance } from "element-plus"; import { Search, Plus, Upload, Download } from "@element-plus/icons-vue"; import { useStore } from "vuex"; import * as XLSX from "xlsx"; -import { ElMessage , ElMessageBox} from "element-plus"; + import { userDataList, uploadUserData, diff --git a/src/views/SagTraceResult_WX/components/eventStatistics/dipDetailTotal.vue b/src/views/SagTraceResult_WX/components/eventStatistics/dipDetailTotal.vue index d7b9785..4113c74 100644 --- a/src/views/SagTraceResult_WX/components/eventStatistics/dipDetailTotal.vue +++ b/src/views/SagTraceResult_WX/components/eventStatistics/dipDetailTotal.vue @@ -320,7 +320,7 @@ import { Download, } from "@element-plus/icons-vue"; import * as XLSX from "xlsx"; -import { ElMessage , ElMessageBox} from "element-plus"; + // 定义 emit const emit = defineEmits(["aggregation-success"]); diff --git a/src/views/SagTraceResult_WX/components/eventStatistics/distributionNetwork.vue b/src/views/SagTraceResult_WX/components/eventStatistics/distributionNetwork.vue index 4bf1c65..13469df 100644 --- a/src/views/SagTraceResult_WX/components/eventStatistics/distributionNetwork.vue +++ b/src/views/SagTraceResult_WX/components/eventStatistics/distributionNetwork.vue @@ -125,7 +125,6 @@ import { getDynamicData, getResponsibilityData, } from "@/api/manage_wx"; -import { ElMessage } from "element-plus"; const emit = defineEmits(["setTitle"]); // 打开弹窗 const visible = ref(false); const size = ref(0); diff --git a/src/views/SagTraceResult_WX/components/eventStatistics/index.vue b/src/views/SagTraceResult_WX/components/eventStatistics/index.vue index 0290818..731a75f 100644 --- a/src/views/SagTraceResult_WX/components/eventStatistics/index.vue +++ b/src/views/SagTraceResult_WX/components/eventStatistics/index.vue @@ -307,7 +307,7 @@ import { nextTick, onBeforeUnmount, } from "vue"; -import { ElMessage,ElMessageBox } from "element-plus"; +import { ElMessageBox } from "element-plus"; import { eventSource, eventAggregation, @@ -322,6 +322,7 @@ import { hasUpEventList, } from "@/api/manage_wx/index"; import { HelpFilled, Aim, Memo } from "@element-plus/icons-vue"; + const flag = ref(0); // 0 for 暂降, 1 for 谐波, 2 for 谐波放大 const time = ref(0); // 0 for 周, 1 for 月 const { proxy }: any = getCurrentInstance(); diff --git a/src/views/SagTraceResult_WX/components/eventStatistics/system copy.vue b/src/views/SagTraceResult_WX/components/eventStatistics/system copy.vue index 21c8aeb..7cf98a8 100644 --- a/src/views/SagTraceResult_WX/components/eventStatistics/system copy.vue +++ b/src/views/SagTraceResult_WX/components/eventStatistics/system copy.vue @@ -128,7 +128,6 @@ import { getDynamicData, getResponsibilityData, } from "@/api/manage_wx"; -import { ElMessage } from "element-plus"; const visible = ref(false); const size = ref(0); const dotList: any = ref({}); diff --git a/src/views/SagTraceResult_WX/components/eventStatistics/system.vue b/src/views/SagTraceResult_WX/components/eventStatistics/system.vue index 1e7bb78..b319713 100644 --- a/src/views/SagTraceResult_WX/components/eventStatistics/system.vue +++ b/src/views/SagTraceResult_WX/components/eventStatistics/system.vue @@ -272,7 +272,6 @@ import { getResponsibilityData, getTerminalTreeForFive, } from "@/api/manage_wx"; -import { ElMessage } from "element-plus"; import { useStore } from "vuex"; const store = useStore(); diff --git a/src/views/VoltageSag_BJ/components/config.vue b/src/views/VoltageSag_BJ/components/config.vue index 910ed82..b62d10e 100644 --- a/src/views/VoltageSag_BJ/components/config.vue +++ b/src/views/VoltageSag_BJ/components/config.vue @@ -1,9 +1,9 @@ - + 设置 + 取消 + -