浏览代码

优化展示

seimin 1 月之前
父节点
当前提交
51f3c9aa4a
共有 17 个文件被更改,包括 34 次插入15 次删除
  1. 2 1
      src/app/views/new-statistics/maintenance-statistics/building-statistics/building-statistics.component.html
  2. 2 1
      src/app/views/new-statistics/maintenance-statistics/category-one-statistics/category-one-statistics.component.html
  3. 2 1
      src/app/views/new-statistics/maintenance-statistics/category-source-statistics/category-source-statistics.component.html
  4. 2 1
      src/app/views/new-statistics/maintenance-statistics/category-three-statistics/category-three-statistics.component.html
  5. 2 0
      src/app/views/new-statistics/maintenance-statistics/category-three-statistics/category-three-statistics.component.ts
  6. 2 1
      src/app/views/new-statistics/maintenance-statistics/category-two-statistics/category-two-statistics.component.html
  7. 2 0
      src/app/views/new-statistics/maintenance-statistics/category-two-statistics/category-two-statistics.component.ts
  8. 2 1
      src/app/views/new-statistics/maintenance-statistics/consumable-statistics/consumable-statistics.component.html
  9. 2 1
      src/app/views/new-statistics/maintenance-statistics/department-evaluate-statistics/department-evaluate-statistics.component.html
  10. 2 1
      src/app/views/new-statistics/maintenance-statistics/department-incident-statistics/department-incident-statistics.component.html
  11. 2 1
      src/app/views/new-statistics/maintenance-statistics/department-source-statistics/department-source-statistics.component.html
  12. 2 1
      src/app/views/new-statistics/maintenance-statistics/floor-statistics/floor-statistics.component.html
  13. 2 1
      src/app/views/new-statistics/maintenance-statistics/group-statistics/group-statistics.component.html
  14. 2 1
      src/app/views/new-statistics/maintenance-statistics/incident-statistics/incident-statistics.component.html
  15. 2 1
      src/app/views/new-statistics/maintenance-statistics/tripartite-company-statistics/tripartite-company-statistics.component.html
  16. 2 1
      src/app/views/new-statistics/maintenance-statistics/user-statistics/user-statistics.component.html
  17. 2 1
      src/app/views/new-statistics/maintenance-statistics/work-hour-statistics/work-hour-statistics.component.html

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/building-statistics/building-statistics.component.html

@@ -68,7 +68,8 @@
68
   </ng-template>
68
   </ng-template>
69
 </nz-table>
69
 </nz-table>
70
 <div class="pagination">
70
 <div class="pagination">
71
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
71
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
72
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
72
 </div>
73
 </div>
73
 
74
 
74
 <!-- 详细搜索 -->
75
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/category-one-statistics/category-one-statistics.component.html

@@ -71,7 +71,8 @@
71
   </ng-template>
71
   </ng-template>
72
 </nz-table>
72
 </nz-table>
73
 <div class="pagination">
73
 <div class="pagination">
74
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
74
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
75
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
75
 </div>
76
 </div>
76
 
77
 
77
 <!-- 详细搜索 -->
78
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/category-source-statistics/category-source-statistics.component.html

@@ -48,7 +48,8 @@
48
   </ng-template>
48
   </ng-template>
49
 </nz-table>
49
 </nz-table>
50
 <div class="pagination">
50
 <div class="pagination">
51
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
51
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
52
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
52
 </div>
53
 </div>
53
 
54
 
54
 <!-- 详细搜索 -->
55
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/category-three-statistics/category-three-statistics.component.html

@@ -91,7 +91,8 @@
91
   </ng-template>
91
   </ng-template>
92
 </nz-table>
92
 </nz-table>
93
 <div class="pagination">
93
 <div class="pagination">
94
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
94
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
95
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
95
 </div>
96
 </div>
96
 
97
 
97
 <!-- 详细搜索 -->
98
 <!-- 详细搜索 -->

+ 2 - 0
src/app/views/new-statistics/maintenance-statistics/category-three-statistics/category-three-statistics.component.ts

@@ -120,6 +120,7 @@ export class CategoryThreeStatisticsComponent implements OnInit, AfterViewInit {
120
       dutyId: this.dutyId || undefined,
120
       dutyId: this.dutyId || undefined,
121
       parentDutyId: this.parentDutyId || undefined,
121
       parentDutyId: this.parentDutyId || undefined,
122
       categoryId: this.category2Id || this.category1Id || undefined,
122
       categoryId: this.category2Id || this.category1Id || undefined,
123
+      hierarchy: this.category2Id ? 2 : (this.category1Id ? 1 : undefined),
123
       groupId: this.fieldConfig.fields.groupId || undefined,
124
       groupId: this.fieldConfig.fields.groupId || undefined,
124
       userId: this.fieldConfig.fields.userId || undefined,
125
       userId: this.fieldConfig.fields.userId || undefined,
125
       buildingId: this.fieldConfig.fields.buildingId || undefined,
126
       buildingId: this.fieldConfig.fields.buildingId || undefined,
@@ -186,6 +187,7 @@ export class CategoryThreeStatisticsComponent implements OnInit, AfterViewInit {
186
       dutyId: this.dutyId || undefined,
187
       dutyId: this.dutyId || undefined,
187
       parentDutyId: this.parentDutyId || undefined,
188
       parentDutyId: this.parentDutyId || undefined,
188
       categoryId: this.category2Id || this.category1Id || undefined,
189
       categoryId: this.category2Id || this.category1Id || undefined,
190
+      hierarchy: this.category2Id ? 2 : (this.category1Id ? 1 : undefined),
189
       groupId: this.fieldConfig.fields.groupId || undefined,
191
       groupId: this.fieldConfig.fields.groupId || undefined,
190
       userId: this.fieldConfig.fields.userId || undefined,
192
       userId: this.fieldConfig.fields.userId || undefined,
191
       buildingId: this.fieldConfig.fields.buildingId || undefined,
193
       buildingId: this.fieldConfig.fields.buildingId || undefined,

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/category-two-statistics/category-two-statistics.component.html

@@ -81,7 +81,8 @@
81
   </ng-template>
81
   </ng-template>
82
 </nz-table>
82
 </nz-table>
83
 <div class="pagination">
83
 <div class="pagination">
84
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
84
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
85
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
85
 </div>
86
 </div>
86
 
87
 
87
 <!-- 详细搜索 -->
88
 <!-- 详细搜索 -->

+ 2 - 0
src/app/views/new-statistics/maintenance-statistics/category-two-statistics/category-two-statistics.component.ts

@@ -119,6 +119,7 @@ export class CategoryTwoStatisticsComponent implements OnInit, AfterViewInit {
119
       dutyId: this.dutyId || undefined,
119
       dutyId: this.dutyId || undefined,
120
       parentDutyId: this.parentDutyId || undefined,
120
       parentDutyId: this.parentDutyId || undefined,
121
       categoryId: this.category1Id || undefined,
121
       categoryId: this.category1Id || undefined,
122
+      hierarchy: this.category1Id ? 1 : undefined,
122
       groupId: this.fieldConfig.fields.groupId || undefined,
123
       groupId: this.fieldConfig.fields.groupId || undefined,
123
       userId: this.fieldConfig.fields.userId || undefined,
124
       userId: this.fieldConfig.fields.userId || undefined,
124
       buildingId: this.fieldConfig.fields.buildingId || undefined,
125
       buildingId: this.fieldConfig.fields.buildingId || undefined,
@@ -185,6 +186,7 @@ export class CategoryTwoStatisticsComponent implements OnInit, AfterViewInit {
185
       dutyId: this.dutyId || undefined,
186
       dutyId: this.dutyId || undefined,
186
       parentDutyId: this.parentDutyId || undefined,
187
       parentDutyId: this.parentDutyId || undefined,
187
       categoryId: this.category1Id || undefined,
188
       categoryId: this.category1Id || undefined,
189
+      hierarchy: this.category1Id ? 1 : undefined,
188
       groupId: this.fieldConfig.fields.groupId || undefined,
190
       groupId: this.fieldConfig.fields.groupId || undefined,
189
       userId: this.fieldConfig.fields.userId || undefined,
191
       userId: this.fieldConfig.fields.userId || undefined,
190
       buildingId: this.fieldConfig.fields.buildingId || undefined,
192
       buildingId: this.fieldConfig.fields.buildingId || undefined,

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/consumable-statistics/consumable-statistics.component.html

@@ -63,7 +63,8 @@
63
   </ng-template>
63
   </ng-template>
64
 </nz-table>
64
 </nz-table>
65
 <div class="pagination">
65
 <div class="pagination">
66
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
66
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
67
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
67
 </div>
68
 </div>
68
 
69
 
69
 <!-- 详细搜索 -->
70
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/department-evaluate-statistics/department-evaluate-statistics.component.html

@@ -80,7 +80,8 @@
80
   </ng-template>
80
   </ng-template>
81
 </nz-table>
81
 </nz-table>
82
 <div class="pagination">
82
 <div class="pagination">
83
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
83
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
84
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
84
 </div>
85
 </div>
85
 
86
 
86
 <!-- 详细搜索 -->
87
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/department-incident-statistics/department-incident-statistics.component.html

@@ -83,7 +83,8 @@
83
   </ng-template>
83
   </ng-template>
84
 </nz-table>
84
 </nz-table>
85
 <div class="pagination">
85
 <div class="pagination">
86
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
86
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
87
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
87
 </div>
88
 </div>
88
 
89
 
89
 <!-- 详细搜索 -->
90
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/department-source-statistics/department-source-statistics.component.html

@@ -68,7 +68,8 @@
68
   </ng-template>
68
   </ng-template>
69
 </nz-table>
69
 </nz-table>
70
 <div class="pagination">
70
 <div class="pagination">
71
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
71
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
72
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
72
 </div>
73
 </div>
73
 
74
 
74
 <!-- 详细搜索 -->
75
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/floor-statistics/floor-statistics.component.html

@@ -79,7 +79,8 @@
79
   </ng-template>
79
   </ng-template>
80
 </nz-table>
80
 </nz-table>
81
 <div class="pagination">
81
 <div class="pagination">
82
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
82
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
83
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
83
 </div>
84
 </div>
84
 
85
 
85
 <!-- 详细搜索 -->
86
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/group-statistics/group-statistics.component.html

@@ -70,7 +70,8 @@
70
   </ng-template>
70
   </ng-template>
71
 </nz-table>
71
 </nz-table>
72
 <div class="pagination">
72
 <div class="pagination">
73
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
73
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
74
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
74
 </div>
75
 </div>
75
 
76
 
76
 <!-- 详细搜索 -->
77
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/incident-statistics/incident-statistics.component.html

@@ -82,7 +82,8 @@
82
   </ng-template>
82
   </ng-template>
83
 </nz-table>
83
 </nz-table>
84
 <div class="pagination">
84
 <div class="pagination">
85
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
85
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
86
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
86
 </div>
87
 </div>
87
 
88
 
88
 <!-- 详细搜索 -->
89
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/tripartite-company-statistics/tripartite-company-statistics.component.html

@@ -81,7 +81,8 @@
81
   </ng-template>
81
   </ng-template>
82
 </nz-table>
82
 </nz-table>
83
 <div class="pagination">
83
 <div class="pagination">
84
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
84
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
85
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
85
 </div>
86
 </div>
86
 
87
 
87
 <!-- 详细搜索 -->
88
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/user-statistics/user-statistics.component.html

@@ -81,7 +81,8 @@
81
   </ng-template>
81
   </ng-template>
82
 </nz-table>
82
 </nz-table>
83
 <div class="pagination">
83
 <div class="pagination">
84
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
84
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
85
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
85
 </div>
86
 </div>
86
 
87
 
87
 <!-- 详细搜索 -->
88
 <!-- 详细搜索 -->

+ 2 - 1
src/app/views/new-statistics/maintenance-statistics/work-hour-statistics/work-hour-statistics.component.html

@@ -63,7 +63,8 @@
63
   </ng-template>
63
   </ng-template>
64
 </nz-table>
64
 </nz-table>
65
 <div class="pagination">
65
 <div class="pagination">
66
-  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)"></nz-pagination>
66
+  <ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
67
+  <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" [(nzPageSize)]="pageSize" (nzPageIndexChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" (nzPageSizeChange)="getList(pageIndex, sortCurrentKey, sortCurrentValue)" nzShowSizeChanger [nzPageSizeOptions]="[30,50,100,200]" [nzShowTotal]="totalTemplate"></nz-pagination>
67
 </div>
68
 </div>
68
 
69
 
69
 <!-- 详细搜索 -->
70
 <!-- 详细搜索 -->