From b86d97b09d1aca57291004c1a2bc014f90702918 Mon Sep 17 00:00:00 2001
From: ludc
Date: 星期五, 26 一月 2024 16:14:39 +0800
Subject: [PATCH] 提交代码

---
 Source/UBCS-WEB/src/api/omd/btmType.js |   30 +++++++++++++++++++++++++++++-
 1 files changed, 29 insertions(+), 1 deletions(-)

diff --git a/Source/UBCS-WEB/src/api/omd/btmType.js b/Source/UBCS-WEB/src/api/omd/btmType.js
index 1d9218e..d0e827d 100644
--- a/Source/UBCS-WEB/src/api/omd/btmType.js
+++ b/Source/UBCS-WEB/src/api/omd/btmType.js
@@ -40,4 +40,32 @@
             oid: oid
         }
     })
-}
\ No newline at end of file
+}
+
+export const add = (btmType,auto) => {
+    return request({
+        url: '/api/ubcs-omd/btm-type/submit/' + auto,
+        method: 'post',
+        data: btmType
+    })
+}
+
+export const update = (btmType) => {
+    return request({
+        url: '/api/ubcs-omd/btm-type/submit/' + auto,
+        method: 'post',
+        data: btmType
+    })
+}
+
+export const btmPage = (current,size,params) => {
+    return request ({
+        url: '/api/ubcs-omd/btm-type/page',
+        method: 'get',
+        params: {
+            current,
+            size,
+            ...params
+        }
+    })
+}

--
Gitblit v1.9.3