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({ return request({
url: '/api/logpm-report/reportIncoming/consigineeIncomingExport', url: '/api/logpm-report/reportIncoming/consigineeIncomingExport',
method: 'get', method: 'post',
params, data,
responseType: 'blob', 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({ return request({
url: '/api/logpm-report/reportIncoming/deptIncomingExport', url: '/api/logpm-report/reportIncoming/deptIncomingExport',
method: 'get', method: 'post',
params, data,
responseType: 'blob', responseType: 'blob',
}); });
}; };

Loading…
Cancel
Save