Commit 683e161c authored by “yiyousong”'s avatar “yiyousong”

perf: 恢复报表导出

parent acaaedda
// 导出表格数据 // 导出表格数据
const ExportJsonExcel = require("js-export-excel"); const ExportJsonExcel = require("js-export-excel");
// import { message } from "ant-design-vue"; // import { message } from "ant-design-vue";
import Vue from "vue"; // import Vue from "vue";
/** /**
* 导出excel * 导出excel
* @param {导出的表头名信息} tHeader * @param {导出的表头名信息} tHeader
...@@ -15,8 +15,8 @@ export const export2Excel = (tHeader, filterVal, list, fileName) => { ...@@ -15,8 +15,8 @@ export const export2Excel = (tHeader, filterVal, list, fileName) => {
// maxCount: 1, // maxCount: 1,
// duration: 2, // duration: 2,
// }); // });
Vue.prototype.$app.progressFile.show = false; // Vue.prototype.$app.progressFile.show = false;
Vue.prototype.$app.progressFile.percent = 1; // Vue.prototype.$app.progressFile.percent = 1;
let option = { let option = {
fileName, fileName,
datas: [ datas: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment