From 8324c778ee797ea5a844614c47d93bdacf3ffeab Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期日, 07 一月 2024 13:17:33 +0800
Subject: [PATCH] 11

---
 src/api/project/reimbursement.js |   32 ++++++++++++++++++++++++++++----
 1 files changed, 28 insertions(+), 4 deletions(-)

diff --git a/src/api/project/reimbursement.js b/src/api/project/reimbursement.js
index 5a42d6c..14cec00 100644
--- a/src/api/project/reimbursement.js
+++ b/src/api/project/reimbursement.js
@@ -35,19 +35,35 @@
 }
 
 // 淇敼鎶ラ攢鐢宠
+// 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',
+//     method: 'post',
+//     data: data
+//   })
+// }
+
 // 鍒犻櫎鎶ラ攢鐢宠
 export function delReimbursement(id) {
   return request({
-    url: '/project/reimbursement/' + id,
-    method: 'delete'
+    url: '/project/reimbursement/remove/' + id,
+    method: 'get'
   })
 }
 
@@ -93,4 +109,12 @@
     method: 'post',
     data: data
   })
+}
+
+// 鍚屾鐢宠鍗曞埌鍏变韩琛�
+export function addShareData(id) {
+  return request({
+    url: '/project/reimbursement/addShareData/' + id,
+    method: 'get'
+  })
 }
\ No newline at end of file

--
Gitblit v1.9.3