From dc31792dc1b8ad1658e49ba8fce9a1be924e6fbb Mon Sep 17 00:00:00 2001
From: wu <731351411@qq.com>
Date: 星期四, 30 十一月 2023 08:44:04 +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