|
|
@ -189,6 +189,7 @@ |
|
|
import { |
|
|
import { |
|
|
getIPQCReport, // 获取IPQC报表 |
|
|
getIPQCReport, // 获取IPQC报表 |
|
|
downloadQcRecord, // 导出 |
|
|
downloadQcRecord, // 导出 |
|
|
|
|
|
downloadQcRecordMillion, |
|
|
} from "@/api/qc/qc_report.js" |
|
|
} from "@/api/qc/qc_report.js" |
|
|
import { |
|
|
import { |
|
|
getSiteAndBuByUserName, // 获取site bu |
|
|
getSiteAndBuByUserName, // 获取site bu |
|
|
@ -1076,7 +1077,7 @@ |
|
|
// 导出按钮 |
|
|
// 导出按钮 |
|
|
downloadQcRecord () { |
|
|
downloadQcRecord () { |
|
|
this.downLoading = true |
|
|
this.downLoading = true |
|
|
downloadQcRecord(this.searchData) |
|
|
|
|
|
|
|
|
downloadQcRecordMillion(this.searchData) |
|
|
.then(response => { |
|
|
.then(response => { |
|
|
const blob = new Blob([response.data],{ type: 'application/vnd.ms-excel'}); |
|
|
const blob = new Blob([response.data],{ type: 'application/vnd.ms-excel'}); |
|
|
const url = window.URL.createObjectURL(blob); |
|
|
const url = window.URL.createObjectURL(blob); |
|
|
|