From 23a9cb837058edd4fd7fd07d74a200845297bca1 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 14 九月 2023 10:56:16 +0800
Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web
---
src/api/project/fund.js | 19 +++++++++++++------
1 files changed, 13 insertions(+), 6 deletions(-)
diff --git a/src/api/project/fund.js b/src/api/project/fund.js
index a95a25d..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
})
--
Gitblit v1.9.3