From 6ac64fea29fa0df01f9d0e70372e086de9725aa1 Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期三, 06 三月 2024 19:50:01 +0800 Subject: [PATCH] Merge branch 'master' of http://114.132.189.42:9002/r/mes-ocea-before --- src/api/plan/productionschedul.js | 27 +++++++++++++++++++++++++-- 1 files changed, 25 insertions(+), 2 deletions(-) diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js index 6ab0eeb..5784b65 100644 --- a/src/api/plan/productionschedul.js +++ b/src/api/plan/productionschedul.js @@ -8,9 +8,16 @@ }) } +export function fetchRecordsList(mId) { + return request({ + url: '/mes/productionSchedul/pageRecords/'+mId, + method: 'get', + }) +} + export function fetchScheduleById(id) { return request({ - url: '/mes/productionSchedul/'+id, + url: '/mes/productionSchedul/selTime/'+id, method: 'get', }) } @@ -19,6 +26,14 @@ return request({ url: '/mes/productionSchedul/fillTime', method: 'put', + data: data + }) +} + +export function checkTimeLines(data) { + return request({ + url: '/mes/productionSchedul/checkTimeLines', + method: 'post', data: data }) } @@ -36,4 +51,12 @@ method: 'post', data: data }) -} \ No newline at end of file +} + +export function updateState(data) { + return request({ + url: '/mes/productionSchedul/updateState', + method: 'post', + data: data + }) +} -- Gitblit v1.9.3