feat: enhance operations dashboard and reporting controls

This commit is contained in:
hectorzhao
2026-09-04 16:26:22 +08:00
parent bc18c7ff12
commit 48d0363920
23 changed files with 544 additions and 49 deletions
@@ -331,7 +331,8 @@ export class ReportChannelExportService {
};
}
async exportSingleMaterial(data: SingleReportMaterialDto, operatorId?: string) {
async exportSingleMaterial(data: SingleReportMaterialDto | undefined, operatorId?: string) {
if (!data) throw new BadRequestException('导出参数不能为空');
if ((data.reportType ?? 'signature') !== 'signature')
throw new BadRequestException('首版仅支持单条签名报备资料导出');
const detail = await this.getSingleMaterialDetail(data);