ElementUI在el-table基础上进行导出.xls表格操作

1.截图

2.导出按钮 
导出
3.导出方法
this.downloadFile为全局挂载的方法
/** 导出按钮操作 */
handleExport() {
// 导出接口
exportHealthSubsidy(this.ids)
.then((res) => {
this.downloadFile(res, "文件导出.xls");
})
},
对应接口
 
4.el-table复选框操作
组件自带方法@selection-change
ElementUI在el-table基础上进行导出.xls表格操作最先出现在Python成神之路

版权声明:
作者:cc
链接:https://www.techfm.club/p/11100.html
来源:TechFM
文章版权归作者所有,未经允许请勿转载。

THE END
分享
二维码
< <上一篇
下一篇>>