From f91ebd93d2b60400d7e90e9967da1d2336c580a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90li?= <15040126243@163.com> Date: Mon, 23 Aug 2021 18:28:33 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E9=87=8D=E6=9E=84=20=E5=B0=86?= =?UTF-8?q?=E4=B8=8B=E8=BD=BDexcel=E5=B7=A5=E5=85=B7=E6=8F=90=E5=8F=96?= =?UTF-8?q?=E5=88=B0=E5=85=A8=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/main.js | 3 ++- ruoyi-ui/src/views/demo/demo/index.vue | 3 +-- ruoyi-ui/src/views/monitor/job/index.vue | 3 +-- ruoyi-ui/src/views/monitor/job/log.vue | 3 +-- ruoyi-ui/src/views/monitor/logininfor/index.vue | 3 +-- ruoyi-ui/src/views/monitor/operlog/index.vue | 3 +-- ruoyi-ui/src/views/system/config/index.vue | 3 +-- ruoyi-ui/src/views/system/dict/data.vue | 3 +-- ruoyi-ui/src/views/system/dict/index.vue | 3 +-- ruoyi-ui/src/views/system/post/index.vue | 3 +-- ruoyi-ui/src/views/system/role/index.vue | 3 +-- ruoyi-ui/src/views/system/user/index.vue | 5 ++--- 12 files changed, 14 insertions(+), 24 deletions(-) diff --git a/ruoyi-ui/src/main.js b/ruoyi-ui/src/main.js index 5bc2b6c43..f926e66dc 100644 --- a/ruoyi-ui/src/main.js +++ b/ruoyi-ui/src/main.js @@ -16,7 +16,7 @@ import './assets/icons' // icon import './permission' // permission control import { getDicts } from "@/api/system/dict/data"; import { getConfigKey } from "@/api/system/config"; -import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, handleTree } from "@/utils/ruoyi"; +import { parseTime, resetForm, addDateRange, selectDictLabel, selectDictLabels, download, handleTree } from "@/utils/ruoyi"; import Pagination from "@/components/Pagination"; // 自定义表格工具组件 import RightToolbar from "@/components/RightToolbar" @@ -40,6 +40,7 @@ Vue.prototype.addDateRange = addDateRange Vue.prototype.selectDictLabel = selectDictLabel Vue.prototype.selectDictLabels = selectDictLabels Vue.prototype.handleTree = handleTree +Vue.prototype.downLoadExcel = downLoadExcel Vue.prototype.msgSuccess = function (msg) { this.$message({ showClose: true, message: msg, type: "success" }); diff --git a/ruoyi-ui/src/views/demo/demo/index.vue b/ruoyi-ui/src/views/demo/demo/index.vue index a0d9edc72..791ab7e62 100644 --- a/ruoyi-ui/src/views/demo/demo/index.vue +++ b/ruoyi-ui/src/views/demo/demo/index.vue @@ -170,7 +170,6 @@