From 45942b3205edd27f452908feee2a2d05ac5bce13 Mon Sep 17 00:00:00 2001 From: zhujiyan <17812234322@163.com> Date: Wed, 30 Oct 2024 15:02:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/common.ts | 8 + .../device/control/analysisList/index.vue | 4 +- src/views/govern/device/control/index.vue | 54 ++-- .../currentDevice.vue | 87 +----- .../tabs/components/harmonicSpectrum.vue | 3 +- .../govern/device/control/tabs/realtime.vue | 1 - src/views/govern/device/fileService/index.vue | 40 +-- src/views/govern/device/fileService/popup.vue | 5 +- src/views/govern/device/manage/index.vue | 4 +- src/views/govern/device/manage/popup.vue | 1 - .../planData/components/device_back.vue | 268 ------------------ .../device/planData/components/popup.vue | 45 +-- .../device/planData/components/schemeTree.vue | 2 +- .../planData/components/treeTransfers.vue | 2 - .../govern/manage/basic/popupDictionary.vue | 16 +- 15 files changed, 57 insertions(+), 483 deletions(-) delete mode 100644 src/views/govern/device/planData/components/device_back.vue diff --git a/src/api/common.ts b/src/api/common.ts index 19301ca..84981db 100644 --- a/src/api/common.ts +++ b/src/api/common.ts @@ -46,3 +46,11 @@ export function analyseWave(params: string) { method: 'get' }) } + +//下载波形数据 +export function downloadWave(params: string) { + return createAxios({ + url: '/cs-harmonic-boot/event/getFileZip?eventId=' + params, + method: 'get' + }) +} diff --git a/src/views/govern/device/control/analysisList/index.vue b/src/views/govern/device/control/analysisList/index.vue index 3c3a53c..d094ec3 100644 --- a/src/views/govern/device/control/analysisList/index.vue +++ b/src/views/govern/device/control/analysisList/index.vue @@ -14,12 +14,10 @@ diff --git a/src/views/govern/device/planData/components/popup.vue b/src/views/govern/device/planData/components/popup.vue index fe26230..eb56ca5 100644 --- a/src/views/govern/device/planData/components/popup.vue +++ b/src/views/govern/device/planData/components/popup.vue @@ -178,10 +178,9 @@