แก้ชื่อฟิวผังเงินเดือนลูกจ้าง
This commit is contained in:
parent
3128103f3a
commit
5fc5b1bb06
7 changed files with 48 additions and 17 deletions
|
|
@ -127,7 +127,7 @@ export class SalaryRankEmployeesController extends Controller {
|
|||
where: {
|
||||
salaryEmployeeId: id,
|
||||
},
|
||||
select: ["id", "step", "salaryMounth", "salaryDay"],
|
||||
select: ["id", "step", "salaryMonth", "salaryDay"],
|
||||
order: {
|
||||
step: "ASC",
|
||||
},
|
||||
|
|
@ -137,7 +137,7 @@ export class SalaryRankEmployeesController extends Controller {
|
|||
const filteredSalaryRankEmployee = salaryRankEmployee.filter(
|
||||
(x) =>
|
||||
x.step?.toString().includes(keyword) ||
|
||||
x.salaryMounth?.toString().includes(keyword) ||
|
||||
x.salaryMonth?.toString().includes(keyword) ||
|
||||
x.salaryDay?.toString().includes(keyword),
|
||||
);
|
||||
const slicedData = filteredSalaryRankEmployee.slice((page - 1) * pageSize, page * pageSize);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue