困难帮扶阅览增加导出汇总表格功能

This commit is contained in:
2026-09-09 08:41:12 +08:00
parent facdb5f52a
commit 032507de66
4 changed files with 91 additions and 0 deletions
@@ -42,6 +42,7 @@ layout("/layouts/platform.html"){
<el-card shadow="never" class="mt10">
<table-tool label="数据列表">
<el-button type="primary" icon="el-icon-download" size="small" @click="exportExcel">导出Excel</el-button>
<el-button type="primary" icon="el-icon-download" size="small" @click="exportAttachmentZip">导出附件Zip</el-button>
</table-tool>
@@ -114,6 +115,10 @@ layout("/layouts/platform.html"){
'info': INFO
},
methods: {
// 按当前筛选条件导出全部申请记录,下载及加载状态由公共下载方法统一处理。
exportExcel() {
this.$downLoad(loc() + "/exportExcel", this.pageForm)
},
exportAttachmentZip() {
this.$axios.post(loc() + "/hasExportableAttachment", this.pageForm).then((res) => {
if (res.code === 0 && res.data) {