no message
This commit is contained in:
parent
5bdd2c226e
commit
aaaf4f548c
1 changed files with 9 additions and 9 deletions
|
|
@ -197,10 +197,10 @@ export class SalaryPeriodController extends Controller {
|
|||
|
||||
const formattedData = filteredSalaryPeriod.map((item) => ({
|
||||
id: item.id,
|
||||
salaryType: item.period,
|
||||
isSpecial: item.isActive,
|
||||
posTypeId: item.effectiveDate,
|
||||
posType: item.status,
|
||||
period: item.period,
|
||||
isActive: item.isActive,
|
||||
effectiveDate: item.effectiveDate,
|
||||
status: item.status,
|
||||
}));
|
||||
|
||||
return new HttpSuccess({ data: formattedData, total: formattedData.length });
|
||||
|
|
@ -210,11 +210,11 @@ export class SalaryPeriodController extends Controller {
|
|||
}
|
||||
|
||||
const formattedData = salaryPeriod.map((item) => ({
|
||||
id: item.id,
|
||||
salaryType: item.period,
|
||||
isSpecial: item.isActive,
|
||||
posTypeId: item.effectiveDate,
|
||||
posType: item.status,
|
||||
id: item.id,
|
||||
period: item.period,
|
||||
isActive: item.isActive,
|
||||
effectiveDate: item.effectiveDate,
|
||||
status: item.status,
|
||||
}));
|
||||
return new HttpSuccess({ data: formattedData, total });
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue