From a97ed98a732f533edd1b2b61ca3dbcaec7406306 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 29 十一月 2023 10:41:46 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before
---
src/api/quality/rawMaterial.js | 23 ++++++++++++++++++++---
1 files changed, 20 insertions(+), 3 deletions(-)
diff --git a/src/api/quality/rawMaterial.js b/src/api/quality/rawMaterial.js
index af1c32b..5b8bbd5 100644
--- a/src/api/quality/rawMaterial.js
+++ b/src/api/quality/rawMaterial.js
@@ -10,7 +10,7 @@
export function selectDevice() {
return request({
- url: '/mes/qualityFinishedInsProduct/scope',
+ url: '/mes/rawInsProduct/selectDevice',
method: 'get',
})
}
@@ -27,6 +27,14 @@
return request({
url: '/mes/rawInspect/'+data,
method: 'get',
+ })
+}
+
+export function downloadReport(data) {
+ return request({
+ url: '/mes/rawInspect/downloadReport',
+ method: 'post',
+ responseType: 'blob',
})
}
@@ -69,10 +77,19 @@
})
}
-export function selectHisByCode(data) {
+// export function selectHisByCode(data) {
+// return request({
+// url: '/mes/rawInsProduct/seleHisByCode',
+// method: 'get',
+// params: data
+// })
+// }
+
+export function exportRawMaterial(data) {
return request({
- url: '/mes/rawInsProduct/seleHisByCode',
+ url: '/mes/rawInspect/export',
method: 'get',
+ responseType: 'blob',
params: data
})
}
--
Gitblit v1.9.3