From 6ecc790c14ac7d22aeaab5512b0093931620a310 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期四, 31 八月 2023 09:19:24 +0800
Subject: [PATCH] 	modified:   .env.development

---
 src/api/inspection/rawmaterial.js |   54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 54 insertions(+), 0 deletions(-)

diff --git a/src/api/inspection/rawmaterial.js b/src/api/inspection/rawmaterial.js
index f32b4c3..2ba90cf 100644
--- a/src/api/inspection/rawmaterial.js
+++ b/src/api/inspection/rawmaterial.js
@@ -8,3 +8,57 @@
     params
   })
 }
+
+//鏂板鎶ユ鍗�
+export function addInspect(data){
+  return request({
+    url: '/inspection/addInspect',
+    method: 'post',
+    data
+  })
+}
+
+//鏍规嵁妫�楠屽崟id鏌ヨ妫�楠屽崟璇︽儏
+export function selectInspectsListById(params){
+  return request({
+    url: '/inspection/selectInspectsListById',
+    method: 'get',
+    params
+  })
+}
+
+//鏌ヨ鎵�鏈夌敤鎴�
+export function selectUser(params){
+  return request({
+    url: '/inspection/selectUser',
+    method: 'get',
+    params
+  })
+}
+
+//鏌ヨ鎵�鏈夎澶�
+export function selectEquipment(params){
+  return request({
+    url: '/inspection/selectEquipment',
+    method: 'get',
+    params
+  })
+}
+
+//鏂板鍘熸潗鏂欐姤妫�
+export function addMaterial(data){
+  return request({
+    url: '/raw-material/add',
+    method: 'post',
+    data
+  })
+}
+
+//鍒犻櫎鍘熸潗鏂欐姤妫�
+export function deleteMaterial(data){
+  return request({
+    url: '/raw-material/delete',
+    method: 'post',
+    data
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.3