feature/2.9.10.2312.02-薪资档案页面重构

This commit is contained in:
黎永顺 2024-01-15 19:24:49 +08:00
parent f4ac281c11
commit 4ef8cc66f8
1 changed files with 8 additions and 8 deletions

View File

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