Commit 52808db1 by sunchao

2021年5月份之前薪资显示pdf

parent 6bacbacb
......@@ -51,11 +51,11 @@ export class SalaryComponent implements OnInit {
}else{
//2021年5月之后的数据
this.historyPart2 = res['data']['payScaleInfos'].filter((item)=>{
return new Date(item.monDtlPeriod).getTime() >= 1619827200000
return new Date(item.monDtlPeriod).getTime() > 1619827200000
});
//2021年5月之前的数据
this.historyPart1 = res['data']['payScaleInfos'].filter((item)=>{
return new Date(item.monDtlPeriod).getTime() < 1619827200000
return new Date(item.monDtlPeriod).getTime() <= 1619827200000
});
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment