From c2486044121750d274d40aac2e65b47d4c25b5c9 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 22 四月 2024 18:08:15 +0800 Subject: [PATCH] 11 --- src/api/project/fund.js | 30 +++++++++++++++++++++++++++--- 1 files changed, 27 insertions(+), 3 deletions(-) diff --git a/src/api/project/fund.js b/src/api/project/fund.js index abef398..92f64cc 100644 --- a/src/api/project/fund.js +++ b/src/api/project/fund.js @@ -42,13 +42,28 @@ // 鏂板璐圭敤鐢宠涓� export function addFund(data) { return request({ - url: '/project/fund', + url: '/project/fund/add', + method: 'post', + data: data + }) +} +// 璁$畻璐圭敤鐢宠涓� +export function TotalcalculationFn(data) { + return request({ + url: '/project/fund/totaltax', method: 'post', data: data }) } // 淇敼璐圭敤鐢宠涓� +// export function updateFund(data) { +// return request({ +// url: '/project/fund', +// method: 'put', +// data: data +// }) +// } export function updateFund(data) { return request({ url: '/project/fund/fundEdit', @@ -60,8 +75,8 @@ // 鍒犻櫎璐圭敤鐢宠涓� export function delFund(id) { return request({ - url: '/project/fund/' + id, - method: 'delete' + url: '/project/fund/remove/' + id, + method: 'get' }) } @@ -168,4 +183,13 @@ url: '/project/fund/addFundSharedInfo/' + id, method: 'get' }) +} + +//鎵嬪姩璁$畻 +export function ManualCalculation(data) { + return request({ + url: '/project/funddetail/calculateTax', + method: 'post', + data: data + }) } \ No newline at end of file -- Gitblit v1.9.3