Merge branch 'hotfix/2.9.42310.01' into develop

This commit is contained in:
黎永顺 2023-10-08 09:03:06 +08:00
commit 00adb919a6
2 changed files with 8 additions and 3 deletions

View File

@ -1,4 +1,5 @@
import { WeaTools } from "ecCom";
import { convertToUrlString } from "../util/url";
// 工资单列表
export const mySalaryBillList = params => {
@ -25,7 +26,13 @@ export const recordList = 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 => {

View File

@ -50,7 +50,6 @@ export const condition = [
options: [],
viewAttr: 2,
helpfulTip: "",
hide: true
},
{
colSpan: 1,
@ -92,7 +91,6 @@ export const reportCondition = [
rules: "required|string",
viewAttr: 3,
helpfulTip: "",
hide: true
}
],
title: "",