导出方法修改成文件流形式

This commit is contained in:
不做码农
2023-01-30 17:40:46 +08:00
parent 25142f5cc5
commit ec270b7df4
8 changed files with 563 additions and 499 deletions

View File

@@ -13,6 +13,7 @@ import router from './router'
import permission from './directive/permission'
import plugins from './plugins' // plugins
import signalR from '@/utils/signalR'
import { downFile } from '@/utils/request'
import './assets/icons' // icon
import './permission' // permission control
@@ -43,6 +44,7 @@ Vue.prototype.selectDictLabels = selectDictLabels
Vue.prototype.download = download
Vue.prototype.handleTree = handleTree
Vue.prototype.handleDict = handleDict
Vue.prototype.downFile = downFile
Vue.prototype.msgSuccess = function (msg) {
this.$message({ showClose: true, message: msg, type: "success" });