feat(company-overview): 品类多维度经营明细对比导出功能

- 新增指定品类导出和导出全部两种模式
- 表头加全选复选框,每行加单选复选框
- CategoryComparisonTable 新增 categoryExportMode/selectedExportCategoryIds props
- index.vue 新增品类导出状态和 handleCategoryExport
- apis.ts 新增 exportCategoryOverviewApi
- 修复空状态 colspan
This commit is contained in:
小蟑螂
2026-04-21 17:48:07 +08:00
parent 046fe1ea3f
commit 80c0e6f4aa
7 changed files with 445 additions and 4 deletions
@@ -16,6 +16,19 @@ export async function getCompanyOverviewApi(data: CompanyOverviewDTO.Query) {
);
}
/**
* 导出品类概览Excel
*/
export async function exportCategoryOverviewApi(params: {
dateRange: string[];
categoryIds?: number[];
taxRate: number;
}) {
return requestClient.post('/ec/category-overview/export', params, {
responseType: 'blob',
});
}
/**
* 导出公司概览Excel
*/