From 7af57170702277127862dd2c791ea72eaf9a086e Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期二, 19 十二月 2023 13:30:41 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'
---
src/api/plan/productionschedul.js | 25 ++++++++++++++++++++++++-
1 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js
index c0df5f0..6ab0eeb 100644
--- a/src/api/plan/productionschedul.js
+++ b/src/api/plan/productionschedul.js
@@ -10,7 +10,30 @@
export function fetchScheduleById(id) {
return request({
- url: '/mes//productionSchedul/'+id,
+ url: '/mes/productionSchedul/'+id,
method: 'get',
})
+}
+
+export function fillTime(data) {
+ return request({
+ url: '/mes/productionSchedul/fillTime',
+ method: 'put',
+ 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
+ })
}
\ No newline at end of file
--
Gitblit v1.9.3