|
@@ -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" });
|