Pārlūkot izejas kodu

动态列表派单显示分组名称

seimin 1 gadu atpakaļ
vecāks
revīzija
04c4cbc22b

+ 4 - 2
src/app/share/allocation-worker/allocation-worker.component.html

@@ -24,8 +24,9 @@
24 24
             <tr class="thead">
25 25
               <th nzWidth="30px" style="text-align: center"></th>
26 26
               <th style="text-align: center">姓名</th>
27
-              <th nzWidth="303px" style="text-align: center" *ngIf="workerDispatchUserList === 'dynamic'">工单数</th>
28
-              <th nzWidth="303px" style="text-align: center" *ngIf="workerDispatchUserList === 'dynamic'">空闲时间</th>
27
+              <th nzWidth="202px" style="text-align: center" *ngIf="workerDispatchUserList === 'dynamic'">分组名称</th>
28
+              <th nzWidth="202px" style="text-align: center" *ngIf="workerDispatchUserList === 'dynamic'">工单数</th>
29
+              <th nzWidth="202px" style="text-align: center" *ngIf="workerDispatchUserList === 'dynamic'">空闲时间</th>
29 30
             </tr>
30 31
           </thead>
31 32
           <tbody>
@@ -33,6 +34,7 @@
33 34
               <td nzShowCheckbox [(nzChecked)]="mapOfCheckedId[data.id]" (nzCheckedChange)="checkAllotWorker(data.id)">
34 35
               </td>
35 36
               <td nzAlign="center">{{ data.name }}</td>
37
+              <td nzAlign="center" *ngIf="workerDispatchUserList === 'dynamic'">{{ data.groupDTO?.groupName }}</td>
36 38
               <td nzAlign="center" *ngIf="workerDispatchUserList === 'dynamic'">{{ data.totalCount }}</td>
37 39
               <td nzAlign="center" *ngIf="workerDispatchUserList === 'dynamic'" [ngClass]="{red: !data.freetime, green: data.freetime}">{{ data.freetime || '忙碌中' }}</td>
38 40
             </tr>