|
@@ -1,81 +1,136 @@
|
1
|
1
|
<div class="list-template">
|
2
|
2
|
<div class="list-template__content">
|
3
|
3
|
<div class="list-template__top" nz-row>
|
4
|
|
- <div nz-col nzXl='18' class="list-template__searchBox">
|
|
4
|
+ <div nz-col nzXl="18" class="list-template__searchBox">
|
5
|
5
|
<div class="list-template__searchItem">
|
6
|
6
|
<span class="label">发起时间</span>:
|
7
|
|
- <nz-range-picker [(ngModel)]="dateRange" [nzAllowClear]='false' (ngModelChange)="changeDate($event)">
|
|
7
|
+ <nz-range-picker
|
|
8
|
+ [(ngModel)]="dateRange"
|
|
9
|
+ [nzAllowClear]="false"
|
|
10
|
+ (ngModelChange)="changeDate($event)"
|
|
11
|
+ >
|
8
|
12
|
</nz-range-picker>
|
9
|
13
|
<br />
|
10
|
14
|
</div>
|
11
|
15
|
<div class="list-template__searchItem ml8">
|
12
|
|
- <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" [nzShowSearch]="false" nzPlaceHolder="请选择时间"
|
13
|
|
- [(ngModel)]="defRange" (ngModelChange)="changeDateRange($event)">
|
14
|
|
- <nz-option nzLabel="{{data.label}}" nzValue="{{data.id}}" *ngFor="let data of defRanges"></nz-option>
|
|
16
|
+ <nz-select
|
|
17
|
+ class="formItem"
|
|
18
|
+ [nzDropdownMatchSelectWidth]="false"
|
|
19
|
+ [nzShowSearch]="false"
|
|
20
|
+ nzPlaceHolder="请选择时间"
|
|
21
|
+ [(ngModel)]="defRange"
|
|
22
|
+ (ngModelChange)="changeDateRange($event)"
|
|
23
|
+ >
|
|
24
|
+ <nz-option
|
|
25
|
+ nzLabel="{{ data.label }}"
|
|
26
|
+ nzValue="{{ data.id }}"
|
|
27
|
+ *ngFor="let data of defRanges"
|
|
28
|
+ ></nz-option>
|
15
|
29
|
</nz-select>
|
16
|
30
|
</div>
|
17
|
31
|
<div class="list-template__searchItem">
|
18
|
32
|
<span class="label">分组</span>:
|
19
|
|
- <nz-select class="formItem" [nzDropdownMatchSelectWidth]="false" [nzShowSearch]="false" nzPlaceHolder="请选择分组"
|
20
|
|
- [ngModel]="group" (ngModelChange)="searchGroup($event)">
|
|
33
|
+ <nz-select
|
|
34
|
+ class="formItem"
|
|
35
|
+ [nzDropdownMatchSelectWidth]="false"
|
|
36
|
+ [nzShowSearch]="false"
|
|
37
|
+ nzPlaceHolder="请选择分组"
|
|
38
|
+ [ngModel]="group"
|
|
39
|
+ (ngModelChange)="searchGroup($event)"
|
|
40
|
+ >
|
21
|
41
|
<nz-option nzLabel="全部" [nzValue]="0"></nz-option>
|
22
|
|
- <nz-option nzLabel="{{data.groupName}}" nzValue="{{data.id}}" *ngFor="let data of groupList"></nz-option>
|
|
42
|
+ <nz-option
|
|
43
|
+ nzLabel="{{ data.groupName }}"
|
|
44
|
+ nzValue="{{ data.id }}"
|
|
45
|
+ *ngFor="let data of groupList"
|
|
46
|
+ ></nz-option>
|
23
|
47
|
</nz-select>
|
24
|
48
|
</div>
|
25
|
49
|
</div>
|
26
|
|
- <div nz-col nzXl='6' class="list-template__btns">
|
27
|
|
- <button nz-button class="btn default" (click)='search(1)'>搜索</button>
|
28
|
|
- <button nz-button class="btn default ml8" (click)='export()' [nzLoading]="loading2">导出</button>
|
29
|
|
- <button nz-button class="btn default ml8" (click)='reset()'>重置</button>
|
|
50
|
+ <div nz-col nzXl="6" class="list-template__btns">
|
|
51
|
+ <button nz-button class="btn default" (click)="search(1)">搜索</button>
|
|
52
|
+ <button nz-button class="btn default ml8" (click)="excelExport()">
|
|
53
|
+ 导出
|
|
54
|
+ </button>
|
|
55
|
+ <button nz-button class="btn default ml8" (click)="reset()">
|
|
56
|
+ 重置
|
|
57
|
+ </button>
|
30
|
58
|
</div>
|
31
|
59
|
</div>
|
32
|
60
|
<div class="list-template__bottom">
|
33
|
|
- <nz-table class="list-template__nzTable" [nzData]="listOfData" nzSize="middle" [nzShowPagination]="false"
|
34
|
|
- [nzLoading]="loading1">
|
|
61
|
+ <nz-table
|
|
62
|
+ class="list-template__nzTable"
|
|
63
|
+ [nzData]="listOfData"
|
|
64
|
+ nzSize="middle"
|
|
65
|
+ [nzShowPagination]="false"
|
|
66
|
+ [nzLoading]="loading1"
|
|
67
|
+ >
|
35
|
68
|
<thead>
|
36
|
69
|
<tr class="thead">
|
37
|
70
|
<th nzWidth="5%">序号</th>
|
38
|
|
- <th nzWidth="10%">支助人员名称</th>
|
39
|
|
- <th nzWidth="10%">工单总量</th>
|
40
|
|
- <th nzWidth="10%">积分</th>
|
41
|
|
- <th nzWidth="10%">好评数量</th>
|
42
|
|
- <th nzWidth="10%">特殊关闭数量</th>
|
|
71
|
+ <th nzWidth="10%">姓名</th>
|
|
72
|
+ <th nzWidth="10%">工单总数</th>
|
|
73
|
+ <th nzWidth="10%">五分钟内工单</th>
|
|
74
|
+ <th nzWidth="10%">特殊关闭数</th>
|
|
75
|
+ <th nzWidth="10%">平均到达时长</th>
|
|
76
|
+ <th nzWidth="10%">平均完成时长</th>
|
43
|
77
|
<th nzWidth="15%">按时完成达标率</th>
|
44
|
|
- <th nzWidth="10%">平均到达时间</th>
|
45
|
|
- <th nzWidth="10%">平均完成时间</th>
|
|
78
|
+ <th nzWidth="10%">总积分</th>
|
46
|
79
|
<th nzWidth="10%">操作</th>
|
47
|
80
|
</tr>
|
48
|
81
|
</thead>
|
49
|
82
|
<tbody>
|
50
|
|
- <tr *ngFor="let data of listOfData;let index=index;">
|
51
|
|
- <td>{{index+(pageIndex-1)*10+1}}</td>
|
|
83
|
+ <tr *ngFor="let data of listOfData; let index = index">
|
|
84
|
+ <td>{{ index + (pageIndex - 1) * 10 + 1 }}</td>
|
52
|
85
|
<td>{{ data.name }}</td>
|
53
|
|
- <td>{{ data.total||0}}</td>
|
54
|
|
- <td>{{data.order||0}}</td>
|
55
|
|
- <td>{{data.num||0}}</td>
|
56
|
|
- <td>{{data.specialCloseNum}}</td>
|
57
|
|
- <td>{{data.avePer+'%'}}</td>
|
58
|
|
- <td>{{data.arriveTime}}</td>
|
59
|
|
- <td>{{data.completeTime}}</td>
|
|
86
|
+ <td>{{ data.total || 0 }}</td>
|
|
87
|
+ <td>{{ data.fiveTimeNum || 0 }}</td>
|
|
88
|
+ <td>{{ data.specialCloseNum }}</td>
|
|
89
|
+ <td>{{ data.arriveTime }}</td>
|
|
90
|
+ <td>{{ data.completeTime }}</td>
|
|
91
|
+ <td>{{ data.avePer + "%" }}</td>
|
|
92
|
+ <td>{{ data.order || 0 }}</td>
|
60
|
93
|
<td>
|
61
|
94
|
<div class="coop">
|
62
|
|
- <span *ngIf="coopBtns.look" (click)="personDetail(data.workerId)">查看</span>
|
|
95
|
+ <span
|
|
96
|
+ *ngIf="coopBtns.look"
|
|
97
|
+ (click)="personDetail(data.workerId)"
|
|
98
|
+ >查看</span
|
|
99
|
+ >
|
63
|
100
|
</div>
|
64
|
101
|
</td>
|
65
|
102
|
</tr>
|
66
|
103
|
</tbody>
|
67
|
104
|
</nz-table>
|
68
|
105
|
<div class="list-template__pagination">
|
69
|
|
- <nz-pagination [(nzPageIndex)]="pageIndex" [(nzTotal)]="listLength" nzShowSizeChanger [(nzPageSize)]="pageSize"
|
70
|
|
- (nzPageIndexChange)="getList()" (nzPageSizeChange)="getList()">
|
|
106
|
+ <nz-pagination
|
|
107
|
+ [(nzPageIndex)]="pageIndex"
|
|
108
|
+ [(nzTotal)]="listLength"
|
|
109
|
+ nzShowSizeChanger
|
|
110
|
+ [(nzPageSize)]="pageSize"
|
|
111
|
+ (nzPageIndexChange)="getList()"
|
|
112
|
+ (nzPageSizeChange)="getList()"
|
|
113
|
+ >
|
71
|
114
|
</nz-pagination>
|
72
|
115
|
</div>
|
73
|
116
|
</div>
|
74
|
117
|
</div>
|
75
|
118
|
</div>
|
76
|
119
|
<!-- 操作成功/失败提示框 -->
|
77
|
|
-<app-prompt-modal *ngIf="promptModalShow" [content]="promptContent" [success]="ifSuccess" [show]="promptModalShow"
|
78
|
|
- [info]="promptInfo"></app-prompt-modal>
|
|
120
|
+<app-prompt-modal
|
|
121
|
+ *ngIf="promptModalShow"
|
|
122
|
+ [content]="promptContent"
|
|
123
|
+ [success]="ifSuccess"
|
|
124
|
+ [show]="promptModalShow"
|
|
125
|
+ [info]="promptInfo"
|
|
126
|
+></app-prompt-modal>
|
|
127
|
+<app-excel-export
|
|
128
|
+ [loading]="loading2"
|
|
129
|
+ [isShow]="isShow"
|
|
130
|
+ (submitFormHand)="submitExcelExport($event)"
|
|
131
|
+ (hideFormHand)="hideExcelExport($event)"
|
|
132
|
+ *ngIf="isShow"
|
|
133
|
+></app-excel-export>
|
79
|
134
|
|
80
|
135
|
<!-- 查看详情 -->
|
81
|
136
|
<router-outlet></router-outlet>
|