From 363678a54142e62fdd4ca39a0db5c54af1a704dc Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期四, 29 二月 2024 15:39:59 +0800 Subject: [PATCH] 生产调度修改 --- src/api/plan/productionschedul.js | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 41 insertions(+), 2 deletions(-) diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js index c0df5f0..14363dd 100644 --- a/src/api/plan/productionschedul.js +++ b/src/api/plan/productionschedul.js @@ -10,7 +10,46 @@ export function fetchScheduleById(id) { return request({ - url: '/mes//productionSchedul/'+id, + url: '/mes/productionSchedul/selTime/'+id, method: 'get', }) -} \ No newline at end of file +} + +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