From 41c9b2fa8cef5f45c23d00d33680764b48dfc3cc Mon Sep 17 00:00:00 2001 From: spring <2396852758@qq.com> Date: 星期日, 27 四月 2025 11:03:43 +0800 Subject: [PATCH] 修改缓存 --- src/api/plan/productionschedul.js | 26 ++++++++++++++++++++++++-- 1 files changed, 24 insertions(+), 2 deletions(-) diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js index bf84050..4fad468 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 }) } @@ -44,4 +59,11 @@ method: 'post', data: data }) -} \ No newline at end of file +} + +export function getProductionSchedulReport() { + return request({ + url: '/mes/productionSchedul/getReport', + method: 'get', + }) +} -- Gitblit v1.9.3