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', }); };