From ea1a8cf41c11f8f533cea594e1f1c03640cf4a96 Mon Sep 17 00:00:00 2001
From: licp <lichunping@guanfang.com.cn>
Date: 星期一, 29 四月 2024 16:26:28 +0800
Subject: [PATCH] 合并冲突
---
src/api/plan/productionschedul.js | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 47 insertions(+), 2 deletions(-)
diff --git a/src/api/plan/productionschedul.js b/src/api/plan/productionschedul.js
index 5c56f9a..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',
})
}
@@ -21,4 +28,42 @@
method: 'put',
data: data
})
-}
\ No newline at end of file
+}
+
+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