Commit f1af715b authored by wangyongyu's avatar wangyongyu

文件上传改

parent af1dbd3a
...@@ -15,7 +15,7 @@ export default { ...@@ -15,7 +15,7 @@ export default {
queryBackReceiptList: "/backstage/auth/queryBackReceiptList", //回销关联账单列表查询 queryBackReceiptList: "/backstage/auth/queryBackReceiptList", //回销关联账单列表查询
queryReceiptInfoList: "/backstage/auth/queryReceiptInfoList", //回销账单列表查询 queryReceiptInfoList: "/backstage/auth/queryReceiptInfoList", //回销账单列表查询
deleteReceiptRecord: "/backstage/auth/deleteBackReceipt", // 删除已关联账单 deleteReceiptRecord: "/backstage/auth/deleteBackReceipt", // 删除已关联账单
exportBackMoneyReport: "/backstage/auth/backMoneyListExport", // 回款列表导出 backMoneyListExport: "/backstage/auth/backMoneyListExport", // 回款列表导出
exportBackReceiptList: "/backstage/auth/exportBackReceiptList", // 关联账单列表导出 exportBackReceiptList: "/backstage/auth/exportBackReceiptList", // 关联账单列表导出
}; };
...@@ -69,7 +69,7 @@ const DELETERECEIPTRECORD = (data) => { ...@@ -69,7 +69,7 @@ const DELETERECEIPTRECORD = (data) => {
// 回款列表导出 // 回款列表导出
const EXPORTBACKMONEYREPORT = (data) => { const EXPORTBACKMONEYREPORT = (data) => {
return req.post(apis.exportBackMoneyReport, data, { responseType: "blob" }); return req.post(apis.backMoneyListExport, data, { responseType: "blob" });
}; };
// 关联账单导出 // 关联账单导出
......
...@@ -187,7 +187,7 @@ export default { ...@@ -187,7 +187,7 @@ export default {
let filter = { let filter = {
...this.form, ...this.form,
} }
this.$apis.EXPORTBACKRECEIPTLIST(filter).then(res => { this.$apis.exportBackMoneyReport(filter).then(res => {
exportFile(res, '账单回款报表.xls'); exportFile(res, '账单回款报表.xls');
}) })
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment