fix(bgpartymatter): 导出文件名和下载模板文件名根据 meetingType 区分党委会/所务会
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user