feature/2.9.42310.02-社保福利档案页面重构

This commit is contained in:
黎永顺 2023-11-08 16:14:10 +08:00
parent d9a7814080
commit 84a908e94e
1 changed files with 2 additions and 14 deletions

View File

@ -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 });
};
//获取调差列表