From 7c428310f2ee232db42b37543059b671ab723eda Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期五, 03 十一月 2023 18:30:22 +0800 Subject: [PATCH] 11 --- src/api/project/funddetail.js | 53 +++++++++++++++++++++++++++++++++++++++++++++++++---- 1 files changed, 49 insertions(+), 4 deletions(-) diff --git a/src/api/project/funddetail.js b/src/api/project/funddetail.js index 99ee9b9..c3e4eec 100644 --- a/src/api/project/funddetail.js +++ b/src/api/project/funddetail.js @@ -12,7 +12,7 @@ // /project/fund/getFundDetail/{id} 淇敼鏄柊鍐欑殑鎺ュ彛 export function getownFundDetail (id) { return request({ - url: '/project/fund/getFundDetail/' + id, + url: '/project/funddetail/getFundDetail/' + id, method: 'get', }) } @@ -65,8 +65,8 @@ // 淇敼璐圭敤鐢宠鏄庣粏 export function updateFunddetail(data) { return request({ - url: '/project/funddetail', - method: 'put', + url: '/project/funddetail/edit', + method: 'post', data: data }) } @@ -75,7 +75,7 @@ export function delFunddetail(id) { return request({ url: '/project/funddetail/deleteDetail/' + id, - method: 'delete' + method: 'get' }) } @@ -111,4 +111,49 @@ }) } +// 鏍规嵁浜哄憳缂栧彿銆佹椂闂磋寖鍥磋幏鍙栬垂鐢ㄦ槑缁� +export function getDataBybeneficiaryNo(data) { + return request({ + url: '/project/funddetail/getDataBybeneficiaryNo', + method: 'post', + data: data + }) +} + +// 鏍规嵁浜哄憳缂栧彿銆佺◣鍓嶉噾棰漒鐢虫姤鏃堕棿鑾峰彇涓◣閲戦 +export function getTaxByBeneFiciaryNo(data) { + return request({ + url: '/project/funddetail/getTaxByBeneFiciaryNo', + method: 'post', + data: data + }) +} + +// 鏍规嵁浜哄憳缂栧彿銆佹椂闂磋寖鍥磋幏鍙栫◣鍓嶉噾棰� +export function getTaxBeforeByBeneFiciaryNo(params) { + return request({ + url: '/project/funddetail/getTaxBeforeByBeneFiciaryNo', + method: 'post', + data: params + }) +} + +// 鏍规嵁浜哄憳缂栧彿銆佹椂闂磋寖鍥磋幏鍙栦釜绋庨噾棰� +export function getTaxationByBeneFiciaryNo(data) { + return request({ + url: '/project/funddetail/getTaxationByBeneFiciaryNo', + method: 'post', + data: data + }) +} +// 鏍规嵁浜哄憳缂栧彿銆佹椂闂磋寖鍥淬�佹湰娆$◣鍚庨噾棰濓紝鑾峰彇鏈绋庡墠閲戦銆佷釜绋庨噾棰� +export function getTaxBeforeByAfterMoney(data) { + return request({ + url: '/project/funddetail/getTaxBeforeByAfterMoney', + method: 'post', + data: data + }) +} + + -- Gitblit v1.9.3