From c0b29ee03f4f6c984f35618bfa669ba3f2ab6517 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 20 二月 2024 10:09:05 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo-web --- src/api/project/reimbursement.js | 34 +++++++++++++++++++++++++++++----- 1 files changed, 29 insertions(+), 5 deletions(-) diff --git a/src/api/project/reimbursement.js b/src/api/project/reimbursement.js index 5a42d6c..fc4832c 100644 --- a/src/api/project/reimbursement.js +++ b/src/api/project/reimbursement.js @@ -28,26 +28,42 @@ // 鏂板鎶ラ攢鐢宠 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', +// 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