fix(bgpartymatter): 导出文件名和下载模板文件名根据 meetingType 区分党委会/所务会

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
wsm
2026-07-02 14:22:04 +08:00
co-authored by Claude Opus 4.7
parent 763fdcc5b2
commit db32ccd7dc
@@ -238,7 +238,7 @@
},
},
exportConfig: {
name: props.ledgerTitle,
name: props.meetingType === 'office' ? '所务会' : '党委会',
url: getExportUrl,
params: getLedgerQueryParams,
},
@@ -638,7 +638,7 @@
const blob = new Blob([data]);
const link = document.createElement('a');
link.href = URL.createObjectURL(blob);
link.download = '党建议题-导入模板.xls';
link.download = props.meetingType === 'office' ? '所务会-导入模板.xls' : '党委会-导入模板.xls';
link.click();
URL.revokeObjectURL(link.href);
}