From 725065e5caba8d10a5c57b66a4cd28222dbe65cd Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 07 九月 2023 17:36:31 +0800
Subject: [PATCH] 11

---
 src/api/project/fund.js |   29 ++++++++++++++++++++++-------
 1 files changed, 22 insertions(+), 7 deletions(-)

diff --git a/src/api/project/fund.js b/src/api/project/fund.js
index 5deda83..1e52c9d 100644
--- a/src/api/project/fund.js
+++ b/src/api/project/fund.js
@@ -49,10 +49,17 @@
 }
 
 // 淇敼璐圭敤鐢宠涓�
+// export function updateFund(data) {
+//   return request({
+//     url: '/project/fund',
+//     method: 'put',
+//     data: data
+//   })
+// }
 export function updateFund(data) {
   return request({
-    url: '/project/fund',
-    method: 'put',
+    url: '/project/fund/fundEdit',
+    method: 'post',
     data: data
   })
 }
@@ -60,8 +67,8 @@
 // 鍒犻櫎璐圭敤鐢宠涓�
 export function delFund(id) {
   return request({
-    url: '/project/fund/' + id,
-    method: 'delete'
+    url: '/project/fund/remove/' + id,
+    method: 'get'
   })
 }
 
@@ -137,9 +144,9 @@
 }
 
 //鎵归噺涓婁紶璐圭敤鐢宠杩涜矾
-export function batchUploadFund(data) {
+export function addorupdateFund(data) {
   return request({
-    url: '/project/fund/addnew',
+    url: '/project/fund/addOrUpdateNew',
     method: 'post',
     data: data
   })
@@ -160,4 +167,12 @@
   })
 }
 
-// /project/itemexpense/getDetailsByItemId/{itemid}
\ No newline at end of file
+// /project/itemexpense/getDetailsByItemId/{itemid}
+
+// 鍚屾鐢宠鍗曞埌鍏变韩琛�
+export function addFundSharedInfo(id) {
+  return request({
+    url: '/project/fund/addFundSharedInfo/' + id,
+    method: 'get'
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.3