From d590567cd0a27825f0a948979c6d4da853ad5f16 Mon Sep 17 00:00:00 2001
From: yxh <172933527@qq.com>
Date: 星期四, 14 九月 2023 10:55:49 +0800
Subject: [PATCH] 11
---
src/api/project/fund.js | 17 ++++++++++++-----
1 files changed, 12 insertions(+), 5 deletions(-)
diff --git a/src/api/project/fund.js b/src/api/project/fund.js
index a95a25d..aa853d5 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
})
}
@@ -61,7 +68,7 @@
export function delFund(id) {
return request({
url: '/project/fund/' + id,
- method: 'delete'
+ 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