From 4fbeee3784d4be5483ed7ec9e00a875d66bc9ed0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期二, 20 二月 2024 16:09:40 +0800 Subject: [PATCH] 11 --- src/api/project/reimbursementdetail.js | 20 ++++++++++++-------- 1 files changed, 12 insertions(+), 8 deletions(-) diff --git a/src/api/project/reimbursementdetail.js b/src/api/project/reimbursementdetail.js index 8384957..cdd5b70 100644 --- a/src/api/project/reimbursementdetail.js +++ b/src/api/project/reimbursementdetail.js @@ -17,8 +17,6 @@ }) } - - // /project/reimbursement/getRBDetailList/{rbid} // 鑾峰彇鍝嶅簲鐨刣etails鍒楄〃 export function getReimbursementdetaillist(id) { @@ -38,7 +36,6 @@ }) } - // /project/reimbursement/getMaxId // 鏌ヨ鎶ラ攢鐢宠鏄庣粏鍒楄〃id @@ -55,17 +52,24 @@ export function addReimbursementdetail(data) { return request({ - url: '/project/reimbursementdetail', + url: '/project/reimbursementdetail/add', method: 'post', data: data }) } // 淇敼鎶ラ攢鐢宠鏄庣粏 +// export function updateReimbursementdetail(data) { +// return request({ +// url: '/project/reimbursementdetail', +// method: 'put', +// data: data +// }) +// } export function updateReimbursementdetail(data) { return request({ - url: '/project/reimbursementdetail', - method: 'put', + url: '/project/reimbursementdetail/reimbursementdetailEdit', + method: 'post', data: data }) } @@ -74,7 +78,7 @@ export function delReimbursementdetail(id) { return request({ url: '/project/reimbursementdetail/deleteDetail/' + id, - method: 'delete' + method: 'get', }) } @@ -97,7 +101,7 @@ export function delReimbursementdetailrbid(rbid) { return request({ url: '/project/reimbursementdetail/deleteByRBId/' + rbid, - method: 'delete' + method: 'get', }) } -- Gitblit v1.9.3