|
|
|
@ -133,7 +133,7 @@ export class EpTableComponent implements OnInit{ |
|
|
|
|
this.epSubscription = this.epService.getEPSignesReferent(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe( |
|
|
|
|
eps => { |
|
|
|
|
this.dataSource = new MatTableDataSource(eps); |
|
|
|
|
this.epCountSubscription = this.epService.getEPSignesReferentCount(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe( |
|
|
|
|
this.epCountSubscription = this.epService.getEPSignesReferentCount(this.idCollaborateur, this.search, this.dateDebut, this.dateFin).subscribe( |
|
|
|
|
count => this.taille = count, |
|
|
|
|
err => console.log(err) |
|
|
|
|
); |
|
|
|
@ -143,10 +143,10 @@ export class EpTableComponent implements OnInit{ |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
getEPEnCoursReferent() { |
|
|
|
|
this.epSubscription = this.epService.getEPEnCoursReferent(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, true, this.dateDebut, this.dateFin ).subscribe( |
|
|
|
|
this.epSubscription = this.epService.getEPEnCoursReferent(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin ).subscribe( |
|
|
|
|
eps => { |
|
|
|
|
this.dataSource = new MatTableDataSource(eps); |
|
|
|
|
this.epCountSubscription = this.epService.getEPSignesReferentCount(this.idCollaborateur, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin ).subscribe( |
|
|
|
|
this.epCountSubscription = this.epService.getEPSignesReferentCount(this.idCollaborateur, this.search, this.dateDebut, this.dateFin ).subscribe( |
|
|
|
|
count => this.taille = count, |
|
|
|
|
err => console.log(err) |
|
|
|
|
); |
|
|
|
@ -185,7 +185,7 @@ export class EpTableComponent implements OnInit{ |
|
|
|
|
eps => { |
|
|
|
|
console.log(eps); |
|
|
|
|
this.dataSource = new MatTableDataSource(eps); |
|
|
|
|
this.epCountSubscription = this.epService.getEPSignesCount(this.busIds, this.asc, this.numPage, this.parPage, this.search, this.tri, this.dateDebut, this.dateFin).subscribe( |
|
|
|
|
this.epCountSubscription = this.epService.getEPSignesCount(this.busIds, this.search, this.dateDebut, this.dateFin).subscribe( |
|
|
|
|
count => this.taille = count, |
|
|
|
|
err => console.log(err) |
|
|
|
|
); |
|
|
|
|