From d839943b0d194c14c1599f81a17105e7223a5075 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 26 七月 2024 18:29:09 +0800
Subject: [PATCH] 11

---
 src/api/project/reimbursement.js |   23 ++++++++++++++++-------
 1 files changed, 16 insertions(+), 7 deletions(-)

diff --git a/src/api/project/reimbursement.js b/src/api/project/reimbursement.js
index 08c2fef..fc4832c 100644
--- a/src/api/project/reimbursement.js
+++ b/src/api/project/reimbursement.js
@@ -28,20 +28,29 @@
 // 鏂板鎶ラ攢鐢宠
 export function addReimbursement(data) {
   return request({
-    url: '/project/reimbursement',
+    url: '/project/reimbursement/add',
     method: 'post',
     data: data
   })
 }
 
 // 淇敼鎶ラ攢鐢宠
+// export function updateReimbursement(data) {
+//   return request({
+//     url: '/project/reimbursement',
+//     method: 'put',
+//     data: data
+//   })
+// }
+
 export function updateReimbursement(data) {
   return request({
-    url: '/project/reimbursement',
-    method: 'put',
+    url: '/project/reimbursement/reimbursementEdit',
+    method: 'post',
     data: data
   })
 }
+
 // export function updateReimbursement(data) {
 //   return request({
 //     url: '/project/reimbursement/editMoney',
@@ -53,8 +62,8 @@
 // 鍒犻櫎鎶ラ攢鐢宠
 export function delReimbursement(id) {
   return request({
-    url: '/project/reimbursement/' + id,
-    method: 'delete'
+    url: '/project/reimbursement/remove/' + id,
+    method: 'get'
   })
 }
 
@@ -103,9 +112,9 @@
 }
 
 // 鍚屾鐢宠鍗曞埌鍏变韩琛�
-export function addShareSreimbursementData(id) {
+export function addShareData(id) {
   return request({
-    url: '/project/reimbursement/' + id,
+    url: '/project/reimbursement/addShareData/' + id,
     method: 'get'
   })
 }
\ No newline at end of file

--
Gitblit v1.9.3