From 7e807f771796a68e799826ae4a5598ddb2eec0d8 Mon Sep 17 00:00:00 2001
From: zouyu <2723363702@qq.com>
Date: 星期一, 11 三月 2024 15:55:11 +0800
Subject: [PATCH] 质检:附件上传

---
 src/api/plan/productionschedul.js |   52 +++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 49 insertions(+), 3 deletions(-)

diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js
index c0df5f0..5784b65 100644
--- a/src/api/plan/productionschedul.js
+++ b/src/api/plan/productionschedul.js
@@ -8,9 +8,55 @@
   })
 }
 
-export function fetchScheduleById(id) {
+export function fetchRecordsList(mId) {
   return request({
-    url: '/mes//productionSchedul/'+id,
+    url: '/mes/productionSchedul/pageRecords/'+mId,
     method: 'get',
   })
-}
\ No newline at end of file
+}
+
+export function fetchScheduleById(id) {
+  return request({
+    url: '/mes/productionSchedul/selTime/'+id,
+    method: 'get',
+  })
+}
+
+export function fillTime(data) {
+  return request({
+    url: '/mes/productionSchedul/fillTime',
+    method: 'put',
+    data: data
+  })
+}
+
+export function checkTimeLines(data) {
+  return request({
+    url: '/mes/productionSchedul/checkTimeLines',
+    method: 'post',
+    data: data
+  })
+}
+
+export function deleteSchedul(mId) {
+  return request({
+    url: '/mes/productionSchedul/'+mId,
+    method: 'delete',
+  })
+}
+
+export function updateSchedul(data) {
+  return request({
+    url: '/mes/productionSchedul/updateByMId',
+    method: 'post',
+    data: data
+  })
+}
+
+export function updateState(data) {
+  return request({
+    url: '/mes/productionSchedul/updateState',
+    method: 'post',
+    data: data
+  })
+}

--
Gitblit v1.9.3