From 79ab38a8bdd0e94c83f1a2e3f8d9a49378993517 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期四, 25 四月 2024 09:51:32 +0800
Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before into master
---
src/api/plan/productionschedul.js | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 56 insertions(+), 3 deletions(-)
diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js
index c0df5f0..4fad468 100644
--- a/src/api/plan/productionschedul.js
+++ b/src/api/plan/productionschedul.js
@@ -8,9 +8,62 @@
})
}
-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
+ })
+}
+
+export function getProductionSchedulReport() {
+ return request({
+ url: '/mes/productionSchedul/getReport',
+ method: 'get',
+ })
+}
--
Gitblit v1.9.3