diff --git a/src/api/qc/qc_report.js b/src/api/qc/qc_report.js index 1647a98..9218a99 100644 --- a/src/api/qc/qc_report.js +++ b/src/api/qc/qc_report.js @@ -11,3 +11,5 @@ export const getOQCReport = data => createAPI('/pms/qcReport/getOQCReport','post // 导出 export const downloadQcRecord = data => createAPI('/pms/qcReport/downloadQcRecord','post',data, 'download') + +export const downloadQcRecordMillion = data => createAPI('/pms/qcReport/downloadQcRecordMillion','post',data, 'download') diff --git a/src/views/modules/report/IPQC_report.vue b/src/views/modules/report/IPQC_report.vue index 8905614..a6f54e1 100644 --- a/src/views/modules/report/IPQC_report.vue +++ b/src/views/modules/report/IPQC_report.vue @@ -189,6 +189,7 @@ import { getIPQCReport, // 获取IPQC报表 downloadQcRecord, // 导出 + downloadQcRecordMillion, } from "@/api/qc/qc_report.js" import { getSiteAndBuByUserName, // 获取site bu @@ -1076,7 +1077,7 @@ // 导出按钮 downloadQcRecord () { this.downLoading = true - downloadQcRecord(this.searchData) + downloadQcRecordMillion(this.searchData) .then(response => { const blob = new Blob([response.data],{ type: 'application/vnd.ms-excel'}); const url = window.URL.createObjectURL(blob);