소스 검색

事件统计的事件类型增加满意度字段

seimin 7 달 전
부모
커밋
c1aeac6801
2개의 변경된 파일25개의 추가작업 그리고 13개의 파일을 삭제
  1. 3 3
      assets/js/controllers/report/event_formCtrl.js
  2. 22 10
      assets/views/report/event_form.html

+ 3 - 3
assets/js/controllers/report/event_formCtrl.js

@@ -447,7 +447,7 @@ app.controller('event_formCtrl', ["$scope", "$rootScope", "$state", "$timeout",
447
                         })
447
                         })
448
                     }
448
                     }
449
                 })
449
                 })
450
-                
450
+
451
                 break;
451
                 break;
452
             case 'QYDD'://区域地点
452
             case 'QYDD'://区域地点
453
                 $scope.qydd_list = null;
453
                 $scope.qydd_list = null;
@@ -522,12 +522,12 @@ app.controller('event_formCtrl', ["$scope", "$rootScope", "$state", "$timeout",
522
             case 'SJZS'://事件总数
522
             case 'SJZS'://事件总数
523
                 postData.type = $scope.dateItem;
523
                 postData.type = $scope.dateItem;
524
                 postData.key = 'mdv2_incident_repot_sum';
524
                 postData.key = 'mdv2_incident_repot_sum';
525
-                postData.titles = ['时间', '事件数量', '平均响应时间', '平均解决时间', '部分解决', '其他', '满意度(%)'];
525
+                postData.titles = ['时间', '事件数量', '平均响应时间', '平均解决时间', '满意度(%)'];
526
                 break;
526
                 break;
527
             case 'SJLX'://事件类型
527
             case 'SJLX'://事件类型
528
                 postData.hierarchy = $scope.sjSelectedOne.value.id;
528
                 postData.hierarchy = $scope.sjSelectedOne.value.id;
529
                 postData.key = 'mdv2_incident_repot_type';
529
                 postData.key = 'mdv2_incident_repot_type';
530
-                postData.titles = ['事件类型', '类型数量', '类型占比', '平均响应时间', '平均解决时间', '部分解决', '其他'];
530
+                postData.titles = ['事件类型', '类型数量', '类型占比', '平均响应时间', '平均解决时间', '满意度(%)'];
531
                 break;
531
                 break;
532
             case 'CLRZ'://处理人/组
532
             case 'CLRZ'://处理人/组
533
                 if ($scope.groupSelectedOne.value.id == -2) {//按组
533
                 if ($scope.groupSelectedOne.value.id == -2) {//按组

+ 22 - 10
assets/views/report/event_form.html

@@ -299,10 +299,10 @@
299
                                         <th style="width:6%">
299
                                         <th style="width:6%">
300
                                             序号
300
                                             序号
301
                                         </th>
301
                                         </th>
302
-                                        <th style="width:22%" tooltip='统计标的,事件分类' tooltip-placement="top">
302
+                                        <th style="width:20%" tooltip='统计标的,事件分类' tooltip-placement="top">
303
                                             事件类型
303
                                             事件类型
304
                                         </th>
304
                                         </th>
305
-                                        <th style="width:18%" ng-click="tableSort('sum')" tooltip='此事件分类下的事件工单数量(包含子级工单)' tooltip-placement="top">
305
+                                        <th style="width:14%" ng-click="tableSort('sum')" tooltip='此事件分类下的事件工单数量(包含子级工单)' tooltip-placement="top">
306
                                             <strong>
306
                                             <strong>
307
                                                 类型数量
307
                                                 类型数量
308
                                                 <em class="sort-wrap">
308
                                                 <em class="sort-wrap">
@@ -311,10 +311,10 @@
311
                                                 </em>
311
                                                 </em>
312
                                             </strong>
312
                                             </strong>
313
                                         </th>
313
                                         </th>
314
-                                        <th style="width:18%" tooltip='分类下工单占比' tooltip-placement="top">
314
+                                        <th style="width:14%" tooltip='分类下工单占比' tooltip-placement="top">
315
                                             类型占比
315
                                             类型占比
316
                                         </th>
316
                                         </th>
317
-                                        <th style="width:18%" ng-click="tableSort('responseTime')" tooltip='接单时间 – 建单时间' tooltip-placement="top">
317
+                                        <th style="width:16%" ng-click="tableSort('responseTime')" tooltip='接单时间 – 建单时间' tooltip-placement="top">
318
                                             <strong>
318
                                             <strong>
319
                                                 平均响应时间
319
                                                 平均响应时间
320
                                                 <em class="sort-wrap">
320
                                                 <em class="sort-wrap">
@@ -323,7 +323,7 @@
323
                                                 </em>
323
                                                 </em>
324
                                             </strong>
324
                                             </strong>
325
                                         </th>
325
                                         </th>
326
-                                        <th style="width:18%" ng-click="tableSort('resolvedTime')" tooltip='处理完成时间 –  接单时间' tooltip-placement="top">
326
+                                        <th style="width:16%" ng-click="tableSort('resolvedTime')" tooltip='处理完成时间 –  接单时间' tooltip-placement="top">
327
                                             <strong>
327
                                             <strong>
328
                                                 平均解决时间
328
                                                 平均解决时间
329
                                                 <em class="sort-wrap">
329
                                                 <em class="sort-wrap">
@@ -332,6 +332,15 @@
332
                                                 </em>
332
                                                 </em>
333
                                             </strong>
333
                                             </strong>
334
                                         </th>
334
                                         </th>
335
+                                        <th style="width:14%" ng-click="tableSort('satisfactionRatio')" tooltip='满意度' tooltip-placement="top">
336
+                                            <strong>
337
+                                                满意度(%)
338
+                                                <em class="sort-wrap">
339
+                                                    <i class="sortItem iconfont icon-xiangshang" ng-class="{active:sortActive == 'satisfactionRatiotop'}"></i>
340
+                                                    <i class="sortItem iconfont icon-xiangxia" ng-class="{active:sortActive == 'satisfactionRatiobottom'}"></i>
341
+                                                </em>
342
+                                            </strong>
343
+                                        </th>
335
                                         <!-- <th style="width:8%" tooltip='处理结果为:完全解决的单数' tooltip-placement="top">
344
                                         <!-- <th style="width:8%" tooltip='处理结果为:完全解决的单数' tooltip-placement="top">
336
                                             完全解决
345
                                             完全解决
337
                                         </th>
346
                                         </th>
@@ -353,21 +362,24 @@
353
                                             <td style="width:6%">
362
                                             <td style="width:6%">
354
                                                 {{$index+1}}
363
                                                 {{$index+1}}
355
                                             </td>
364
                                             </td>
356
-                                            <td style="width:22%">
365
+                                            <td style="width:20%">
357
                                                 {{rowData.category}}
366
                                                 {{rowData.category}}
358
                                             </td>
367
                                             </td>
359
-                                            <td style="width:18%">
368
+                                            <td style="width:14%">
360
                                                 {{rowData.sum}}
369
                                                 {{rowData.sum}}
361
                                             </td>
370
                                             </td>
362
-                                            <td style="width:18%">
371
+                                            <td style="width:14%">
363
                                                 {{rowData.proportion}}
372
                                                 {{rowData.proportion}}
364
                                             </td>
373
                                             </td>
365
-                                            <td style="width:18%">
374
+                                            <td style="width:16%">
366
                                                 {{rowData.responseTime}}
375
                                                 {{rowData.responseTime}}
367
                                             </td>
376
                                             </td>
368
-                                            <td style="width:18%">
377
+                                            <td style="width:16%">
369
                                                 {{rowData.resolvedTime}}
378
                                                 {{rowData.resolvedTime}}
370
                                             </td>
379
                                             </td>
380
+                                            <td style="width:14%">
381
+                                                {{rowData.satisfactionRatio}}%
382
+                                            </td>
371
                                             <!-- <td style="width:8%">
383
                                             <!-- <td style="width:8%">
372
                                                 {{rowData.allresult}}
384
                                                 {{rowData.allresult}}
373
                                             </td>
385
                                             </td>