From 72f3971ca2defcd85f2db2a726eb7b012ff5b396 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子li <15040126243@163.com> Date: 星期二, 24 八月 2021 13:38:15 +0800 Subject: [PATCH] update 重构 将下载excel工具提取到全局 --- ruoyi-ui/src/views/monitor/operlog/index.vue | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ruoyi-ui/src/views/monitor/operlog/index.vue b/ruoyi-ui/src/views/monitor/operlog/index.vue index 08f3d43..c6fe486 100644 --- a/ruoyi-ui/src/views/monitor/operlog/index.vue +++ b/ruoyi-ui/src/views/monitor/operlog/index.vue @@ -188,8 +188,7 @@ </template> <script> -import { list, delOperlog, cleanOperlog, exportOperlog } from "@/api/monitor/operlog"; -import { downLoadExcel } from "@/utils/zipdownload"; +import { list, delOperlog, cleanOperlog } from "@/api/monitor/operlog"; export default { name: "Operlog", @@ -317,7 +316,7 @@ }, /** 瀵煎嚭鎸夐挳鎿嶄綔 */ handleExport() { - downLoadExcel('/monitor/operlog/export', this.queryParams); + this.downLoadExcel('/monitor/operlog/export', this.queryParams); } } }; -- Gitblit v1.9.3