Browse Source

序号显示错误

seimin 1 month ago
parent
commit
b4e0c72635
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/app/views/worker-statistics/worker-statistics.component.html

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

@@ -84,7 +84,7 @@
84 84
         </thead>
85 85
         <tbody>
86 86
           <tr *ngFor="let data of listOfData; let index = index">
87
-            <td>{{ index + (pageIndex - 1) * 10 + 1 }}</td>
87
+            <td>{{ index + (pageIndex - 1) * pageSize + 1 }}</td>
88 88
             <td>{{ data.name }}</td>
89 89
             <td>{{ data.total || 0 }}</td>
90 90
             <td>{{ data.fiveTimeNum || 0 }}<br>{{ data.specialCloseNum }}</td>