From 39a6e2d4cbbc789955400ffd2352514a8fe4c188 Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期一, 19 八月 2024 14:05:18 +0800
Subject: [PATCH] 整合代码

---
 Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js |   75 +++++++++++++++++++++++++++++++++++++
 1 files changed, 74 insertions(+), 1 deletions(-)

diff --git a/Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js b/Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js
index f5ef82f..2c93f95 100644
--- a/Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js
+++ b/Source/plt-web/plt-web-ui/src/api/modeling/businessType/api.js
@@ -9,7 +9,7 @@
   });
 }
 
-// 鍒楄〃鏌ヨ
+// 鍒涘缓
 export function addLifeCycle(params) {
   return request({
     url: "/api/btmTypeController/addBtmType",
@@ -17,3 +17,76 @@
     data:params
   });
 }
+
+// 淇敼
+export function updateLifeCycle(params) {
+  return request({
+    url: "/api/btmTypeController/updateBtmType",
+    method: "put",
+    data:params
+  });
+}
+
+// 鍒犻櫎
+export function deleteBtmType(params) {
+  return request({
+    url: "/api/btmTypeController/deleteBtmType",
+    method: "delete",
+    data:params
+  });
+}
+
+// 鍒涘缓瑙嗗浘
+export function createView() {
+  return request({
+    url: "/api/btmTypeController/createView",
+    method: "post",
+  });
+}
+
+// 瀵煎叆
+export function expData (params) {
+  return request({
+    url: '/api/btmTypeController/expData',
+    method: 'get',
+    headers: {'Content-Type': 'application/x-www-form-urlencoded;charset=UTF-8'},
+    responseType: 'blob',
+    params
+  })
+}
+
+// 鏌ョ湅浣跨敤鑼冨洿
+export function getUsedBtmLinkList(params) {
+  return request({
+    url: "/api/btmTypeController/getUsedBtmLinkList",
+    method: "get",
+    params
+  });
+}
+
+// 涓�鑷存�ф鏌�
+export function checkBtmConsistency(params) {
+  return request({
+    url: "/api/btmTypeController/checkBtmConsistency",
+    method: "get",
+    params
+  });
+}
+
+// 淇
+export function executeRepair(params) {
+  return request({
+    url: "/api/btmTypeController/executeRepair",
+    method: "post",
+    data:params
+  });
+}
+
+// 鏌ョ湅绱㈠紩
+export function getIndexByCondition(params) {
+  return request({
+    url: "/api/btmTypeController/getIndexByCondition",
+    method: "get",
+    params
+  });
+}

--
Gitblit v1.9.3