mirror of
https://gitee.com/qqtt-ah/ecom-dmb.git
synced 2026-11-24 08:29:19 +08:00
feat(company-overview): 品类多维度经营明细对比导出功能
- 新增指定品类导出和导出全部两种模式 - 表头加全选复选框,每行加单选复选框 - CategoryComparisonTable 新增 categoryExportMode/selectedExportCategoryIds props - index.vue 新增品类导出状态和 handleCategoryExport - apis.ts 新增 exportCategoryOverviewApi - 修复空状态 colspan
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user