From 84a908e94e68010ee0a8604cbbd5777787fd541c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Wed, 8 Nov 2023 16:14:10 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.9.42310.02-=E7=A4=BE=E4=BF=9D?= =?UTF-8?q?=E7=A6=8F=E5=88=A9=E6=A1=A3=E6=A1=88=E9=A1=B5=E9=9D=A2=E9=87=8D?= =?UTF-8?q?=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/apis/standingBook.js | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/pc4mobx/hrmSalary/apis/standingBook.js b/pc4mobx/hrmSalary/apis/standingBook.js index 118e6fbc..0dd811a2 100644 --- a/pc4mobx/hrmSalary/apis/standingBook.js +++ b/pc4mobx/hrmSalary/apis/standingBook.js @@ -148,23 +148,11 @@ export const getPaymentGroup = (params) => { }; //获取核算项个人和公司社保福利缴纳详情 export const getPaymentById = ({ id }) => { - return fetch(`/api/bs/hrmsalary/siaccount/getPaymentById?id=${id}`, { - method: "GET", - mode: "cors", - headers: { - "Content-Type": "application/json" - } - }).then(res => res.json()); + return WeaTools.callApi("/api/bs/hrmsalary/siaccount/getPaymentById", "GET", { id }); }; //获取社保福利项列表 export const compensationCategoryType = ({ id }) => { - return fetch(`/api/bs/hrmsalary/siaccount/compensationCategoryType?id=${id}`, { - method: "GET", - mode: "cors", - headers: { - "Content-Type": "application/json" - } - }).then(res => res.json()); + return WeaTools.callApi("/api/bs/hrmsalary/siaccount/compensationCategoryType", "GET", { id }); }; //获取调差列表