From 64a95255d239d7e97f7417d431cc2ddd7e63c11e Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 11 七月 2025 16:06:37 +0800
Subject: [PATCH] 11
---
src/api/project/reimbursement.js | 27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)
diff --git a/src/api/project/reimbursement.js b/src/api/project/reimbursement.js
index 6c9ecff..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'
})
}
@@ -100,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