diff --git a/src/views/subsystem/scene/index.vue b/src/views/subsystem/scene/index.vue index dc38f46..7087847 100644 --- a/src/views/subsystem/scene/index.vue +++ b/src/views/subsystem/scene/index.vue @@ -21,9 +21,7 @@ - -
{{ roomInfo.mag }}倍速  @@ -34,13 +32,12 @@
- + 支援保障仿真效果统计表 +
-
支援保障仿真效果统计表
- -
- 新增 - - - - - -
-
- +
支援保障仿真效果统计表
+
{ this.childWindow && this.childWindow.close() return true // 必须设置 returnValue 才能显示确认框 @@ -334,13 +279,13 @@ export default { }, methods: { downloadExcel1() { - this.$http({ + this.axios({ method: 'get', - url: '/scenario/battleConsume/statistic/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)