From 17b583422095aff6bb91bd8ddff5faeb41c8edb2 Mon Sep 17 00:00:00 2001
From: wuyouming666 <2265557248@qq.com>
Date: 星期六, 02 十二月 2023 09:06:24 +0800
Subject: [PATCH] 更新电气管理通讯逻辑
---
CanadaMes-ui/src/api/home.js | 22 ++++++++++++----------
1 files changed, 12 insertions(+), 10 deletions(-)
diff --git a/CanadaMes-ui/src/api/home.js b/CanadaMes-ui/src/api/home.js
index 05cc8b4..22841f0 100644
--- a/CanadaMes-ui/src/api/home.js
+++ b/CanadaMes-ui/src/api/home.js
@@ -21,13 +21,6 @@
})
}
-export function loadtask(type) {
- return request({
- url: '/home/loadinout?types=' + type,
- method: 'get',
- })
-}
-
export function InsertOrder(orderid) {
return request({
url: '/home/InsertOrder?orderid=' + orderid,
@@ -132,11 +125,11 @@
})
}
-export function InsertQueueGlassId(glassid, id) {
+export function InsertQueueGlassId(id,data) {
return request({
- url: '/home/InsertQueueGlassId?glassid=' + glassid + '&id=' + id,
+ url: '/home/InsertQueueGlassId?id=' + id,
method: 'post',
- data: ""
+ data
})
}
@@ -195,3 +188,12 @@
data
})
}
+
+export function isAllowQueues(isAllowQueue) {
+ return request({
+ url: '/home/AddOutSliceS?isAllowQueue'+isAllowQueue,
+ method: 'post',
+ data:""
+ })
+}
+
--
Gitblit v1.8.0