From c205e0765ae18536a5b15b5ecbd5d3d0558b57fc Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期四, 18 一月 2024 17:29:53 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/api/plan/productionschedul.js | 33 ++++++++++++++++++++++++++++++++-
1 files changed, 32 insertions(+), 1 deletions(-)
diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js
index 5c56f9a..55a0947 100644
--- a/src/api/plan/productionschedul.js
+++ b/src/api/plan/productionschedul.js
@@ -10,7 +10,7 @@
export function fetchScheduleById(id) {
return request({
- url: '/mes/productionSchedul/'+id,
+ url: '/mes/productionSchedul/selTime/'+id,
method: 'get',
})
}
@@ -21,4 +21,35 @@
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
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3