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) => {