|
@@ -31,56 +31,58 @@
|
31
|
31
|
<span>{{fieldConfig.fields.taskTypeDTO?.taskName}}</span>
|
32
|
32
|
<span>{{fieldConfig.fields.buildingDTO?.buildingName}}</span>
|
33
|
33
|
</div>
|
34
|
|
-<nz-table class="table" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzFooter]="footerTpl">
|
35
|
|
- <thead (nzSortChange)="sort($event)" nzSingleSort>
|
36
|
|
- <tr>
|
37
|
|
- <th nzWidth="9%" *ngIf="parent==1">父级科室(编码)</th>
|
38
|
|
- <th nzWidth="9%">科室(编码)</th>
|
39
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
|
40
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
|
41
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="totalPrice" [(nzSort)]="sortCurrent.totalPrice">总费用</th>
|
42
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="response_time_num" [(nzSort)]="sortCurrent.response_time_num">平均响应时间</th>
|
43
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="execution_time_num" [(nzSort)]="sortCurrent.execution_time_num">平均送达时间</th>
|
44
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="aveper" [(nzSort)]="sortCurrent.aveper">按时完成达标率</th>
|
45
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="total_time" [(nzSort)]="sortCurrent.total_time">平均总时间</th>
|
46
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="five_count" [(nzSort)]="sortCurrent.five_count">五分钟内工单</th>
|
47
|
|
- <th nzWidth="9%" nzShowSort nzSortKey="special_close" [(nzSort)]="sortCurrent.special_close">特殊关闭数</th>
|
48
|
|
- </tr>
|
49
|
|
- </thead>
|
50
|
|
- <tbody>
|
51
|
|
- <tr *ngFor="let data of listOfData">
|
52
|
|
- <td *ngIf="parent==1">{{ data.parentName || '无' }}</td>
|
53
|
|
- <td>{{ data.name }}</td>
|
54
|
|
- <td>{{ data.totalCount }}</td>
|
55
|
|
- <td>{{ data.totalGrade }}</td>
|
56
|
|
- <td>{{ data.totalPrice }}</td>
|
57
|
|
- <td>{{ data.response_time_num }}</td>
|
58
|
|
- <td>{{ data.execution_time_num }}</td>
|
59
|
|
- <td>{{ data.aveper }}</td>
|
60
|
|
- <td>{{ data.total_time }}</td>
|
61
|
|
- <td>{{ data.five_count }}</td>
|
62
|
|
- <td>{{ data.special_close }}</td>
|
63
|
|
- </tr>
|
64
|
|
- </tbody>
|
65
|
|
- <ng-template #footerTpl>
|
66
|
|
- <table class="footTable">
|
67
|
|
- <tr *ngFor="let data of listOfDataEnd">
|
68
|
|
- <td style="width: 9%" *ngIf="parent==1">{{ data.parentName }}</td>
|
69
|
|
- <td style="width: 9%" *ngIf="parent==0">{{ data.name }}</td>
|
70
|
|
- <td style="width: 9%" *ngIf="parent==1"></td>
|
71
|
|
- <td style="width: 9%">{{ data.totalCount }}</td>
|
72
|
|
- <td style="width: 9%">{{ data.totalGrade }}</td>
|
73
|
|
- <td style="width: 9%">{{ data.totalPrice }}</td>
|
74
|
|
- <td style="width: 9%">{{ data.response_time_num }}</td>
|
75
|
|
- <td style="width: 9%">{{ data.execution_time_num }}</td>
|
76
|
|
- <td style="width: 9%">{{ data.aveper }}</td>
|
77
|
|
- <td style="width: 9%">{{ data.total_time }}</td>
|
78
|
|
- <td style="width: 9%">{{ data.five_count }}</td>
|
79
|
|
- <td style="width: 9%">{{ data.special_close }}</td>
|
80
|
|
- </tr>
|
81
|
|
- </table>
|
82
|
|
- </ng-template>
|
83
|
|
-</nz-table>
|
|
34
|
+<div class="tableWrap">
|
|
35
|
+ <nz-table class="table" [ngStyle]="{ width: widthValue + 'px' }" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false" [nzLoading]="loading1" [nzScroll]="{ y: tableHeight + 'px' }" [nzWidthConfig]="widthConfig" [nzFooter]="footerTpl">
|
|
36
|
+ <thead (nzSortChange)="sort($event)" nzSingleSort>
|
|
37
|
+ <tr>
|
|
38
|
+ <th rowspan="2" *ngIf="parent==1">父级科室(编码)</th>
|
|
39
|
+ <th rowspan="2">科室(编码)</th>
|
|
40
|
+ <th rowspan="2" nzShowSort nzSortKey="totalCount" [(nzSort)]="sortCurrent.totalCount">工单数量</th>
|
|
41
|
+ <th rowspan="2" nzShowSort nzSortKey="totalGrade" [(nzSort)]="sortCurrent.totalGrade">总积分</th>
|
|
42
|
+ <th rowspan="2" nzShowSort nzSortKey="totalPrice" [(nzSort)]="sortCurrent.totalPrice">总费用</th>
|
|
43
|
+ <th rowspan="2" nzShowSort nzSortKey="response_time_num" [(nzSort)]="sortCurrent.response_time_num">平均响应时间</th>
|
|
44
|
+ <th rowspan="2" nzShowSort nzSortKey="execution_time_num" [(nzSort)]="sortCurrent.execution_time_num">平均送达时间</th>
|
|
45
|
+ <th rowspan="2" nzShowSort nzSortKey="aveper" [(nzSort)]="sortCurrent.aveper">按时完成达标率</th>
|
|
46
|
+ <th rowspan="2" nzShowSort nzSortKey="total_time" [(nzSort)]="sortCurrent.total_time">平均总时间</th>
|
|
47
|
+ <th rowspan="2" nzShowSort nzSortKey="five_count" [(nzSort)]="sortCurrent.five_count">五分钟内工单</th>
|
|
48
|
+ <th rowspan="2" nzShowSort nzSortKey="special_close" [(nzSort)]="sortCurrent.special_close">特殊关闭数</th>
|
|
49
|
+ </tr>
|
|
50
|
+ </thead>
|
|
51
|
+ <tbody>
|
|
52
|
+ <tr *ngFor="let data of listOfData">
|
|
53
|
+ <td class="width150" *ngIf="parent==1">{{ data.parentName || '无' }}</td>
|
|
54
|
+ <td>{{ data.name }}</td>
|
|
55
|
+ <td>{{ data.totalCount }}</td>
|
|
56
|
+ <td>{{ data.totalGrade }}</td>
|
|
57
|
+ <td>{{ data.totalPrice }}</td>
|
|
58
|
+ <td>{{ data.response_time_num }}</td>
|
|
59
|
+ <td>{{ data.execution_time_num }}</td>
|
|
60
|
+ <td>{{ data.aveper }}</td>
|
|
61
|
+ <td>{{ data.total_time }}</td>
|
|
62
|
+ <td>{{ data.five_count }}</td>
|
|
63
|
+ <td>{{ data.special_close }}</td>
|
|
64
|
+ </tr>
|
|
65
|
+ </tbody>
|
|
66
|
+ <ng-template #footerTpl>
|
|
67
|
+ <table class="footTable">
|
|
68
|
+ <tr *ngFor="let data of listOfDataEnd">
|
|
69
|
+ <td class="width150" *ngIf="parent==1">{{ data.parentName }}</td>
|
|
70
|
+ <td class="width150" *ngIf="parent==0">{{ data.name }}</td>
|
|
71
|
+ <td class="width150" *ngIf="parent==1"></td>
|
|
72
|
+ <td>{{ data.totalCount }}</td>
|
|
73
|
+ <td>{{ data.totalGrade }}</td>
|
|
74
|
+ <td>{{ data.totalPrice }}</td>
|
|
75
|
+ <td>{{ data.response_time_num }}</td>
|
|
76
|
+ <td>{{ data.execution_time_num }}</td>
|
|
77
|
+ <td>{{ data.aveper }}</td>
|
|
78
|
+ <td>{{ data.total_time }}</td>
|
|
79
|
+ <td>{{ data.five_count }}</td>
|
|
80
|
+ <td>{{ data.special_close }}</td>
|
|
81
|
+ </tr>
|
|
82
|
+ </table>
|
|
83
|
+ </ng-template>
|
|
84
|
+ </nz-table>
|
|
85
|
+</div>
|
84
|
86
|
<div class="pagination">
|
85
|
87
|
<ng-template #totalTemplate let-total> 共 {{ total }} 条 </ng-template>
|
86
|
88
|
<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>
|