From 15140ffbd4c9e06cacf0d47240d798f54e9b20e4 Mon Sep 17 00:00:00 2001
From: lihang <lihang@vci-tech.com>
Date: 星期四, 03 八月 2023 16:52:11 +0800
Subject: [PATCH] 业务类型修改字段中文名称修正
---
Source/UBCS-WEB/src/api/modeling/cycle.js | 41 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 40 insertions(+), 1 deletions(-)
diff --git a/Source/UBCS-WEB/src/api/modeling/cycle.js b/Source/UBCS-WEB/src/api/modeling/cycle.js
index c350d70..90fe8ca 100644
--- a/Source/UBCS-WEB/src/api/modeling/cycle.js
+++ b/Source/UBCS-WEB/src/api/modeling/cycle.js
@@ -15,7 +15,46 @@
data
})
}
+// 淇敼
+export const edit = (data) => {
+ return request({
+ url: '/api/ubcs-omd/lifeCycle/edit-save',
+ method: 'put',
+ data
+ })
+}
+export const detail = (params) => {
+ return request({
+ url: '/api/ubcs-omd/lifeCycle/detail',
+ method: 'get',
+ params
+ })
+}
+// 鍒犻櫎
+export const del = (data, isBatch) => {
+ let url = '/api/ubcs-omd/lifeCycle/remove'
+ if (isBatch) {
+ url = '/api/ubcs-omd/lifeCycle/batch-remove'
+ }
+ return request({
+ url,
+ method: 'post',
+ data
+ })
+}
+// 鑾峰彇鐢熷懡鍛ㄦ湡浜嬩欢
+export const getEventList = (params) => {
+ return request({
+ url: '/api/ubcs-omd/lifeCycle/page-event',
+ method: 'get',
+ params
+ })
+}
export default {
getList,
- add
+ add,
+ detail,
+ del,
+ edit,
+ getEventList
}
--
Gitblit v1.9.3