瀏覽代碼

中南优化

seimin 2 年之前
父節點
當前提交
54f68945c2

+ 1 - 0
src/app/share/excel-export/excel-export.component.html

@@ -17,6 +17,7 @@
17 17
         <nz-radio-group [(ngModel)]="isNumOrIntegral">
18 18
           <label nz-radio nzValue="byOrderNum">按工单数量排序</label>
19 19
           <label nz-radio nzValue="byIntegral">按积分排序</label>
20
+          <label nz-radio nzValue="buildingAndInspectMode">人员工单积分信息</label>
20 21
         </nz-radio-group>
21 22
       </div>
22 23
     </div>

+ 1 - 1
src/app/share/excel-export/excel-export.component.less

@@ -52,7 +52,7 @@
52 52
   // 新增
53 53
   &.add {
54 54
     .modalBody {
55
-      width: 330px;
55
+      width: 480px;
56 56
       height: auto;
57 57
 
58 58
       .content {

+ 7 - 9
src/app/views/worker-statistics-detail/worker-statistics-detail.component.html

@@ -12,26 +12,24 @@
12 12
       <thead>
13 13
         <tr class="thead">
14 14
           <th nzWidth="5%">序号</th>
15
-          <th nzWidth="10%">工单单号</th>
16
-          <th nzWidth="15%">申请科室</th>
17
-          <th nzWidth="10%">工单类型</th>
18
-          <th nzWidth="15%">任务类型</th>
15
+          <th nzWidth="15%">工单单号<br>申请科室</th>
16
+          <th nzWidth="15%">工单类型<br>任务类型</th>
19 17
           <th nzWidth="10%">发起时间</th>
20 18
           <th nzWidth="10%">执行时长</th>
19
+          <th nzWidth="15%">楼栋分<br>陪检方式分</th>
21 20
           <th nzWidth="5%">积分</th>
22 21
           <th nzWidth="10%">是否特殊关闭</th>
23
-          <th nzWidth="10%">操作</th>
22
+          <th nzWidth="15%">操作</th>
24 23
         </tr>
25 24
       </thead>
26 25
       <tbody>
27 26
         <tr *ngFor="let data of listOfData;let index=index;">
28 27
           <td>{{index+(pageIndex-1) * pageSize + 1}}</td>
29
-          <td>{{ data.gdcode }}</td>
30
-          <td>{{ data.createDeptDTO?data.createDeptDTO.dept:'' }}</td>
31
-          <td>{{ data.taskType.associationType.name }}</td>
32
-          <td>{{ data.taskType.taskName }}</td>
28
+          <td>{{ data.gdcode }}<br>{{ data.createDeptDTO?data.createDeptDTO.dept:'' }}</td>
29
+          <td>{{ data.taskType.associationType.name }}<br>{{ data.taskType.taskName }}</td>
33 30
           <td>{{data.startTime|date:'yyyy-MM-dd HH:mm'}}</td>
34 31
           <td>{{ data.showTimeNum }}</td>
32
+          <td>{{ data.grade?data.grade.buildingGrade:'' }}<br>{{ data.grade?data.grade.inspectModeGrade:'' }}</td>
35 33
           <td>{{data.grade?data.grade.gradeTotal:'-'}}</td>
36 34
           <td>{{data.specialCloseReason?'是':'否'}}</td>
37 35
           <td>

+ 1 - 1
src/app/views/worker-statistics-detail/worker-statistics-detail.component.less

@@ -15,7 +15,7 @@
15 15
 
16 16
 .detail {
17 17
   width: 1200px;
18
-  height: 580px;
18
+  height: 620px;
19 19
   border-radius: 5px;
20 20
   background: #fff;
21 21
   color: #333;

+ 14 - 13
src/app/views/worker-statistics/worker-statistics.component.html

@@ -68,15 +68,17 @@
68 68
         <thead>
69 69
           <tr class="thead">
70 70
             <th nzWidth="5%">序号</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>
77
-            <th nzWidth="15%">按时完成达标率</th>
78
-            <th nzWidth="10%">总积分</th>
79
-            <th nzWidth="10%">操作</th>
71
+            <th nzWidth="8%">姓名</th>
72
+            <th nzWidth="8%">工单总数</th>
73
+            <th nzWidth="16%">五分钟内工单<br>特殊关闭数</th>
74
+            <!-- <th nzWidth="8%"></th> -->
75
+            <th nzWidth="16%">平均到达时长<br>平均完成时长</th>
76
+            <!-- <th nzWidth="8%"></th> -->
77
+            <th nzWidth="8%">按时完成达标率</th>
78
+            <th nzWidth="8%">楼栋分<br>陪检方式分</th>
79
+            <!-- <th nzWidth="8%"></th> -->
80
+            <th nzWidth="16%">总积分</th>
81
+            <th nzWidth="15%">操作</th>
80 82
           </tr>
81 83
         </thead>
82 84
         <tbody>
@@ -84,11 +86,10 @@
84 86
             <td>{{ index + (pageIndex - 1) * 10 + 1 }}</td>
85 87
             <td>{{ data.name }}</td>
86 88
             <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>
89
+            <td>{{ data.fiveTimeNum || 0 }}<br>{{ data.specialCloseNum }}</td>
90
+            <td>{{ data.arriveTime }}<br>{{ data.completeTime }}</td>
91 91
             <td>{{ data.avePer + "%" }}</td>
92
+            <td>{{ data.buildingGrade }}<br>{{ data.inspectModeGrade }}</td>
92 93
             <td>{{ data.order || 0 }}</td>
93 94
             <td>
94 95
               <div class="coop">

+ 4 - 0
src/app/views/worker-statistics/worker-statistics.component.ts

@@ -131,6 +131,10 @@ export class WorkerStatisticsComponent implements OnInit {
131 131
         //按积分排序
132 132
         postData.byIntegral = "true";
133 133
         break;
134
+      case "buildingAndInspectMode":
135
+        //人员工单积分信息
136
+        postData.buildingAndInspectMode = "true";
137
+        break;
134 138
     }
135 139
     this.loading2 = true;
136 140
     this.mainService.exportReport("user", postData).subscribe(

+ 1 - 1
src/main.ts

@@ -8,7 +8,7 @@ if (environment.production) {
8 8
   enableProdMode();
9 9
   if (window) {
10 10
     window.console.log = function () { };
11
-    console.info('v2.4.23');
11
+    console.info('v2.4.24');
12 12
   }
13 13
 }
14 14
 platformBrowserDynamic().bootstrapModule(AppModule)