From f88835b8f545bcf12a2165748f08af3104cce76b Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Sat, 4 Jan 2025 23:16:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=83=A8=E5=88=86bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/reportforms/ConsigneeReport.js | 6 +++--- src/api/reportforms/SalesDepartmentIncomeReport.js | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/api/reportforms/ConsigneeReport.js b/src/api/reportforms/ConsigneeReport.js index de74043f..7a614685 100644 --- a/src/api/reportforms/ConsigneeReport.js +++ b/src/api/reportforms/ConsigneeReport.js @@ -18,11 +18,11 @@ export const postFindbusinessLine = () => { }; /** 报表导出 */ -export const postDeptIncomingExport = params => { +export const postDeptIncomingExport = data => { return request({ url: '/api/logpm-report/reportIncoming/consigineeIncomingExport', - method: 'get', - params, + method: 'post', + data, responseType: 'blob', }); }; diff --git a/src/api/reportforms/SalesDepartmentIncomeReport.js b/src/api/reportforms/SalesDepartmentIncomeReport.js index 9ac203b6..6c7cf3be 100644 --- a/src/api/reportforms/SalesDepartmentIncomeReport.js +++ b/src/api/reportforms/SalesDepartmentIncomeReport.js @@ -18,11 +18,11 @@ export const postFindbusinessLine = () => { }; /** 报表导出 */ -export const postDeptIncomingExport = params => { +export const postDeptIncomingExport = data => { return request({ url: '/api/logpm-report/reportIncoming/deptIncomingExport', - method: 'get', - params, + method: 'post', + data, responseType: 'blob', }); };