hotfix/2.9.42310.01

This commit is contained in:
黎永顺 2023-10-07 15:38:33 +08:00
parent d9a6f3907c
commit 00d285e5be
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,5 @@
import { WeaTools } from "ecCom"; import { WeaTools } from "ecCom";
import { convertToUrlString } from "../util/url";
// 工资单列表 // 工资单列表
export const mySalaryBillList = params => { export const mySalaryBillList = params => {
@ -25,7 +26,13 @@ export const recordList = params => {
// 工资查看详情 // 工资查看详情
export const mySalaryBill = params => { export const mySalaryBill = params => {
return WeaTools.callApi("/api/bs/hrmsalary/salaryBill/mySalaryBill", "GET", params); return fetch(`/api/bs/hrmsalary/salaryBill/mySalaryBill?${convertToUrlString(params)}`, {
method: "GET",
mode: "cors",
headers: {
"Content-Type": "application/json"
}
}).then(res => res.json());
}; };
export const isNeedSecondPwdVerify = params => { export const isNeedSecondPwdVerify = params => {