From 4ef8cc66f8646433389d99c214dd5f58631e87ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Mon, 15 Jan 2024 19:24:49 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.9.10.2312.02-=E8=96=AA=E8=B5=84?= =?UTF-8?q?=E6=A1=A3=E6=A1=88=E9=A1=B5=E9=9D=A2=E9=87=8D=E6=9E=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/apis/calculate.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/pc4mobx/hrmSalary/apis/calculate.js b/pc4mobx/hrmSalary/apis/calculate.js index b0efbcef..1cfca645 100644 --- a/pc4mobx/hrmSalary/apis/calculate.js +++ b/pc4mobx/hrmSalary/apis/calculate.js @@ -108,14 +108,14 @@ export const deleteSalaryacct = (params) => { // 薪资记录--归档薪资核算记录 export const fileSalaryAcct = (params) => { - return WeaTools.callApi(`/api/bs/hrmsalary/salaryacct/file`, "GET", params); - // return fetch(`/api/bs/hrmsalary/salaryacct/file?id=${params.id}`, { - // method: "GET", - // mode: "cors", - // headers: { - // "Content-Type": "application/json" - // } - // }).then(res => res.json()); + // return WeaTools.callApi(`/api/bs/hrmsalary/salaryacct/file`, "GET", params); + return fetch(`/api/bs/hrmsalary/salaryacct/file?id=${params.id}`, { + method: "GET", + mode: "cors", + headers: { + "Content-Type": "application/json" + } + }).then(res => res.json()); }; // 薪资记录-回算 export const backCalculate = (params) => {