seimin 2 years ago
parent
commit
c9d8b536be

+ 1 - 1
src/app/views/worker-statistics-detail/worker-statistics-detail.component.html

@@ -43,7 +43,7 @@
43
     <div class="pagination">
43
     <div class="pagination">
44
       <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
44
       <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
45
         (nzPageIndexChange)="getOrdersByPerson(hosId,currentPersonId)"
45
         (nzPageIndexChange)="getOrdersByPerson(hosId,currentPersonId)"
46
-        (nzPageSizeChange)="resetPageSize(hosId, currentPersonId)">
46
+        (nzPageSizeChange)="getOrdersByPerson(hosId, currentPersonId)">
47
       </nz-pagination>
47
       </nz-pagination>
48
     </div>
48
     </div>
49
   </div>
49
   </div>

+ 4 - 4
src/app/views/worker-statistics-detail/worker-statistics-detail.component.ts

@@ -37,10 +37,10 @@ export class WorkerStatisticsDetailComponent implements OnInit {
37
     this.groupId = this.route.snapshot.params.groupId;
37
     this.groupId = this.route.snapshot.params.groupId;
38
     this.getOrdersByPerson(this.hosId, this.currentPersonId);
38
     this.getOrdersByPerson(this.hosId, this.currentPersonId);
39
   }
39
   }
40
-  resetPageSize(hosId, currentPersonId){
41
-    this.pageIndex = 1;
42
-    this.getOrdersByPerson(hosId, currentPersonId);
43
-  }
40
+  // resetPageSize(hosId, currentPersonId){
41
+  //   this.pageIndex = 1;
42
+  //   this.getOrdersByPerson(hosId, currentPersonId);
43
+  // }
44
   // 是否剖执行时长五分钟以内工单
44
   // 是否剖执行时长五分钟以内工单
45
   changeIsFiveOrder(e: boolean) {
45
   changeIsFiveOrder(e: boolean) {
46
     this.isFiveOrder = e;
46
     this.isFiveOrder = e;