แก้สร้างรอบเงินเดือน

This commit is contained in:
Kittapath 2024-03-11 14:19:42 +07:00
parent f945a5a864
commit 0cf3d3dc85

View file

@ -1430,6 +1430,8 @@ export class SalaryPeriodController extends Controller {
page: 1,
pageSize: 1000,
keyword: "",
year: salaryPeriod.year,
period: salaryPeriod.period,
});
let orgProfiles = _orgProfiles.data;
total = _orgProfiles.total;
@ -1441,6 +1443,8 @@ export class SalaryPeriodController extends Controller {
page: index,
pageSize: 1000,
keyword: "",
year: salaryPeriod.year,
period: salaryPeriod.period,
})
.then((x) => {
Array.prototype.push.apply(orgProfiles, x.data);
@ -1714,6 +1718,8 @@ export class SalaryPeriodController extends Controller {
page: 1,
pageSize: 100,
keyword: "",
year: salaryPeriod.year,
period: salaryPeriod.period,
})
.then((x) => {
orgProfiles = x.data;
@ -1726,6 +1732,8 @@ export class SalaryPeriodController extends Controller {
page: index,
pageSize: 100,
keyword: "",
year: salaryPeriod.year,
period: salaryPeriod.period,
})
.then((x) => {
Array.prototype.push.apply(orgProfiles, x.data);