Ver código fonte

中南优化

seimin 2 anos atrás
pai
commit
54f68945c2

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

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

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

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

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

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

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

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

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

@@ -68,15 +68,17 @@
68
         <thead>
68
         <thead>
69
           <tr class="thead">
69
           <tr class="thead">
70
             <th nzWidth="5%">序号</th>
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
           </tr>
82
           </tr>
81
         </thead>
83
         </thead>
82
         <tbody>
84
         <tbody>
@@ -84,11 +86,10 @@
84
             <td>{{ index + (pageIndex - 1) * 10 + 1 }}</td>
86
             <td>{{ index + (pageIndex - 1) * 10 + 1 }}</td>
85
             <td>{{ data.name }}</td>
87
             <td>{{ data.name }}</td>
86
             <td>{{ data.total || 0 }}</td>
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
             <td>{{ data.avePer + "%" }}</td>
91
             <td>{{ data.avePer + "%" }}</td>
92
+            <td>{{ data.buildingGrade }}<br>{{ data.inspectModeGrade }}</td>
92
             <td>{{ data.order || 0 }}</td>
93
             <td>{{ data.order || 0 }}</td>
93
             <td>
94
             <td>
94
               <div class="coop">
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
         postData.byIntegral = "true";
132
         postData.byIntegral = "true";
133
         break;
133
         break;
134
+      case "buildingAndInspectMode":
135
+        //人员工单积分信息
136
+        postData.buildingAndInspectMode = "true";
137
+        break;
134
     }
138
     }
135
     this.loading2 = true;
139
     this.loading2 = true;
136
     this.mainService.exportReport("user", postData).subscribe(
140
     this.mainService.exportReport("user", postData).subscribe(

+ 1 - 1
src/main.ts

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