refactor: 把工作台接口迁移到bi层

This commit is contained in:
2026-08-12 22:18:49 +08:00
parent 51186c48eb
commit 4e343bd83c
25 changed files with 599 additions and 337 deletions
@@ -88,7 +88,7 @@ async function handleShopExport() {
payload.shopIds = selectedExportShopIds.value;
}
await exportByPost(
'/ec/workbench/export/by-shop',
'/bi/workbench/export/by-shop',
payload,
`多维度经营明细_按店铺汇总_${dateSegmentForFilename()}.xlsx`,
);
@@ -112,7 +112,7 @@ async function handlePlatformExport() {
payload.platformCodes = selectedExportPlatformCodes.value;
}
await exportByPost(
'/ec/workbench/export/by-platform',
'/bi/workbench/export/by-platform',
payload,
`多维度经营明细_按平台汇总_${dateSegmentForFilename()}.xlsx`,
);
@@ -136,7 +136,7 @@ async function handleCategoryExport() {
payload.categoryIds = selectedExportCategoryIds.value;
}
await exportByPost(
'/ec/workbench/export/by-category',
'/bi/workbench/export/by-category',
payload,
`多维度经营明细_按品类汇总_${dateSegmentForFilename()}.xlsx`,
);
@@ -160,7 +160,7 @@ async function handleProductExport() {
payload.productIds = selectedExportProductIds.value;
}
await exportByPost(
'/ec/workbench/export/by-product',
'/bi/workbench/export/by-product',
payload,
`多维度经营明细_按商品汇总_${dateSegmentForFilename()}.xlsx`,
);