From 31b5d6cea1cc0a89391debbb1a87f54972ccfb78 Mon Sep 17 00:00:00 2001
From: Cloud Zhang <941187371@qq.com>
Date: 星期四, 16 五月 2024 14:22:33 +0800
Subject: [PATCH] 工单料站表

---
 src/api/tigerapi/mes/router.ts |   33 ++++++++++++++++++++++++++++++---
 1 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/src/api/tigerapi/mes/router.ts b/src/api/tigerapi/mes/router.ts
index 43a4ee0..b815637 100644
--- a/src/api/tigerapi/mes/router.ts
+++ b/src/api/tigerapi/mes/router.ts
@@ -97,10 +97,10 @@
 /*
  * 鍒犻櫎宸ヨ壓璺嚎
  */
-export const DeleteRoute = async (params: Recordable) => {
-  const usParams = genAction('MES_ROUTE', [params]);
+export const DeleteRoute = async (params: string) => {
+  const usParams = genAction('MES_ROUTE', params);
   return await defHttp.post(
-    { url: Api.DeleteList, params: usParams },
+    { url: mesApi.DeleteRoute, params: usParams },
     {
       errorMessageMode: 'none',
       isTransformResponse: false,
@@ -116,3 +116,30 @@
       isTransformResponse: false,
     },
   );
+
+/*
+ *琛屼负鐩稿叧
+ */
+export const ActTypeStatus = async () => {
+  const usParams = genAction('MES_ROUTE_NODE_ACT+ACT_TYPEs', '');
+  return await defHttp.post(
+    { url: Api.urlQueryEnum, params: usParams },
+    {
+      errorMessageMode: 'none',
+      isTransformResponse: false,
+      //apiUrl: globSetting.taskApiUrl
+    },
+  );
+};
+
+export const DoTypeStatus = async () => {
+  const usParams = genAction('MES_ROUTE_NODE_ACT+DO_TYPEs', '');
+  return await defHttp.post(
+    { url: Api.urlQueryEnum, params: usParams },
+    {
+      errorMessageMode: 'none',
+      isTransformResponse: false,
+      //apiUrl: globSetting.taskApiUrl
+    },
+  );
+};

--
Gitblit v1.9.3