Browse Source

导出

master
shenzhouyu 5 months ago
parent
commit
570796d9ea
  1. 2
      src/api/qc/qc_report.js
  2. 3
      src/views/modules/report/IPQC_report.vue

2
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')

3
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);

Loading…
Cancel
Save