From abf7a67d079d3947afadd000f3b2310b6b21bb2e Mon Sep 17 00:00:00 2001 From: wangwenhua <12345678> Date: Mon, 20 Oct 2025 21:47:46 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/subsystem/scene/index.vue | 60 ++--------------------------- 1 file changed, 4 insertions(+), 56 deletions(-) diff --git a/src/views/subsystem/scene/index.vue b/src/views/subsystem/scene/index.vue index 639c196..d12b7c6 100644 --- a/src/views/subsystem/scene/index.vue +++ b/src/views/subsystem/scene/index.vue @@ -36,7 +36,6 @@ 统计分析 - 支援保障仿真效果统计表
- -
- 新增 - - - - - -
-
- +
支援保障仿真效果统计表
+
{ this.childWindow && this.childWindow.close() return true // 必须设置 returnValue 才能显示确认框 @@ -330,9 +278,9 @@ export default { }, methods: { downloadExcel1() { - this.$axios({ + this.$http({ method: 'get', - url: '/scenario/battleConsume/statistic/downloadExcel1', + url: '/scenario/battleConsume/downloadExcel1', responseType: 'blob' }).then(res => { const blob = new Blob([res.data], { From 88dc73abdcb36dd8ce328709e892c7e084bab4f8 Mon Sep 17 00:00:00 2001 From: wangwenhua <12345678> Date: Tue, 21 Oct 2025 05:07:47 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/subsystem/scene/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/views/subsystem/scene/index.vue b/src/views/subsystem/scene/index.vue index d12b7c6..a0cc1a9 100644 --- a/src/views/subsystem/scene/index.vue +++ b/src/views/subsystem/scene/index.vue @@ -277,14 +277,15 @@ export default { }) }, methods: { + downloadExcel1() { - this.$http({ + this.axios({ method: 'get', - url: '/scenario/battleConsume/downloadExcel1', + url: '/downloadExcel1', responseType: 'blob' }).then(res => { - const blob = new Blob([res.data], { - type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' + const blob = new Blob([res], { + type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' }) const link = document.createElement('a') link.href = URL.createObjectURL(blob) From e95e5fe60f62b8b5dae15dd4daf2a4ee00f54a01 Mon Sep 17 00:00:00 2001 From: wangwenhua <12345678> Date: Tue, 21 Oct 2025 05:08:52 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=90=8D=E7=A7=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/subsystem/scene/index.vue | 1 - 1 file changed, 1 deletion(-) diff --git a/src/views/subsystem/scene/index.vue b/src/views/subsystem/scene/index.vue index a0cc1a9..f63f3cb 100644 --- a/src/views/subsystem/scene/index.vue +++ b/src/views/subsystem/scene/index.vue @@ -277,7 +277,6 @@ export default { }) }, methods: { - downloadExcel1() { this.axios({ method: 'get',