diff --git a/package.json b/package.json index 604122da..f72be292 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "echarts": "^5.4.3", "echarts4": "npm:echarts@^4.9.0", "element-plus": "^2.5.3", + "exceljs": "^4.4.0", "html2canvas": "^1.4.1", "jquery": "^3.7.1", "lodash-es": "^4.17.21", @@ -34,6 +35,7 @@ "vue-draggable-resizable": "3.0.0-beta.2", "vue-router": "4", "vxe-table": "^4.5.17", + "vxe-table-plugin-export-xlsx": "^4.0.1", "xe-utils": "^3.5.14" }, "devDependencies": { diff --git a/src/api/advance-boot/analyse.ts b/src/api/advance-boot/analyse.ts new file mode 100644 index 00000000..44873d70 --- /dev/null +++ b/src/api/advance-boot/analyse.ts @@ -0,0 +1,26 @@ +import createAxios from '@/utils/request' + +// 分析记录管理 +export function queryRelevantLogPage(data: any) { + return createAxios({ + url: '/advance-boot/process/queryRelevantLogPage', + method: 'post', + data: data + }) +} +// 删除策略 +export function delRelevantLog(data: any) { + return createAxios({ + url: '/advance-boot/process/delRelevantLog', + method: 'get', + params:data, + }) +} +// 影响范围分析 查询 +export function queryEventsAssPage(data: any) { + return createAxios({ + url: '/advance-boot/process/queryEventsAssPage', + method: 'post', + data, + }) +} \ No newline at end of file diff --git a/src/main.ts b/src/main.ts index e5f254ce..0b7b5cb2 100644 --- a/src/main.ts +++ b/src/main.ts @@ -15,7 +15,13 @@ import '@/styles/index.scss' import '@/assets/font/iconfont.css' import { ElDialog } from 'element-plus' import BaiduMap from 'vue-baidu-map-3x' +import ExcelJS from 'exceljs' +import VXETablePluginExportXLSX from 'vxe-table-plugin-export-xlsx' +// 方式1:NPM 安装,注入 ExcelJS 对象 +VXETable.use(VXETablePluginExportXLSX, { + ExcelJS +}) window.XEUtils = XEUtils const app = createApp(App) diff --git a/src/views/pms/Event-boot/Region/thermodynamicDiagram.vue b/src/views/pms/Event-boot/Region/thermodynamicDiagram.vue index b74e2987..c5418c03 100644 --- a/src/views/pms/Event-boot/Region/thermodynamicDiagram.vue +++ b/src/views/pms/Event-boot/Region/thermodynamicDiagram.vue @@ -105,14 +105,12 @@ const map = (res: any) => { if (geoCoordMap.value.lengt > 0) { geoCoordMap.value.map(item => { - console.log("🚀 ~ map ~ item:", item) areaData.push(...new Array(3).fill(item)) }) } let maxNum = 0 let minNum = 0 let num: any = [] - console.log('🚀 ~ map ~ areaData:', areaData) if (areaData.length > 0) { areaData.forEach(item => { diff --git a/src/views/pms/voltageSags/analyse/eventCorrelation/index.vue b/src/views/pms/voltageSags/analyse/eventCorrelation/index.vue index 5a0c645c..d47ecf8f 100644 --- a/src/views/pms/voltageSags/analyse/eventCorrelation/index.vue +++ b/src/views/pms/voltageSags/analyse/eventCorrelation/index.vue @@ -1,3 +1,161 @@ \ No newline at end of file +
+ + + + + + + + + + + + + + + + + + + diff --git a/src/views/pms/voltageSags/analyse/eventwaveform/index.vue b/src/views/pms/voltageSags/analyse/eventwaveform/index.vue new file mode 100644 index 00000000..5e06e641 --- /dev/null +++ b/src/views/pms/voltageSags/analyse/eventwaveform/index.vue @@ -0,0 +1,7 @@ + + + diff --git a/src/views/pms/voltageSags/analyse/impactscope/index.vue b/src/views/pms/voltageSags/analyse/impactscope/index.vue new file mode 100644 index 00000000..bd026cfb --- /dev/null +++ b/src/views/pms/voltageSags/analyse/impactscope/index.vue @@ -0,0 +1,149 @@ + +