|
@@ -149,6 +149,8 @@
|
|
<script>
|
|
<script>
|
|
// 【夹具管理】-API
|
|
// 【夹具管理】-API
|
|
import inspectionApi from "@/api/runManageCenter/inspection"
|
|
import inspectionApi from "@/api/runManageCenter/inspection"
|
|
|
|
+//检测报告-API
|
|
|
|
+import qualityResultApi from "@/api/machiningClient/qualityResultMgr"
|
|
// 【分页】组件
|
|
// 【分页】组件
|
|
import Pagination from "@/components/Pagination"
|
|
import Pagination from "@/components/Pagination"
|
|
// 【共通】函数
|
|
// 【共通】函数
|
|
@@ -267,7 +269,7 @@ export default {
|
|
downloadFile(row) {
|
|
downloadFile(row) {
|
|
this.queryParams.map.fileName = '下载抽检报表'+row.report
|
|
this.queryParams.map.fileName = '下载抽检报表'+row.report
|
|
this.queryParams.model.id = row.id
|
|
this.queryParams.model.id = row.id
|
|
- inspectionApi.export(this.queryParams).then(response => {
|
|
|
|
|
|
+ qualityResultApi.download(this.queryParams).then(response => {
|
|
downloadFile(response);
|
|
downloadFile(response);
|
|
});
|
|
});
|
|
},
|
|
},
|