Browse Source

修复部分bug

dev
qb 2 weeks ago
parent
commit
f88835b8f5
  1. 6
      src/api/reportforms/ConsigneeReport.js
  2. 6
      src/api/reportforms/SalesDepartmentIncomeReport.js

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

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

Loading…
Cancel
Save