seimin 2 年之前
父節點
當前提交
c9d8b536be

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

@@ -43,7 +43,7 @@
43 43
     <div class="pagination">
44 44
       <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
45 45
         (nzPageIndexChange)="getOrdersByPerson(hosId,currentPersonId)"
46
-        (nzPageSizeChange)="resetPageSize(hosId, currentPersonId)">
46
+        (nzPageSizeChange)="getOrdersByPerson(hosId, currentPersonId)">
47 47
       </nz-pagination>
48 48
     </div>
49 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 37
     this.groupId = this.route.snapshot.params.groupId;
38 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 45
   changeIsFiveOrder(e: boolean) {
46 46
     this.isFiveOrder = e;