From 125b765551a31599e7e6f289ab722c28e98a8bfa Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期三, 01 十一月 2023 20:25:47 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before

---
 src/api/quality/processInspect.js |   80 ++++++++++++++++++++++++++++++++++++++++
 1 files changed, 80 insertions(+), 0 deletions(-)

diff --git a/src/api/quality/processInspect.js b/src/api/quality/processInspect.js
new file mode 100644
index 0000000..8968102
--- /dev/null
+++ b/src/api/quality/processInspect.js
@@ -0,0 +1,80 @@
+/*
+ *    Copyright (c) 2018-2025, ztt All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted provided that the following conditions are met:
+ *
+ * Redistributions of source code must retain the above copyright notice,
+ * this list of conditions and the following disclaimer.
+ * Redistributions in binary form must reproduce the above copyright
+ * notice, this list of conditions and the following disclaimer in the
+ * documentation and/or other materials provided with the distribution.
+ * Neither the name of the pig4cloud.com developer nor the names of its
+ * contributors may be used to endorse or promote products derived from
+ * this software without specific prior written permission.
+ * Author: ztt
+ */
+
+import request from '@/router/axios'
+
+export function page(query) {
+  return request({
+    url: '/mes/qualityProcessInspect/page',
+    method: 'get',
+    params: query
+  })
+}
+
+export function updateProcessInspectsById(query) {
+  return request({
+    url: '/mes/qualityProcessInspect/updateProcessInspectsById',
+    method: 'post',
+    params: query
+  })
+}
+
+export function chooseMater(query) {
+    return request({
+      url: '/mes/qualityProcessInspect/chooseMater',
+      method: 'get',
+      params: query
+    })
+  }
+
+export function addProcess(obj) {
+    return request({
+        url: '/mes/qualityProcessInspect/addProcess',
+        method: 'post',
+        data: obj
+    })
+}
+
+export function queryById(obj) {
+    return request({
+        url: '/mes/qualityProcessInspect/'+obj,
+        method: 'get',
+    })
+}
+
+export function deleteById(obj) {
+    return request({
+        url: '/mes/qualityProcessInspect/'+obj,
+        method: 'delete',
+    })
+}
+
+export function updateDeviceBypppId(obj) {
+    return request({
+        url: '/mes/qualityProcessInsProduct/updateDevBypppId',
+        method: 'post',
+        params: obj
+    })
+}
+
+export function updateProcessInsProduct(obj) {
+    return request({
+        url: '/mes/qualityProcessInsProduct/updateprocessInsProduct',
+        method: 'post',
+        params: obj
+    })
+}
\ No newline at end of file

--
Gitblit v1.9.3