Sfoglia il codice sorgente

Merge branch 'lmm'

seimin 1 anno fa
parent
commit
8b8a37629b
28 ha cambiato i file con 589 aggiunte e 347 eliminazioni
  1. 1 1
      assets/i18n/zh.json
  2. 1 1
      assets/i18n/zh.json.bak
  3. 2 2
      assets/js/controllers/businessConfiguration/faultSymptomsCtrl.js
  4. 49 20
      assets/js/controllers/incident/incidentCtrl.js
  5. 16 0
      assets/js/controllers/incident/incidentDetailCtrl.js
  6. 140 6
      assets/js/controllers/mainCtrl.js
  7. 21 1
      assets/js/controllers/report/chargingCtrl.js
  8. 5 0
      assets/js/controllers/report/realTimeCtrl.js
  9. 1 1
      assets/js/controllers/system/processdesign/changeplan.js
  10. 1 1
      assets/js/controllers/system/processdesign/incidentplan.js
  11. 1 1
      assets/js/controllers/system/processdesign/incidentplan/closecode.js
  12. 3 3
      assets/js/controllers/system/processdesign/incidentplan/incidentSetUpCtrl.js
  13. 1 1
      assets/js/controllers/system/processdesign/problemplan.js
  14. 1 1
      assets/js/controllers/system/processdesign/releaseplan.js
  15. 102 102
      assets/views/businessConfiguration/faultSymptoms.html
  16. 21 1
      assets/views/incident/incidentDetail.html
  17. 1 1
      assets/views/incident/list.html
  18. 2 2
      assets/views/incident/tpl/detailincident.html
  19. 1 1
      assets/views/incident/tpl/doing.tpl.html
  20. 22 23
      assets/views/newOrderDirectly.html
  21. 149 142
      assets/views/newOrderSeimin.html
  22. 6 6
      assets/views/report/catergry.html
  23. 19 7
      assets/views/report/charging.html
  24. 1 1
      assets/views/system/processdesign/incidentplan/closecode.html
  25. 6 6
      assets/views/system/processdesign/incidentplan/incidentSetUp.html
  26. 2 2
      assets/views/system/processdesign/knowledgedesign/system_1/processdesign/incidentplan/closecode.html
  27. 7 7
      assets/views/system/processdesign/knowledgedesign/system_1/tpl/systemclose.html
  28. 7 7
      assets/views/system/tpl/systemclose.html

+ 1 - 1
assets/i18n/zh.json

@@ -293,7 +293,7 @@
293 293
                     "CHANGETYPE": "变更类型",
294 294
                     "CHANGECLASSIFY": "变更分类",
295 295
                     "CHANGESTATE": "变更状态",
296
-                    "CHANGECLOSECODE": "变更关闭代码"
296
+                    "CHANGECLOSECODE": "变更处理结果"
297 297
                 },
298 298
                 "servicelayer": {
299 299
                     "MAIN": "服务配置",

+ 1 - 1
assets/i18n/zh.json.bak

@@ -250,7 +250,7 @@
250 250
           "CHANGETYPE": "变更类型",
251 251
           "CHANGECLASSIFY": "变更分类",
252 252
           "CHANGESTATE": "变更状态",
253
-          "CHANGECLOSECODE": "变更关闭代码"
253
+          "CHANGECLOSECODE": "变更处理结果"
254 254
         },
255 255
         "servicelayer": {
256 256
           "MAIN": "服务配置",

+ 2 - 2
assets/js/controllers/businessConfiguration/faultSymptomsCtrl.js

@@ -1375,7 +1375,7 @@ app.controller('faultSymptoms', ["$rootScope", "$scope", "$state", "$timeout", "
1375 1375
         },2000)
1376 1376
     }
1377 1377
     // 事件来源结束
1378
-    // 关闭代码开始
1378
+    // 处理结果开始
1379 1379
     $scope.incident_closecodeData=[];
1380 1380
     $scope.getIncident_closecode=function(){
1381 1381
         var data={
@@ -1433,7 +1433,7 @@ app.controller('faultSymptoms', ["$rootScope", "$scope", "$state", "$timeout", "
1433 1433
             $scope.getIncident_closecode();
1434 1434
         },2000)
1435 1435
     }
1436
-    // 关闭代码结束
1436
+    // 处理结果结束
1437 1437
     // 优先级规则开始
1438 1438
     $scope.incident_prioritymatrixAdd=function(){
1439 1439
         var modalInstance = $modal.open({

+ 49 - 20
assets/js/controllers/incident/incidentCtrl.js

@@ -22,9 +22,19 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
22 22
     // -----------------分割线 end----------------
23 23
     // 是否逾期seimin
24 24
     $scope.selectType = [
25
-        { id: '2', name: '是' },
26
-        { id: '0', name: '否' }
25
+        // { id: '2', name: '是' },
26
+        // { id: '0', name: '否' }
27 27
     ];
28
+    $scope.getOverdueState = function () {
29
+        var data = {
30
+            key: "overdue_state",
31
+            type: "list",
32
+        };
33
+        api_wechatfile.getDictionary(data).then(function (res) {
34
+            $scope.selectType = res;
35
+        });
36
+    };
37
+    $scope.getOverdueState();
28 38
     $scope.tabs = [
29 39
         // {key: 'all', value: '全部事件', num: ''},
30 40
         {key: 'todo', value: '待我接单', num: ''},
@@ -316,7 +326,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
316 326
                 displayName: '受理人|处理人/组',
317 327
                 width: 150,
318 328
                 cellTemplate: '<div style="width: 100%;">' +
319
-                    '<div class="ui-grid-cell-contents">{{row.entity.acceptUser ? row.entity.acceptUser.name : "无"}}<br>{{row.entity.groupORHandlerUser || "无"}}</div>' +
329
+                    '<div class="ui-grid-cell-contents">{{row.entity.acceptUser ? row.entity.acceptUser.name : "无"}}<br><span tooltip="{{grid.appScope.transferSynergetic(row.entity)}}" tooltip-placement="top">{{grid.appScope.transferSynergetic(row.entity)}}</span></div>' +
320 330
                     '</div>'
321 331
             },
322 332
             {
@@ -360,6 +370,14 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
360 370
             return '无';
361 371
         }
362 372
     }
373
+    // 转换协同人
374
+    $scope.transferSynergetic = function(incidentData){
375
+        let str = incidentData.groupORHandlerUser || "";
376
+        if(incidentData.synergetic && incidentData.synergetic.length){
377
+            str += ',' + incidentData.synergetic.map(v => v.name).join(',');
378
+        }
379
+        return str;
380
+    }
363 381
     $scope.transferHandlerLog = function (currentLog) {
364 382
         if(!currentLog){
365 383
             return '无';
@@ -1090,7 +1108,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
1090 1108
                         }
1091 1109
                     })
1092 1110
                 }
1093
-                // 获取关闭代码
1111
+                // 获取处理结果
1094 1112
                 $scope.getIncidentClosecode = function(){
1095 1113
                     api_wechatfile.getDictionary({"key":"incident_closecode","type":"list"}).then(function (data) {
1096 1114
                         $scope.incidentClosecodeList = data || [];
@@ -1141,7 +1159,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
1141 1159
                     if ($scope.model.category.hasSimple != 1 &&!$scope.postData.closecode){
1142 1160
                         Alert.swal({
1143 1161
                             title: "操作失败",
1144
-                            text: "请选择关闭代码!",
1162
+                            text: "请选择处理结果!",
1145 1163
                             type: "error"
1146 1164
                         });
1147 1165
                         return;
@@ -1214,13 +1232,16 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
1214 1232
 
1215 1233
     //修改
1216 1234
     $scope.changeClick = function (data) {
1217
-        $state.go('app.incident.detail', {
1218
-            formKey: 'incident_change',
1219
-            pdKey: 'incident',
1220
-            dataId: data.id,
1221
-            taskId: data.taskId,
1222
-            processInstanceId: data.processInstanceId
1223
-        });
1235
+        // $state.go('app.incident.detail', {
1236
+        //     formKey: 'incident_change',
1237
+        //     pdKey: 'incident',
1238
+        //     dataId: data.id,
1239
+        //     taskId: data.taskId,
1240
+        //     processInstanceId: data.processInstanceId
1241
+        // });
1242
+        $rootScope.newOrder({
1243
+            incident: data,
1244
+        },'edit')
1224 1245
     };
1225 1246
     //回访
1226 1247
     $scope.visit = function (model) {
@@ -1597,10 +1618,10 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
1597 1618
 
1598 1619
                     if($scope.assign.user && $scope.assign.user.id){
1599 1620
                         // 派人
1600
-                        postData ={ incident: {...model, ...{assignee: $scope.assign.user.id}} };
1621
+                        postData ={ incident: {...model, ...{assignee: $scope.assign.user.id, duty: $scope.assign.duty}} };
1601 1622
                     } else if($scope.assign.group && $scope.assign.group.id){
1602 1623
                         // 派组
1603
-                        postData ={ incident: {...model, ...{candidateGroups: $scope.assign.group.id}} };
1624
+                        postData ={ incident: {...model, ...{candidateGroups: $scope.assign.group.id, duty: $scope.assign.duty}} };
1604 1625
                     }
1605 1626
 
1606 1627
                     $rootScope.isMask = true;
@@ -2136,7 +2157,7 @@ app.controller('incidentListCtrl', ["$scope", "$http", "i18nService", "$rootScop
2136 2157
     $scope.selectTypeChange = function(isInit){
2137 2158
         console.log($scope.searchkeys.selectType,66666);
2138 2159
         if(window.sessionStorage.getItem('isGoyuqi') == 'yes'){
2139
-            $scope.searchkeys.selectType = {id:'2',name:'是'};
2160
+            $scope.searchkeys.selectType = $scope.selectType.find(v => v.value == 'unresolved');
2140 2161
         }
2141 2162
         var ids = $scope.searchkeys.selectType.id
2142 2163
         if(defaultFilterData.incident){
@@ -2304,6 +2325,7 @@ app.controller('IncidentOperCtrl', ['$rootScope', '$scope', '$state', function (
2304 2325
     var loginUser = $rootScope.user;
2305 2326
     $scope.user = $rootScope.user;
2306 2327
     $scope.chuli = false;
2328
+    $scope.allFlag = false;
2307 2329
     $scope.qiangdan = false;
2308 2330
     $scope.huifang = false;
2309 2331
     $scope.delFlag = false;
@@ -2314,6 +2336,9 @@ app.controller('IncidentOperCtrl', ['$rootScope', '$scope', '$state', function (
2314 2336
     $scope.shijianliebiao_duty = false;//设置责任科室
2315 2337
 
2316 2338
     for (var i = 0; i < loginUser.menu.length; i++) {
2339
+        if (loginUser.menu[i].link == "shijianliebiao_all") {
2340
+            $scope.allFlag = true
2341
+        }
2317 2342
         if (loginUser.menu[i].link == "shijianliebiao_chuli") {
2318 2343
             $scope.chuli = true
2319 2344
         }
@@ -2368,10 +2393,14 @@ app.controller('IncidentOperCtrl', ['$rootScope', '$scope', '$state', function (
2368 2393
     })
2369 2394
 
2370 2395
     //修改页面显示判断
2371
-    $scope.jry_modify = function (item) {
2372
-        var arrFlag = ['pending','handler'];
2373
-        var stateFlag = arrFlag.includes(item.state.value)
2374
-        return stateFlag && $scope.editFlag;
2396
+    $scope.jry_modify = function (item, user) {
2397
+        // 待接单的时候,处理人或处理组
2398
+        let flag1 = item.state && item.state.value == 'pending' && ((item.currentLog && item.currentLog.workerId == user.id) || item.tiquPower);
2399
+        // 处理中的时候,处理人或处理组
2400
+        let flag2 = item.state && item.state.value == 'handler' && item.handlingPersonnelUser && item.handlingPersonnelUser.id == user.id;
2401
+        // 已关闭,且不是已删除
2402
+        let flag3 = item.deleteFlag !== 1 && item.state.value !== 'close';
2403
+        return flag3 && (($scope.editFlag && $scope.allFlag) || flag1 || flag2 || (item.acceptUser ? item.acceptUser.id == user.id : false));
2375 2404
     }
2376 2405
     // 回访操作权限
2377 2406
     for (var obj in $rootScope.user.role) {
@@ -2448,7 +2477,7 @@ app.directive('incidentoperator', function () {
2448 2477
         controller: 'IncidentOperCtrl',
2449 2478
         template: '<div><div class="cl-effect-1 ui-grid-cell-contents pull-left" style="text-align:left;">' +
2450 2479
             '<a ng-click="toDetail(item)" class="bianjifont" >查看</a>' +
2451
-            // '<a ng-click="changeCenter()"  ng-show="jry_modify(item)"  class="luyinfont">编辑</a>' +
2480
+            '<a ng-click="changeCenter()" ng-show="jry_modify(item, user)" class="luyinfont">编辑</a>' +
2452 2481
             '<a ng-click="delSj()" ng-show="{{delFlag && item.deleteFlag !== 1}}" class="assign" >删除</a>' +
2453 2482
             '<a ng-click="storageSj()" ng-show="{{storageFlag && item.state.value === \'storage\' && item.deleteFlag !== 1}}" class="assign" >继续创建</a><br>' +
2454 2483
             '<a ng-click="edit()"  ng-show="{{item.state.value == \'handler\' && item.handlingPersonnelUser && item.handlingPersonnelUser.id == user.id && chuli && item.deleteFlag !== 1}}"  class="bianjifont">处理</a>' +

+ 16 - 0
assets/js/controllers/incident/incidentDetailCtrl.js

@@ -71,6 +71,22 @@ app.controller('incidentDetailCtrl', ["$scope", "$http", "i18nService", "$rootSc
71 71
         });
72 72
     };
73 73
 
74
+    // 转换协同人
75
+    $scope.transferSynergetic = function(synergetic){
76
+      return (synergetic && synergetic.length) ? synergetic.map(v => v.name).join(',') : ''
77
+    }
78
+
79
+    // 转换处理人
80
+    $scope.transferUser = function(incidentData){
81
+      if(incidentData.state && incidentData.state.value == 'pending' && incidentData.currentLog){
82
+        return incidentData.currentLog.workerName;
83
+      }else if(incidentData.state && incidentData.state.value != 'pending' && incidentData.handlingPersonnelUser){
84
+        return incidentData.handlingPersonnelUser.name;
85
+      }else{
86
+        return '';
87
+      }
88
+    }
89
+
74 90
     // 拨打电话
75 91
     $scope.dialout = function (teleno) {
76 92
       $rootScope.callout = 2;

+ 140 - 6
assets/js/controllers/mainCtrl.js

@@ -3763,6 +3763,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
3763 3763
     // 快速建单
3764 3764
     $rootScope.newOrder = function (model1, type = '') {
3765 3765
       $rootScope.newOrderShowOpen = true;
3766
+      $rootScope.newOrderType = type;
3766 3767
       //进入弹窗,强制示忙
3767 3768
       if (localStorage.getItem('fenjiNumber')) {
3768 3769
         setTimeout(()=>{
@@ -3887,7 +3888,125 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
3887 3888
                 },
3888 3889
               },
3889 3890
             });
3890
-        };
3891
+          };
3892
+          // 编辑后保存
3893
+          $scope.editSave = function(){
3894
+            if(!$scope.categorySelectId){
3895
+              SweetAlert.swal({
3896
+                  title: "提示",
3897
+                  text: "请选择故障现象!",
3898
+                  type: "error",
3899
+                  confirmButtonColor: "#DD6B55"
3900
+              });
3901
+              return;
3902
+            }
3903
+            if(!$scope.selectedDuty){
3904
+              SweetAlert.swal({
3905
+                  title: "提示",
3906
+                  text: "故障现象【"+ $scope.categorySelect.category +"】没有设置责任科室!",
3907
+                  type: "error",
3908
+                  confirmButtonColor: "#DD6B55"
3909
+              });
3910
+              return;
3911
+            }
3912
+            if(!$scope.incidentModel.department){
3913
+              SweetAlert.swal({
3914
+                  title: "提示",
3915
+                  text: "请选择报修科室!",
3916
+                  type: "error",
3917
+                  confirmButtonColor: "#DD6B55"
3918
+              });
3919
+              return;
3920
+            }
3921
+            if(!$scope.incidentModel.contactsInformation){
3922
+              SweetAlert.swal({
3923
+                  title: "提示",
3924
+                  text: "请填写联系电话!",
3925
+                  type: "error",
3926
+                  confirmButtonColor: "#DD6B55"
3927
+              });
3928
+              return;
3929
+            }
3930
+            if(!$scope.incidentModel.priority){
3931
+              SweetAlert.swal({
3932
+                  title: "提示",
3933
+                  text: "请选择优先级!",
3934
+                  type: "error",
3935
+                  confirmButtonColor: "#DD6B55"
3936
+              });
3937
+              return;
3938
+            }
3939
+            if(!$scope.incidentModel.description){
3940
+              SweetAlert.swal({
3941
+                  title: "提示",
3942
+                  text: "请选择故障描述!",
3943
+                  type: "error",
3944
+                  confirmButtonColor: "#DD6B55"
3945
+              });
3946
+              return;
3947
+            }
3948
+            $rootScope.isMask = true;
3949
+            var repair_main = JSON.parse(sessionStorage.getItem('repair_main'));
3950
+            var postData = {
3951
+              "incident": {
3952
+                "id": $scope.incidentModel.id || undefined,
3953
+                "deleteFlag": 0,
3954
+                "duty":$scope.selectedDuty?$scope.selectedDuty:undefined,
3955
+                "department": $scope.incidentModel.department||undefined,
3956
+                "contactsInformation": $scope.incidentModel.contactsInformation,
3957
+                "contacts": $scope.incidentModel.contacts,
3958
+                "branch": $scope.incidentModel.branch?$scope.incidentModel.branch.id:undefined,
3959
+                "area": $scope.incidentModel.area||undefined,
3960
+                "place": $scope.incidentModel.place||undefined,
3961
+                "houseNumber": $scope.incidentModel.address,
3962
+                "category": $scope.categorySelect||undefined,
3963
+                "priority": $scope.incidentModel.priority||undefined,
3964
+                "source": $scope.incidentModel.source||undefined,
3965
+                "title": $scope.categorySelect.category,
3966
+                "description": $scope.incidentModel.description,
3967
+                "yyTime": $scope.incidentModel.yyTime ? moment($scope.incidentModel.yyTime).format('YYYY-MM-DD HH:mm:ss') : undefined,
3968
+                "repairType": repair_main?repair_main.valueconfig:undefined,
3969
+                "requester":$scope.incidentModel.requester||undefined,
3970
+                "acceptUser": $rootScope.user||undefined,
3971
+                "callID": $scope.incidentModel.callID||undefined,
3972
+                "incomingPhone": $scope.incidentModel.incomingPhone||undefined,
3973
+              }
3974
+            };
3975
+            $scope.modelData && (postData.incident = Object.assign({}, $scope.modelData.incident, postData.incident));
3976
+            api_flow.accept("edit", postData).then(function (response) {
3977
+              // if ($scope.uploader != null) {
3978
+              //   // 有图片
3979
+              //     $scope.uploader.onBeforeUploadItem = function(item) {
3980
+              //         angular.extend(item.headers, $rootScope.getSession());
3981
+              //         item.url = api_bpm_domain.uploadAttachmentJryModel("wechatRequesterIncident", response.data.id).getRequestedUrl();
3982
+              //         item.formData.push({ 'fileName': item.file.name });
3983
+              //     };
3984
+              //     $scope.uploader.uploadAll();
3985
+              // }
3986
+              $rootScope.isMask = false;
3987
+              SweetAlert.swal(
3988
+                {
3989
+                  title: "保存成功!",
3990
+                  type: "success",
3991
+                  confirmButtonColor: "#007AFF",
3992
+                },
3993
+                function (isConfirm) {
3994
+                  if(isConfirm){
3995
+                    if (localStorage.getItem('fenjiNumber')) {
3996
+                      $rootScope.jry_shixian();
3997
+                    }
3998
+                    $modalInstance.dismiss("cancel");
3999
+                    $rootScope.newOrderShowOpen = false;
4000
+                    if($state.current.name === 'app.incident.list'){
4001
+                      $state.reload();
4002
+                    }else{
4003
+                      $state.go("app.incident.list");
4004
+                    }
4005
+                  }
4006
+                }
4007
+              );
4008
+            });
4009
+          }
3891 4010
           // 建单并派单
3892 4011
           $scope.buildAndAssign = function(){
3893 4012
             if(!$scope.categorySelectId){
@@ -4388,9 +4507,9 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
4388 4507
                 console.log($scope.categorySelect)
4389 4508
                 $scope.incidentModel = {
4390 4509
                   handlerMsg:'',//处理方案
4391
-                  closecode:'',//关闭代码
4510
+                  closecode:'',//处理结果
4392 4511
                 };
4393
-                // 关闭代码
4512
+                // 处理结果
4394 4513
                 $scope.closecodeArray = [];
4395 4514
                 $scope.jry_closecodeSearch = function () {
4396 4515
                   api_wechatfile
@@ -4414,7 +4533,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
4414 4533
                   if(!$scope.incidentModel.closecode.id){
4415 4534
                     SweetAlert.swal({
4416 4535
                         title: "提示",
4417
-                        text: "请选择关闭代码!",
4536
+                        text: "请选择处理结果!",
4418 4537
                         type: "error",
4419 4538
                         confirmButtonColor: "#DD6B55"
4420 4539
                     });
@@ -4822,26 +4941,36 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
4822 4941
           };
4823 4942
           // $scope.jry_deptSearch();
4824 4943
           // 报修人模糊搜索
4825
-          $scope.jry_requesterSearch = function (key = "") {
4944
+          $scope.jry_requesterSearch = function (key = "",branchId) {
4945
+            console.log(branchId)
4946
+            if(!branchId){
4947
+              $scope.jry_requesterData = [];
4948
+              return;
4949
+            }
4826 4950
             var postData = {
4827 4951
               idx: 0,
4828 4952
               sum: 10,
4829 4953
               user: {
4954
+                branch: { id: branchId },
4830 4955
                 name: key,
4831 4956
                 selectType: "pinyin_all",
4832 4957
                 engineer: undefined,
4958
+                dept: $scope.incidentModel ? ($scope.incidentModel.department || undefined) : undefined,
4833 4959
               },
4834 4960
             };
4835 4961
             api_user_data.fetchDataList("user", postData).then(function (data) {
4836 4962
               $scope.jry_requesterData = data.list;
4837 4963
             });
4838 4964
           };
4839
-          $scope.jry_requesterSearch();
4965
+          // $scope.jry_requesterSearch();
4840 4966
           $scope.$watch("incidentModel.requester", function (newVal,oldVal) {
4841 4967
             if(newVal){
4842 4968
               if($scope.modelData && newVal == oldVal){
4843 4969
               }else{
4844 4970
                 $scope.incidentModel.contacts = newVal.name;
4971
+                if(!oldVal){
4972
+                  $scope.incidentModel.department = newVal.dept;
4973
+                }
4845 4974
                 SweetAlert.swal({
4846 4975
                   title: "提示",
4847 4976
                   text: "是否覆盖联系电话?",
@@ -4970,6 +5099,7 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
4970 5099
             $scope.showUserOrGroup();
4971 5100
             newVal && $scope.jry_areaSearch('',newVal.id);
4972 5101
             newVal && $scope.jry_deptSearch('',newVal.id);
5102
+            newVal && $scope.jry_requesterSearch('',newVal.id);
4973 5103
           });
4974 5104
           $scope.$watch("incidentModel.area", function (newVal,oldVal) {
4975 5105
             newVal && $scope.jry_placeSearch('',newVal.id);
@@ -5179,6 +5309,10 @@ function ($rootScope, $scope, $state, $translate, $localStorage, $cookieStore, $
5179 5309
             if($scope.modelData && newVal == oldVal){
5180 5310
 
5181 5311
             }else{
5312
+              if(newVal && oldVal && newVal.id != oldVal.id){
5313
+                $scope.incidentModel.requester = '';
5314
+              }
5315
+              $scope.jry_requesterSearch('', $scope.incidentModel.branch.id)
5182 5316
               if(newVal){
5183 5317
                 if($scope.incidentModel.department){
5184 5318
                   if($scope.incidentModel.department.place){

+ 21 - 1
assets/js/controllers/report/chargingCtrl.js

@@ -42,7 +42,7 @@ app.controller("chartingCtrl", [
42 42
     // });
43 43
     // var apple_selected, tree, treedata_avm, treedata_geography;
44 44
     // var workspace = {};
45
-    $scope.parameters = {};
45
+    $scope.parameters = {userIds: []};
46 46
     $scope.allMoney = 0;
47 47
     $scope.category = {};
48 48
     $scope.reportName = "计费";
@@ -86,6 +86,25 @@ app.controller("chartingCtrl", [
86 86
     //     incidentCount: 12,
87 87
     //     name: "王磊"
88 88
     // }]
89
+    //受理人,处理人
90
+    var getUser = function (fieldatas) {
91
+      api_user_data.fetchDataList('user', fieldatas).then(function (data) {
92
+        $scope.userList = data.list;
93
+      });
94
+  }
95
+    //处理人过滤
96
+    $scope.onChangehandling = function (key = '') {
97
+      var filuser = {
98
+          "idx": 0,
99
+          "sum": 10,
100
+          "user": {
101
+              "name": key,
102
+              'selectType': "pinyin_qs",
103
+              engineer: 1,
104
+          }
105
+      }
106
+      getUser(filuser);
107
+    }
89 108
     // 切换院区
90 109
     $scope.changeBranch = function(){
91 110
       console.log($scope.parameters.branch);
@@ -219,6 +238,7 @@ app.controller("chartingCtrl", [
219 238
           startTime: $scope.starttimes,
220 239
           finishTime: $scope.endtimes,
221 240
           weight: $scope.allMoney,
241
+          userIds: $scope.parameters.userIds.length ? $scope.parameters.userIds.map(v => v.id).toString() : undefined
222 242
         })
223 243
         .then(function (response) {
224 244
           if (response) {

+ 5 - 0
assets/js/controllers/report/realTimeCtrl.js

@@ -114,6 +114,7 @@ app.controller('realTimeCtrl', ["$scope", "$rootScope", "$state", "$timeout", "$
114 114
         $scope.endtimesModel = moment().week( moment().week() - num).endOf('week').add(1, 'days').toDate();
115 115
       }
116 116
       $scope.datepickerUpdate('day');
117
+      $scope.mdxquery();
117 118
     }
118 119
     //本月,上月
119 120
     $scope.month = function (num) {
@@ -129,6 +130,7 @@ app.controller('realTimeCtrl', ["$scope", "$rootScope", "$state", "$timeout", "$
129 130
           $scope.endtimesModel = moment().month( moment().month() - num).endOf('month').toDate();
130 131
         }
131 132
         $scope.datepickerUpdate('month');
133
+        $scope.mdxquery();
132 134
     }
133 135
     //本日,上一日
134 136
     $scope.day = function (num) {
@@ -144,6 +146,7 @@ app.controller('realTimeCtrl', ["$scope", "$rootScope", "$state", "$timeout", "$
144 146
         $scope.endtimesModel = moment().day( moment().day() - num).endOf('day').toDate();
145 147
       }
146 148
       $scope.datepickerUpdate('day');
149
+      $scope.mdxquery();
147 150
     }
148 151
     //选择上一周,上个月,去年等等快捷方式
149 152
     $scope.chooseDate = function (date) {
@@ -464,6 +467,7 @@ app.controller('realTimeCtrl', ["$scope", "$rootScope", "$state", "$timeout", "$
464 467
     $scope.userCount = null;
465 468
     $scope.overtimeCount = null;
466 469
     $scope.getPersonnelStatistics = function(type){
470
+      $rootScope.isMask = true;
467 471
       if(type === 'overtimeCount'){
468 472
         $scope[type] = null;
469 473
       }else{
@@ -479,6 +483,7 @@ app.controller('realTimeCtrl', ["$scope", "$rootScope", "$state", "$timeout", "$
479 483
           "receveOver": $scope.timeoutType == '接单超时' ? 1 : undefined,
480 484
           "receveOverHour": $scope.timeoutNum,
481 485
       }).then(function (res) {
486
+        $rootScope.isMask = false;
482 487
           if (res.status == 200) {
483 488
               $scope.incidentCount = res.incidentCount ? res.incidentCount[0] : {};
484 489
               $scope.userCount = res.userCount || [];

File diff suppressed because it is too large
+ 1 - 1
assets/js/controllers/system/processdesign/changeplan.js


File diff suppressed because it is too large
+ 1 - 1
assets/js/controllers/system/processdesign/incidentplan.js


File diff suppressed because it is too large
+ 1 - 1
assets/js/controllers/system/processdesign/incidentplan/closecode.js


+ 3 - 3
assets/js/controllers/system/processdesign/incidentplan/incidentSetUpCtrl.js

@@ -24,7 +24,7 @@ app.controller('incidentSetUp', ["$rootScope", "$scope", "$state", "$timeout", "
24 24
         {"name":"工时"},
25 25
         {"name":"服务级别协议"},
26 26
         {"name":"事件来源"},
27
-        {"name":"关闭代码"},
27
+        {"name":"处理结果"},
28 28
         {"name":"事件状态"},
29 29
         {"name":"满意度评价"},
30 30
         {"name":"结果类型"},
@@ -1318,7 +1318,7 @@ app.controller('incidentSetUp', ["$rootScope", "$scope", "$state", "$timeout", "
1318 1318
         },2000)
1319 1319
     }
1320 1320
     // 事件来源结束
1321
-    // 关闭代码开始
1321
+    // 处理结果开始
1322 1322
     $scope.incident_closecodeData=[];
1323 1323
     $scope.getIncident_closecode=function(){
1324 1324
         var data={
@@ -1376,7 +1376,7 @@ app.controller('incidentSetUp', ["$rootScope", "$scope", "$state", "$timeout", "
1376 1376
             $scope.getIncident_closecode();
1377 1377
         },2000)
1378 1378
     }
1379
-    // 关闭代码结束
1379
+    // 处理结果结束
1380 1380
     // 优先级规则开始
1381 1381
     $scope.incident_prioritymatrixAdd=function(){
1382 1382
         var modalInstance = $modal.open({

File diff suppressed because it is too large
+ 1 - 1
assets/js/controllers/system/processdesign/problemplan.js


File diff suppressed because it is too large
+ 1 - 1
assets/js/controllers/system/processdesign/releaseplan.js


+ 102 - 102
assets/views/businessConfiguration/faultSymptoms.html

@@ -82,28 +82,28 @@
82 82
     }
83 83
    /* 故障现象开始 */
84 84
    /* 公共css,需要复用 */
85
-    
85
+
86 86
    .iconfont {
87 87
         font-size: 14px;
88 88
     }
89
-    
89
+
90 90
     .nav-pills>li>a {
91 91
         border-radius: 0px;
92 92
     }
93
-    
93
+
94 94
     .nav-pills>li.active>a,
95 95
     .nav-pills>li.active>a:hover,
96 96
     .nav-pills>li.active>a:focus {
97 97
         background-color: #006bbf;
98 98
         color: white !important;
99 99
     }
100
-    
100
+
101 101
     .panel-tabs,
102 102
     .tabbable {
103 103
         /* padding: 14px; */
104 104
         background-color: white;
105 105
     }
106
-    
106
+
107 107
     .tab-content>.tab-pane,
108 108
     .pill-content>.pill-pane {
109 109
         padding: 14px;
@@ -112,14 +112,14 @@
112 112
         border-right: 1px solid #eeeeee;
113 113
         border-radius: 0px 0px 8px 8px;
114 114
     }
115
-    
115
+
116 116
     .nav-tabs>li.active a,
117 117
     .nav-tabs>li.active a:hover,
118 118
     .nav-tabs>li.active a:focus {
119 119
         background-color: #006bc0;
120 120
         color: white;
121 121
     }
122
-    
122
+
123 123
     .nav-tabs {
124 124
         border-top: 1px solid #eeeeee;
125 125
         border-bottom: 1px solid #eeeeee;
@@ -128,16 +128,16 @@
128 128
         border-radius: 8px 8px 0 0;
129 129
         height: 47px;
130 130
     }
131
-    
131
+
132 132
     .nav-tabs>li {
133 133
         border-right: 1px solid #eeeeee;
134 134
     }
135
-    
135
+
136 136
     .nav-tabs>li:last-child {
137 137
         border-right: none;
138 138
     }
139 139
     /* 独立css */
140
-    
140
+
141 141
     .mainDiv {
142 142
         /* background: red; */
143 143
         /* padding: 14px; */
@@ -145,20 +145,20 @@
145 145
         overflow: hidden;
146 146
         /* zoom: 1; */
147 147
     }
148
-    
148
+
149 149
     .mainDivLeft {
150 150
         border-radius: 8px;
151 151
         border: 1px solid #eeeeee;
152 152
         width: 288px;
153 153
         float: left;
154 154
     }
155
-    
155
+
156 156
     .mainDivRight {
157 157
         margin-left: 302px;
158 158
         border-radius: 8px;
159 159
         border: 1px solid #eeeeee;
160 160
     }
161
-    
161
+
162 162
     .mainDiv-head {
163 163
         height: 47px;
164 164
         line-height: 47px;
@@ -169,7 +169,7 @@
169 169
         padding-left: 10px;
170 170
         padding-right: 4px;
171 171
     }
172
-    
172
+
173 173
     .mainDivLeft-span {
174 174
         border: 1px solid;
175 175
         /* padding: 15px 0px 15px 0px; */
@@ -183,35 +183,35 @@
183 183
         margin-right: 10px;
184 184
         font-size: 14px;
185 185
     }
186
-    
186
+
187 187
     .mainDiv-head-right {
188 188
         display: inline-block;
189 189
         float: right;
190 190
     }
191
-    
191
+
192 192
     .edit-left {
193 193
         display: inline-block;
194 194
         /* float: left; */
195 195
         margin-left: 10px;
196 196
     }
197
-    
197
+
198 198
     .span-1 {
199 199
         border-color: #006bc0;
200 200
         color: #006bc0;
201 201
     }
202
-    
202
+
203 203
     .span-2 {
204 204
         border: none;
205 205
         color: white;
206 206
         background-color: #006bc0;
207 207
     }
208
-    
208
+
209 209
     .span-3 {
210 210
         border: none;
211 211
         color: white;
212 212
         background-color: #fc4c58;
213 213
     }
214
-    
214
+
215 215
     .mainDiv-body {
216 216
         border-radius: 8px;
217 217
         border: 1px solid #eeeeee;
@@ -221,7 +221,7 @@
221 221
         /* height: 402px; */
222 222
         overflow: auto;
223 223
     }
224
-    
224
+
225 225
     .mainDiv-body-1 {
226 226
         height: 50px;
227 227
         line-height: 50px;
@@ -230,7 +230,7 @@
230 230
         padding: 0px 14px;
231 231
         border-bottom: 1px solid #eeeeee;
232 232
     }
233
-    
233
+
234 234
     .mainDiv-body-2 {
235 235
         height: 70px;
236 236
         line-height: 70px;
@@ -239,16 +239,16 @@
239 239
         padding: 0px 30px;
240 240
         border-bottom: 1px solid #eeeeee;
241 241
     }
242
-    
242
+
243 243
     .mainDiv-body-2:last-child {
244 244
         border-bottom: none;
245 245
     }
246
-    
246
+
247 247
     .fixHeight {
248 248
         /* height: 450px; */
249 249
         overflow: auto;
250 250
     }
251
-    
251
+
252 252
     .mainDiv-body-3 {
253 253
         height: 50px;
254 254
         line-height: 50px;
@@ -257,7 +257,7 @@
257 257
         padding: 0px 30px;
258 258
         border-bottom: 1px solid #eeeeee;
259 259
     }
260
-    
260
+
261 261
     .mainDiv-body-3:last-child {
262 262
         border-bottom: none;
263 263
     }
@@ -271,17 +271,17 @@
271 271
         margin-bottom: 0px;
272 272
         overflow: hidden;
273 273
     }
274
-    
274
+
275 275
     .mainDiv-body-noList {
276 276
         height: 110px;
277 277
         margin: 50px 0;
278 278
         text-align: center;
279 279
     }
280
-    
280
+
281 281
     .form-control {
282 282
         display: inline-block;
283 283
     }
284
-    
284
+
285 285
     .mainDivLeft-span-1 {
286 286
         border: 1px solid;
287 287
         padding-left: 15px;
@@ -295,7 +295,7 @@
295 295
         font-size: 14px;
296 296
         display: inline-block;
297 297
     }
298
-    
298
+
299 299
     .mainDivLeft-span-2 {
300 300
         border: 1px solid;
301 301
         padding-left: 15px;
@@ -309,7 +309,7 @@
309 309
         font-size: 14px;
310 310
         display: inline-block;
311 311
     }
312
-    
312
+
313 313
     .mainDivLeft-span-edit-1 {
314 314
         border: 1px solid;
315 315
         padding-left: 8px;
@@ -323,7 +323,7 @@
323 323
         font-size: 12px;
324 324
         display: inline-block;
325 325
     }
326
-    
326
+
327 327
     .mainDivLeft-span-edit-2 {
328 328
         border: 1px solid;
329 329
         padding-left: 8px;
@@ -338,13 +338,13 @@
338 338
         display: inline-block;
339 339
     }
340 340
     /* tab内容css */
341
-    
341
+
342 342
     .tab-mainDiv {
343 343
         border: 1px solid #eeeeee;
344 344
         border-radius: 8px;
345 345
         /* min-height: 360px; */
346 346
     }
347
-    
347
+
348 348
     .tab-mainDiv-head {
349 349
         text-align: center;
350 350
         border-bottom: 1px solid #eeeeee;
@@ -353,7 +353,7 @@
353 353
         font-size: 14px;
354 354
         color: #93989e;
355 355
     }
356
-    
356
+
357 357
     .tab-mainDiv-body {
358 358
         padding: 14px;
359 359
         min-height: 280px;
@@ -362,7 +362,7 @@
362 362
         /* padding-top: 14px; */
363 363
         /* padding-bottom: 14px; */
364 364
     }
365
-    
365
+
366 366
     .tab-mainDiv-body-lineDiv-50 {
367 367
         /* display: inline-block; */
368 368
         font-size: 14px;
@@ -371,7 +371,7 @@
371 371
         width: 47%;
372 372
         padding-left: 14px;
373 373
     }
374
-    
374
+
375 375
     .tab-mainDiv-body-lineDiv-100 {
376 376
         /* display: inline-block; */
377 377
         font-size: 14px;
@@ -380,29 +380,29 @@
380 380
         width: 96%;
381 381
         padding-left: 14px;
382 382
     }
383
-    
383
+
384 384
     .tab-mainDiv-body-lable {
385 385
         padding-bottom: 10px;
386 386
         /* width: 370px; */
387 387
     }
388
-    
388
+
389 389
     .tab-mainDiv-body-content {
390 390
         padding-bottom: 10px;
391 391
         /* width: 370px; */
392 392
     }
393
-    
393
+
394 394
     .tab-mainDiv-body-content>textarea {
395 395
         min-height: 68px;
396 396
         width: 100%;
397 397
     }
398
-    
398
+
399 399
     .tab-mainDiv-foot {
400 400
         /* margin: 14px auto; */
401 401
         border-top: 1px solid #eeeeee;
402 402
         text-align: center;
403 403
         padding: 7px;
404 404
     }
405
-    
405
+
406 406
     .tab-mainDiv-body-button-1 {
407 407
         display: inline-block;
408 408
         width: 80px;
@@ -415,7 +415,7 @@
415 415
         border-radius: 4px;
416 416
         margin-right: 14px;
417 417
     }
418
-    
418
+
419 419
     .tab-mainDiv-body-button-2 {
420 420
         display: inline-block;
421 421
         width: 80px;
@@ -429,9 +429,9 @@
429 429
         box-sizing: border-box;
430 430
         border: 1px solid #eeeeee;
431 431
     }
432
-    
432
+
433 433
     .abn-tree {}
434
-    
434
+
435 435
     .tree-control .tree-view {
436 436
         width: inherit;
437 437
         z-index: 9999;
@@ -469,13 +469,13 @@
469 469
         <div class="col-xs-12">
470 470
             <div class="fonsize">故障现象管理>{{leftListName}}</div>
471 471
             <div class="rightBox">
472
-                
472
+
473 473
                 <!-- 故障现象开始 -->
474 474
                 <div ng-if="leftListName=='故障现象'">
475 475
                     <div class="mainDiv">
476
-                        
476
+
477 477
                         <!-- 谁固定谁在前 -->
478
-                
478
+
479 479
                         <div class="mainDivLeft">
480 480
                             <div class="mainDiv-head">
481 481
                                 <span>服务目录</span>
@@ -490,10 +490,10 @@
490 490
                                     <!-- <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-zuzhijiaose" icon-expand="ti-plus" icon-collapse="ti-minus "></abn-tree> -->
491 491
                                     <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" icon-leaf="iconfont icon-fenlei" icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
492 492
                                 </div>
493
-                
493
+
494 494
                             </div>
495 495
                         </div>
496
-                
496
+
497 497
                         <div class="mainDivRight" ng-if="changecate">
498 498
                             <!-- <div class="mainDivRight"> -->
499 499
                             <div class="mainDiv-head" style="display: flex;justify-content: space-between;align-items:center;">
@@ -571,7 +571,7 @@
571 571
                                         <switch ng-model="subdata.hasSimple" class="green"></switch>
572 572
                                     </div>
573 573
                                 </div>
574
-                                
574
+
575 575
                                 <div class="tab-mainDiv-body-lineDiv-50">
576 576
                                     <div class="tab-mainDiv-body-lable">
577 577
                                         别名:
@@ -711,8 +711,8 @@
711 711
                                         </div>
712 712
                                     </div>
713 713
                                 </div>
714
-                                
715
-                                
714
+
715
+
716 716
                                 <!-- <div class="tab-mainDiv-body-lineDiv-50">
717 717
                                     <div class="tab-mainDiv-body-lable">关联组:</div>
718 718
                                     <ui-select class="tab-mainDiv-body-content" ng-model="subdata.group" theme="bootstrap">
@@ -743,7 +743,7 @@
743 743
                                         <switch ng-model="subdata.hasArea" class="green"></switch>
744 744
                                     </div>
745 745
                                 </div> -->
746
-                                
746
+
747 747
                                 <!-- <div class="tab-mainDiv-body-lineDiv-50">
748 748
                                     <div class="tab-mainDiv-body-lable">
749 749
                                         是否关联地点:
@@ -762,7 +762,7 @@
762 762
                                 </div> -->
763 763
                             </div>
764 764
                         </div>
765
-                
765
+
766 766
                         <div class="mainDivRight" ng-if="addcate">
767 767
                             <!-- <div class="mainDivRight"> -->
768 768
                             <div class="mainDiv-head">
@@ -839,7 +839,7 @@
839 839
                                             <switch ng-model="adddata.hasSimple" class="green"></switch>
840 840
                                         </div>
841 841
                                     </div>
842
-                                    
842
+
843 843
                                     <div class="tab-mainDiv-body-lineDiv-50">
844 844
                                         <div class="tab-mainDiv-body-lable">
845 845
                                             是否分院区处理:
@@ -959,7 +959,7 @@
959 959
                                             </div>
960 960
                                         </div>
961 961
                                     </div>
962
-                                    
962
+
963 963
                                 <!-- <div class="tab-mainDiv-body-lineDiv-50">
964 964
                                     <div class="tab-mainDiv-body-lable">关联组:</div>
965 965
                                     <ui-select class="tab-mainDiv-body-content" ng-model="adddata.group" theme="bootstrap">
@@ -990,7 +990,7 @@
990 990
                                         <switch ng-model="adddata.hasArea" class="green"></switch>
991 991
                                     </div>
992 992
                                 </div> -->
993
-                                
993
+
994 994
                                 <!-- <div class="tab-mainDiv-body-lineDiv-50">
995 995
                                     <div class="tab-mainDiv-body-lable">
996 996
                                         是否关联地点:
@@ -1009,7 +1009,7 @@
1009 1009
                                 </div>
1010 1010
                             </div>
1011 1011
                         </div>
1012
-                
1012
+
1013 1013
                         <div class="mainDivRight" ng-if="addcate==''&&changecate==''">
1014 1014
                             <!-- <div class="mainDivRight"> -->
1015 1015
                             <div class="mainDiv-head">
@@ -1022,15 +1022,15 @@
1022 1022
                                 </div>
1023 1023
                             </div>
1024 1024
                         </div>
1025
-                    </div>   
1025
+                    </div>
1026 1026
                 </div>
1027 1027
                 <!-- 故障现象结束 -->
1028 1028
                 <!-- 巡检范围开始 -->
1029 1029
                 <div ng-if="leftListName=='巡检范围'">
1030 1030
                     <div class="mainDiv">
1031
-                        
1031
+
1032 1032
                         <!-- 谁固定谁在前 -->
1033
-                
1033
+
1034 1034
                         <div class="mainDivLeft">
1035 1035
                             <div class="mainDiv-head">
1036 1036
                                 <span>服务目录</span>
@@ -1046,7 +1046,7 @@
1046 1046
                                 </div>
1047 1047
                             </div>
1048 1048
                         </div>
1049
-                
1049
+
1050 1050
                         <div class="mainDivRight" ng-if="changecate">
1051 1051
                             <div class="mainDiv-head">
1052 1052
                                 <span>服务目录修改</span>
@@ -1100,7 +1100,7 @@
1100 1100
                                 </div>
1101 1101
                             </div>
1102 1102
                         </div>
1103
-                
1103
+
1104 1104
                         <div class="mainDivRight" ng-if="add1cate">
1105 1105
                             <div class="mainDiv-head">
1106 1106
                                 <span>服务目录新增</span>
@@ -1165,7 +1165,7 @@
1165 1165
                                 </div>
1166 1166
                             </div>
1167 1167
                         </div>
1168
-                
1168
+
1169 1169
                         <div class="mainDivRight" ng-if="add1cate==''&&changecate==''">
1170 1170
                             <!-- <div class="mainDivRight"> -->
1171 1171
                             <div class="mainDiv-head">
@@ -1178,7 +1178,7 @@
1178 1178
                                 </div>
1179 1179
                             </div>
1180 1180
                         </div>
1181
-                    </div>   
1181
+                    </div>
1182 1182
                 </div>
1183 1183
                 <!-- 巡检范围结束 -->
1184 1184
                 <!-- 事件紧急度开始 -->
@@ -1187,8 +1187,8 @@
1187 1187
                         <div class="contentName col-xs-12">紧急度</div>
1188 1188
                         <div class="col-xs-12" ng-repeat="v in incident_emergencyData">
1189 1189
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1190
-                        </div> 
1191
-                    </div>                                  
1190
+                        </div>
1191
+                    </div>
1192 1192
                 </div>
1193 1193
                 <!-- 事件紧急度结束 -->
1194 1194
                 <!-- 事件影响度开始 -->
@@ -1197,7 +1197,7 @@
1197 1197
                         <div class="contentName col-xs-12">影响度</div>
1198 1198
                         <div class="col-xs-12" ng-repeat="v in incident_influenceData">
1199 1199
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1200
-                        </div>        
1200
+                        </div>
1201 1201
                     </div>
1202 1202
                 </div>
1203 1203
                 <!-- 事件影响度结束 -->
@@ -1207,8 +1207,8 @@
1207 1207
                         <div class="contentName col-xs-12">优先级</div>
1208 1208
                         <div class="col-xs-12" ng-repeat="v in incident_priorityData">
1209 1209
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1210
-                        </div> 
1211
-                    </div>              
1210
+                        </div>
1211
+                    </div>
1212 1212
                 </div>
1213 1213
                 <!-- 事件优先级结束 -->
1214 1214
                 <!-- 服务级别协议开始 -->
@@ -1217,20 +1217,20 @@
1217 1217
                         <div class="contentName col-xs-12">名称</div>
1218 1218
                         <div class="col-xs-12" ng-repeat="v in incident_SLA_Data">
1219 1219
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" disabled="true">
1220
-                        </div>  
1221
-                    </div>  
1220
+                        </div>
1221
+                    </div>
1222 1222
                     <div class="col-xs-4">
1223 1223
                         <div class="contentName col-xs-12">解决时间(分钟)</div>
1224 1224
                         <div class="col-xs-12" ng-repeat="v in incident_SLA_Data">
1225 1225
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.resolveTime" placeholder="" />
1226
-                        </div>  
1227
-                    </div> 
1226
+                        </div>
1227
+                    </div>
1228 1228
                     <div class="col-xs-4">
1229 1229
                         <div class="contentName col-xs-12">响应时间(分钟)</div>
1230 1230
                         <div class="col-xs-12" ng-repeat="v in incident_SLA_Data">
1231 1231
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.responseTime" placeholder="" />
1232
-                        </div>  
1233
-                    </div>            
1232
+                        </div>
1233
+                    </div>
1234 1234
                 </div>
1235 1235
                 <!-- 服务级别协议结束 -->
1236 1236
                 <!-- 工时开始 -->
@@ -1239,8 +1239,8 @@
1239 1239
                         <div class="contentName col-xs-12">工时</div>
1240 1240
                         <div class="col-xs-12" ng-repeat="v in incident_complexityData">
1241 1241
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1242
-                        </div> 
1243
-                    </div>              
1242
+                        </div>
1243
+                    </div>
1244 1244
                 </div>
1245 1245
                 <!-- 工时结束 -->
1246 1246
                 <!-- 事件来源开始 -->
@@ -1249,45 +1249,45 @@
1249 1249
                         <div class="contentName col-xs-12">来源</div>
1250 1250
                         <div class="col-xs-12" ng-repeat="v in incident_sourceData">
1251 1251
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1252
-                        </div> 
1253
-                    </div> 
1252
+                        </div>
1253
+                    </div>
1254 1254
                     <div class="col-xs-4">
1255 1255
                         <div class="contentName col-xs-12">来源关联</div>
1256 1256
                         <div class="col-xs-12" ng-repeat="v in incident_sourceData">
1257 1257
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.value" placeholder="" />
1258
-                        </div> 
1259
-                    </div>             
1258
+                        </div>
1259
+                    </div>
1260 1260
                 </div>
1261 1261
                 <!-- 事件来源结束 -->
1262
-                <!-- 关闭代码开始 -->
1263
-                <div ng-if="leftListName=='关闭代码'">
1262
+                <!-- 处理结果开始 -->
1263
+                <div ng-if="leftListName=='处理结果'">
1264 1264
                     <div class="col-xs-4">
1265
-                        <div class="contentName col-xs-12">关闭代码</div>
1265
+                        <div class="contentName col-xs-12">处理结果</div>
1266 1266
                         <div class="col-xs-12" ng-repeat="v in incident_closecodeData">
1267 1267
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.value" placeholder="" />
1268
-                        </div>  
1269
-                    </div>  
1268
+                        </div>
1269
+                    </div>
1270 1270
                     <div class="col-xs-4">
1271 1271
                         <div class="contentName col-xs-12">关闭原因</div>
1272 1272
                         <div class="col-xs-12" ng-repeat="v in incident_closecodeData">
1273 1273
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.desc" placeholder="" />
1274
-                        </div>  
1275
-                    </div> 
1274
+                        </div>
1275
+                    </div>
1276 1276
                     <div class="col-xs-4">
1277 1277
                         <div class="contentName col-xs-12">关闭原因缩写</div>
1278 1278
                         <div class="col-xs-12" ng-repeat="v in incident_closecodeData">
1279 1279
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1280
-                        </div>  
1281
-                    </div>            
1280
+                        </div>
1281
+                    </div>
1282 1282
                 </div>
1283
-                <!-- 关闭代码结束 -->
1283
+                <!-- 处理结果结束 -->
1284 1284
                 <!-- 事件状态开始 -->
1285 1285
                 <div ng-if="leftListName=='事件状态'">
1286 1286
                     <div class="col-xs-4">
1287 1287
                         <div class="contentName col-xs-12">事件状态</div>
1288 1288
                         <div class="col-xs-12" ng-repeat="v in incident_classificationData">
1289 1289
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1290
-                        </div>        
1290
+                        </div>
1291 1291
                     </div>
1292 1292
                 </div>
1293 1293
                 <!-- 事件状态结束 -->
@@ -1297,7 +1297,7 @@
1297 1297
                         <div class="contentName col-xs-12">满意度评价</div>
1298 1298
                         <div class="col-xs-12" ng-repeat="v in incident_evaluateData">
1299 1299
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1300
-                        </div>        
1300
+                        </div>
1301 1301
                     </div>
1302 1302
                 </div>
1303 1303
                 <!-- 满意度评价结束 -->
@@ -1307,7 +1307,7 @@
1307 1307
                         <div class="contentName col-xs-12">结果类型</div>
1308 1308
                         <div class="col-xs-12" ng-repeat="v in incident_resultData">
1309 1309
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.name" placeholder="" />
1310
-                        </div>        
1310
+                        </div>
1311 1311
                     </div>
1312 1312
                 </div>
1313 1313
                 <!-- 结果类型结束 -->
@@ -1324,7 +1324,7 @@
1324 1324
                                     <div ng-bind-html="item.name | highlight: $select.search"></div>
1325 1325
                                 </ui-select-choices>
1326 1326
                             </ui-select>
1327
-                        </div>  
1327
+                        </div>
1328 1328
                     </div>
1329 1329
                     <div class="col-xs-4">
1330 1330
                         <div class="contentName col-xs-12">紧急度</div>
@@ -1337,7 +1337,7 @@
1337 1337
                                     <div ng-bind-html="item.name | highlight: $select.search"></div>
1338 1338
                                 </ui-select-choices>
1339 1339
                             </ui-select>
1340
-                        </div>  
1340
+                        </div>
1341 1341
                     </div>
1342 1342
                     <div class="col-xs-4">
1343 1343
                         <div class="contentName col-xs-12">优先级</div>
@@ -1352,9 +1352,9 @@
1352 1352
                                     </ui-select-choices>
1353 1353
                                 </ui-select>
1354 1354
                                 <i class="iconfont icon-shanchu2 guanbiIco" ng-click="removePrioritymatrix(v)" ng-show="shanchu"></i>
1355
-                            </div>  
1355
+                            </div>
1356 1356
                         </div>
1357
-                        
1357
+
1358 1358
                     </div>
1359 1359
                     <div class="col-xs-12" ng-show="xinzeng">
1360 1360
                         <button class="btn btnAdd" ng-click="incident_prioritymatrixAdd()">新增</button>
@@ -1408,8 +1408,8 @@
1408 1408
             <div class="btn btn_search" ng-click="incident_sourceSave()">保存</div>
1409 1409
             <div class="btn btn_other" ng-click="incident_sourceReturn()">恢复默认</div>
1410 1410
         </div>
1411
-        <!-- 关闭代码 -->
1412
-        <div class="col-xs-12 btn_box" ng-if="leftListName=='关闭代码'&&bianji">
1411
+        <!-- 处理结果 -->
1412
+        <div class="col-xs-12 btn_box" ng-if="leftListName=='处理结果'&&bianji">
1413 1413
             <div class="btn btn_search" ng-click="incident_closecodeSave()">保存</div>
1414 1414
             <div class="btn btn_other" ng-click="incident_closecodeReturn()">恢复默认</div>
1415 1415
         </div>

+ 21 - 1
assets/views/incident/incidentDetail.html

@@ -424,13 +424,33 @@
424 424
                 <div class="col-xs-4 ui-label">
425 425
                     <div class="form-group">
426 426
                         <div class="padding-top-5">
427
-                            <label>关闭代码:</label>
427
+                            <label>处理结果:</label>
428 428
                             <div>
429 429
                                 <input class="form-control" ng-value="model.closecode.desc" type="text" disabled="disabled" />
430 430
                             </div>
431 431
                         </div>
432 432
                     </div>
433 433
                 </div>
434
+                <div class="col-xs-4 ui-label">
435
+                    <div class="form-group">
436
+                        <div class="padding-top-5">
437
+                            <label>处理人:</label>
438
+                            <div>
439
+                                <input class="form-control" ng-value="transferUser(model)" type="text" disabled="disabled" />
440
+                            </div>
441
+                        </div>
442
+                    </div>
443
+                </div>
444
+                <div class="col-xs-4 ui-label">
445
+                    <div class="form-group">
446
+                        <div class="padding-top-5">
447
+                            <label>协同人:</label>
448
+                            <div>
449
+                                <input class="form-control" ng-value="transferSynergetic(model.synergetic)" type="text" disabled="disabled" />
450
+                            </div>
451
+                        </div>
452
+                    </div>
453
+                </div>
434 454
                 <div class="col-xs-12 ui-divTextarea">
435 455
                     <div class="form-group">
436 456
                         <div class="padding-top-5">

+ 1 - 1
assets/views/incident/list.html

@@ -135,7 +135,7 @@
135 135
                             </div>
136 136
                         </div>
137 137
                         <div class="form-group incidentsearch wt_width">
138
-                            <div class="control-label pull-left margin-top-5">是否逾期:</div>
138
+                            <div class="control-label pull-left margin-top-5">逾期查询:</div>
139 139
                             <ui-select ng-change="selectTypeChange()" ng-model="searchkeys.selectType" class="pull-right selectzise wt_width1 wt_width3" theme="bootstrap">
140 140
                                 <ui-select-match placeholder="请选择">
141 141
                                     <span ng-bind="$select.selected.name"></span>

+ 2 - 2
assets/views/incident/tpl/detailincident.html

@@ -103,9 +103,9 @@
103 103
             </div>
104 104
         </div>
105 105
         <div class=" form-group col-md-4">
106
-            <label class=" control-label">关闭代码:</label>
106
+            <label class=" control-label">处理结果:</label>
107 107
             <div>
108
-                <input id="title" name="title" ng-model="entity.closecode.reason" class="form-control" placeholder="关闭代码" disabled="true" />
108
+                <input id="title" name="title" ng-model="entity.closecode.reason" class="form-control" placeholder="处理结果" disabled="true" />
109 109
             </div>
110 110
         </div>
111 111
         <div class=" form-group col-md-12">

+ 1 - 1
assets/views/incident/tpl/doing.tpl.html

@@ -24,7 +24,7 @@
24 24
     <div class="form-group incidentsearch" style="margin:0 auto;width: 300px;" ng-if="model.category.hasSimple != 1">
25 25
         <div class=" input-group" style="margin:8px 0 0;">
26 26
             <div class="control-label pull-left margin-top-5 margin-right-5">
27
-                <label class="demoincident"><span class="red">*</span>关闭代码</label>:</div>
27
+                <label class="demoincident"><span class="red">*</span>处理结果</label>:</div>
28 28
             <div class="pull-right">
29 29
                 <ui-select class="pull-left" style="width:220px" ng-model="postData.closecode" theme="bootstrap">
30 30
                     <ui-select-match placeholder="">

+ 22 - 23
assets/views/newOrderDirectly.html

@@ -22,13 +22,13 @@
22 22
             ></textarea>
23 23
           </div>
24 24
           <div class="c_item clearfix">
25
-            <label><span class="colorRed">*</span>关闭代码:</label>
25
+            <label><span class="colorRed">*</span>处理结果:</label>
26 26
             <ui-select
27 27
               class="c_item_value"
28 28
               ng-model="incidentModel.closecode"
29 29
               theme="bootstrap"
30 30
             >
31
-              <ui-select-match placeholder="请选择关闭代码">
31
+              <ui-select-match placeholder="请选择处理结果">
32 32
                 <span ng-bind="$select.selected.name"> </span>
33 33
               </ui-select-match>
34 34
               <ui-select-choices
@@ -72,7 +72,7 @@
72 72
       color: #c2c2c5;
73 73
       opacity: 1;
74 74
     }
75
-  
75
+
76 76
     .newOrder_content textarea::-webkit-input-placeholder {
77 77
       /* Chrome/Opera/Safari */
78 78
       color: #c2c2c5;
@@ -91,7 +91,7 @@
91 91
       color: #c2c2c5;
92 92
       opacity: 1;
93 93
     }
94
-  
94
+
95 95
     .newOrder_content .colorRed {
96 96
       color: red;
97 97
     }
@@ -110,7 +110,7 @@
110 110
       border-radius: 5px;
111 111
       color: #d8d8d8;
112 112
     }
113
-  
113
+
114 114
     .newOrder_content .fileupload-icon {
115 115
       font-size: 32px;
116 116
       position: absolute;
@@ -135,7 +135,7 @@
135 135
       opacity: 1;
136 136
       overflow: hidden;
137 137
     }
138
-  
138
+
139 139
     .newOrder_content .close:hover {
140 140
       opacity: 0.8;
141 141
     }
@@ -175,11 +175,11 @@
175 175
       flex: 1;
176 176
       text-align: right;
177 177
     }
178
-  
178
+
179 179
     .jry_positionFather .describe {
180 180
       width: 430px;
181 181
     }
182
-  
182
+
183 183
     .jry_positionChild {
184 184
       position: absolute;
185 185
       height: 20px;
@@ -187,17 +187,17 @@
187 187
       right: 14px;
188 188
       top: 50%;
189 189
     }
190
-  
190
+
191 191
     .jry_positionFather {
192 192
       position: relative;
193 193
       width: 100%;
194 194
     }
195
-  
195
+
196 196
     .jry_item {
197 197
       display: inline-block;
198 198
       margin-left: 5px;
199 199
     }
200
-  
200
+
201 201
     .jry_icon {
202 202
       position: absolute;
203 203
       right: 0;
@@ -211,7 +211,7 @@
211 211
       background-color: white;
212 212
       border-radius: 0 4px 4px 0;
213 213
     }
214
-  
214
+
215 215
     .DingW {
216 216
       position: relative;
217 217
       display: flex;
@@ -236,27 +236,27 @@
236 236
       color: #fff;
237 237
       background-color: #006bc0;
238 238
     }
239
-  
239
+
240 240
     .SJFL_ipt {
241 241
       width: 100%;
242 242
       height: 30px;
243 243
       border-radius: 4px 0 0 4px !important;
244 244
     }
245
-  
245
+
246 246
     .radio_left {
247 247
       width: 40px;
248 248
       display: flex;
249 249
       align-items: center;
250 250
       justify-content: center;
251 251
     }
252
-  
252
+
253 253
     .list {
254 254
       padding: 10px 0;
255 255
       border-bottom: 1px rgb(211, 211, 211) solid;
256 256
       border-top: 1px rgb(211, 211, 211) solid;
257 257
       display: flex;
258 258
     }
259
-  
259
+
260 260
     .noData {
261 261
       display: flex;
262 262
       width: 100%;
@@ -266,15 +266,15 @@
266 266
       border-bottom: none !important;
267 267
       padding-top: 30px !important;
268 268
     }
269
-  
269
+
270 270
     .noData img {
271 271
       width: 120px;
272 272
     }
273
-  
273
+
274 274
     .newOrder_content {
275 275
       display: flex;
276 276
     }
277
-  
277
+
278 278
     .leftList {
279 279
       width: 280px;
280 280
       background-color: rgb(245, 245, 245);
@@ -284,7 +284,7 @@
284 284
       border-radius: 4px;
285 285
       padding: 5px;
286 286
     }
287
-  
287
+
288 288
     .centerList {
289 289
       /* width: 778px; */
290 290
       flex: 1;
@@ -324,7 +324,7 @@
324 324
       line-height: 30px;
325 325
       margin: 0;
326 326
     }
327
-  
327
+
328 328
     .rightList {
329 329
       width: 280px;
330 330
       background-color: rgb(245, 245, 245);
@@ -334,7 +334,7 @@
334 334
       border-radius: 4px;
335 335
       padding: 5px;
336 336
     }
337
-  
337
+
338 338
     .head {
339 339
       color: #005395;
340 340
       font-size: 12px;
@@ -343,4 +343,3 @@
343 343
       border-bottom: 1px rgb(211, 211, 211) solid;
344 344
     }
345 345
   </style>
346
-  

+ 149 - 142
assets/views/newOrderSeimin.html

@@ -91,22 +91,22 @@
91 91
           >
92 92
           <ui-select
93 93
             class="c_item_value"
94
-            style="min-width: 190px"
94
+            style="min-width: 616px"
95 95
             ng-model="incidentModel.requester"
96 96
             theme="bootstrap"
97 97
             reset-search-input="false"
98 98
           >
99 99
             <ui-select-match allow-clear placeholder="请选择报修人">
100 100
               <span
101
-                ng-bind="$select.selected.name + '('+$select.selected.account+')'"
101
+                ng-bind="$select.selected.name + '('+$select.selected.account+')' + '('+($select.selected.dept ? $select.selected.dept.dept : '')+')'"
102 102
               ></span>
103 103
             </ui-select-match>
104 104
             <ui-select-choices
105 105
               repeat="item in jry_requesterData"
106
-              refresh="jry_requesterSearch($select.search)"
106
+              refresh="jry_requesterSearch($select.search,incidentModel.branch.id)"
107 107
             >
108 108
               <div
109
-                ng-bind-html="(item.name + '('+item.account+')') | highlight: $select.search"
109
+                ng-bind-html="(item.name + '('+item.account+')' + '('+(item.dept ? item.dept.dept : '')+')') | highlight: $select.search"
110 110
               ></div>
111 111
             </ui-select-choices>
112 112
           </ui-select>
@@ -252,153 +252,155 @@
252 252
             placeholder="请填写故障描述"
253 253
           ></textarea>
254 254
         </div>
255
-        <div class="c_item clearfix" style="width: 400px; height: 100px" ng-if="requestImgs.length">
256
-          <div class="col-xs-12 ui-repair-photos">
257
-            <div class="row  fontcolor-two margin-top-15">
258
-              <label><span class="colorRed">&nbsp;&nbsp;</span>图片上传:</label>
259
-              <div class="imgsBox">
260
-                <div class="fileupload pos-rlt" ng-repeat="(idx,img) in requestImgs" style="position: relative;">
261
-                  <img ng-src="{{attachmentAddressSplicing(img.relativeFilePath)}}"  style="max-height:300px;object-fit: contain;"
262
-                      class="pos-rlt" width=100%; height=100%; ng-click="previewNew('requestImgs', img.relativeFilePath, idx)" />
255
+        <ng-container ng-if="newOrderType !== 'edit'">
256
+          <div class="c_item clearfix" style="width: 400px; height: 100px" ng-if="requestImgs.length">
257
+            <div class="col-xs-12 ui-repair-photos">
258
+              <div class="row  fontcolor-two margin-top-15">
259
+                <label><span class="colorRed">&nbsp;&nbsp;</span>图片上传:</label>
260
+                <div class="imgsBox">
261
+                  <div class="fileupload pos-rlt" ng-repeat="(idx,img) in requestImgs" style="position: relative;">
262
+                    <img ng-src="{{attachmentAddressSplicing(img.relativeFilePath)}}"  style="max-height:300px;object-fit: contain;"
263
+                        class="pos-rlt" width=100%; height=100%; ng-click="previewNew('requestImgs', img.relativeFilePath, idx)" />
264
+                  </div>
263 265
                 </div>
266
+                <!-- <div class="col-md-12" style="padding:0;">
267
+                    <div class="imgsBox">
268
+                        <div class="fileupload pos-rlt" ng-repeat="(idx,img) in requestImgs" style="position: relative;">
269
+                            <img ng-src="{{attachmentAddressSplicing(img.relativeFilePath)}}"  style="max-height:300px;object-fit: contain;"
270
+                                class="pos-rlt" width=100%; height=100%; ng-click="preview('requestImgs', img.relativeFilePath, idx)" />
271
+                        </div>
272
+                    </div>
273
+                </div> -->
264 274
               </div>
265
-              <!-- <div class="col-md-12" style="padding:0;">
266
-                  <div class="imgsBox">
267
-                      <div class="fileupload pos-rlt" ng-repeat="(idx,img) in requestImgs" style="position: relative;">
268
-                          <img ng-src="{{attachmentAddressSplicing(img.relativeFilePath)}}"  style="max-height:300px;object-fit: contain;"
269
-                              class="pos-rlt" width=100%; height=100%; ng-click="preview('requestImgs', img.relativeFilePath, idx)" />
270
-                      </div>
271
-                  </div>
272
-              </div> -->
273
-            </div>
274
-        </div>
275
-        </div>
276
-        <div class="c_item clearfix" style="width: 400px; height: 100px" ng-if="!requestImgs.length">
277
-          <label><span class="colorRed">&nbsp;&nbsp;</span>图片上传:</label>
278
-          <div class="imgsBox">
279
-            <div
280
-              class="fileupload pos-rlt"
281
-              ng-repeat="(idx,imageSrc) in imgshows"
282
-              style="position: relative"
283
-            >
275
+          </div>
276
+          </div>
277
+          <div class="c_item clearfix" style="width: 400px; height: 100px" ng-if="!requestImgs.length">
278
+            <label><span class="colorRed">&nbsp;&nbsp;</span>图片上传:</label>
279
+            <div class="imgsBox">
284 280
               <div
285
-                style="
286
-                  border-radius: 5px;
287
-                  overflow: hidden;
288
-                  width: 100%;
289
-                  height: 100%;
290
-                "
281
+                class="fileupload pos-rlt"
282
+                ng-repeat="(idx,imageSrc) in imgshows"
283
+                style="position: relative"
291 284
               >
292
-                <img
293
-                  ng-src="{{imageSrc}}"
285
+                <div
294 286
                   style="
295
-                    max-width: 200px;
296
-                    max-height: 300px;
297
-                    margin: 0 auto;
298
-                    display: block;
287
+                    border-radius: 5px;
288
+                    overflow: hidden;
289
+                    width: 100%;
290
+                    height: 100%;
299 291
                   "
300
-                  class="pos-rlt"
301
-                  width="100%;"
302
-                  height="100%;"
303
-                  ng-click="preview(imageSrc,idx)"
304
-                />
292
+                >
293
+                  <img
294
+                    ng-src="{{imageSrc}}"
295
+                    style="
296
+                      max-width: 200px;
297
+                      max-height: 300px;
298
+                      margin: 0 auto;
299
+                      display: block;
300
+                    "
301
+                    class="pos-rlt"
302
+                    width="100%;"
303
+                    height="100%;"
304
+                    ng-click="preview(imageSrc,idx)"
305
+                  />
306
+                </div>
307
+                <i class="icon close" ng-click="uploadimg_del($index, imgshows)"
308
+                  >×</i
309
+                >
305 310
               </div>
306
-              <i class="icon close" ng-click="uploadimg_del($index, imgshows)"
307
-                >×</i
311
+              <div
312
+                id="upupgogo"
313
+                class="fileupload pos-rlt clear"
314
+                style="position: relative"
308 315
               >
316
+                <span class="icon ion-plus-round fileupload-icon">+</span>
317
+                <input
318
+                  type="file"
319
+                  onchange="angular.element(this).scope().change(this)"
320
+                  style="
321
+                    display: inline-block;
322
+                    width: 100%;
323
+                    height: 100%;
324
+                    opacity: 0;
325
+                  "
326
+                  class="upinp"
327
+                  uploader="uploader"
328
+                  accept="image/png,image/gif,image/jpeg,image/jpg"
329
+                  name="uploadedFile"
330
+                  nv-file-select=""
331
+                />
332
+              </div>
309 333
             </div>
310
-            <div
311
-              id="upupgogo"
312
-              class="fileupload pos-rlt clear"
313
-              style="position: relative"
314
-            >
315
-              <span class="icon ion-plus-round fileupload-icon">+</span>
334
+          </div>
335
+          <div class="c_item" style="width: 100%">
336
+            <label style="margin-right: 8px; cursor: pointer">
316 337
               <input
317
-                type="file"
318
-                onchange="angular.element(this).scope().change(this)"
319
-                style="
320
-                  display: inline-block;
321
-                  width: 100%;
322
-                  height: 100%;
323
-                  opacity: 0;
324
-                "
325
-                class="upinp"
326
-                uploader="uploader"
327
-                accept="image/png,image/gif,image/jpeg,image/jpg"
328
-                name="uploadedFile"
329
-                nv-file-select=""
338
+                type="radio"
339
+                name="assign"
340
+                ng-value="1"
341
+                ng-model="incidentModel.assign"
342
+                ng-change="assginChange()"
330 343
               />
331
-            </div>
344
+              派单给人
345
+            </label>
346
+            <label>
347
+              <input
348
+                type="radio"
349
+                name="assign"
350
+                ng-value="2"
351
+                ng-model="incidentModel.assign"
352
+                ng-change="assginChange()"
353
+              />
354
+              派单给组
355
+            </label>
332 356
           </div>
333
-        </div>
334
-        <div class="c_item" style="width: 100%">
335
-          <label style="margin-right: 8px; cursor: pointer">
336
-            <input
337
-              type="radio"
338
-              name="assign"
339
-              ng-value="1"
340
-              ng-model="incidentModel.assign"
341
-              ng-change="assginChange()"
342
-            />
343
-            派单给人
344
-          </label>
345
-          <label>
346
-            <input
347
-              type="radio"
348
-              name="assign"
349
-              ng-value="2"
350
-              ng-model="incidentModel.assign"
351
-              ng-change="assginChange()"
352
-            />
353
-            派单给组
354
-          </label>
355
-        </div>
356
-        <div class="c_item clearfix" ng-show="incidentModel.assign==1">
357
-          <label><span class="colorRed">*</span>处理人:</label>
358
-          <ui-select
359
-            class="c_item_value"
360
-            style="min-width: 300px"
361
-            ng-model="incidentModel.user"
362
-            theme="bootstrap"
363
-            ng-required="true"
364
-            reset-search-input="false"
365
-          >
366
-            <ui-select-match placeholder="请选择处理人">
367
-              <span ng-bind="$select.selected.name"></span>
368
-            </ui-select-match>
369
-            <ui-select-choices
370
-              repeat="item in jry_userData| filter:{$:$select.search}"
371
-              refresh="jry_userSearch($select.search)"
357
+          <div class="c_item clearfix" ng-show="incidentModel.assign==1">
358
+            <label><span class="colorRed">*</span>处理人:</label>
359
+            <ui-select
360
+              class="c_item_value"
361
+              style="min-width: 300px"
362
+              ng-model="incidentModel.user"
363
+              theme="bootstrap"
364
+              ng-required="true"
365
+              reset-search-input="false"
372 366
             >
373
-              <div
374
-                ng-bind-html="item.name | highlight: $select.search"
375
-              ></div>
376
-            </ui-select-choices>
377
-          </ui-select>
378
-        </div>
379
-        <div class="c_item clearfix" ng-show="incidentModel.assign==2">
380
-          <label><span class="colorRed">*</span>处理组:</label>
381
-          <ui-select
382
-            class="c_item_value"
383
-            style="min-width: 300px"
384
-            ng-model="incidentModel.group"
385
-            theme="bootstrap"
386
-            ng-required="true"
387
-            reset-search-input="false"
388
-          >
389
-            <ui-select-match placeholder="处理组">
390
-              <span ng-bind="$select.selected.groupName"></span>
391
-            </ui-select-match>
392
-            <ui-select-choices
393
-              repeat="item in jry_groupData| filter:{$:$select.search}"
394
-              refresh="jry_groupSearch($select.search)"
367
+              <ui-select-match placeholder="请选择处理人">
368
+                <span ng-bind="$select.selected.name"></span>
369
+              </ui-select-match>
370
+              <ui-select-choices
371
+                repeat="item in jry_userData| filter:{$:$select.search}"
372
+                refresh="jry_userSearch($select.search)"
373
+              >
374
+                <div
375
+                  ng-bind-html="item.name | highlight: $select.search"
376
+                ></div>
377
+              </ui-select-choices>
378
+            </ui-select>
379
+          </div>
380
+          <div class="c_item clearfix" ng-show="incidentModel.assign==2">
381
+            <label><span class="colorRed">*</span>处理组:</label>
382
+            <ui-select
383
+              class="c_item_value"
384
+              style="min-width: 300px"
385
+              ng-model="incidentModel.group"
386
+              theme="bootstrap"
387
+              ng-required="true"
388
+              reset-search-input="false"
395 389
             >
396
-              <div
397
-                ng-bind-html="item.groupName | highlight: $select.search"
398
-              ></div>
399
-            </ui-select-choices>
400
-          </ui-select>
401
-        </div>
390
+              <ui-select-match placeholder="处理组">
391
+                <span ng-bind="$select.selected.groupName"></span>
392
+              </ui-select-match>
393
+              <ui-select-choices
394
+                repeat="item in jry_groupData| filter:{$:$select.search}"
395
+                refresh="jry_groupSearch($select.search)"
396
+              >
397
+                <div
398
+                  ng-bind-html="item.groupName | highlight: $select.search"
399
+                ></div>
400
+              </ui-select-choices>
401
+            </ui-select>
402
+          </div>
403
+        </ng-container>
402 404
       </div>
403 405
     </div>
404 406
     <div class="rightList">
@@ -508,10 +510,15 @@
508 510
     </div>
509 511
   </div>
510 512
   <div class="modal-footer">
511
-    <label style="display: inline-flex;align-items:center;cursor: pointer;position: relative;top: 3px;right: 16px;"><input style="margin:0;" type="checkbox" ng-model="isBuildOrderAgagin">是否连续建单</label>
512
-    <button class="btn btn-primary" ng-click="build()">直接解决</button>
513
-    <button class="btn btn-primary" ng-click="buildAndAssign()">建单并派单</button>
514
-    <button class="btn btn-primary" ng-click="temporaryStorage()">暂存</button>
513
+    <ng-container ng-if="newOrderType !== 'edit'">
514
+      <label style="display: inline-flex;align-items:center;cursor: pointer;position: relative;top: 3px;right: 16px;"><input style="margin:0;" type="checkbox" ng-model="isBuildOrderAgagin">是否连续建单</label>
515
+      <button class="btn btn-primary" ng-click="build()">直接解决</button>
516
+      <button class="btn btn-primary" ng-click="buildAndAssign()">建单并派单</button>
517
+      <button class="btn btn-primary" ng-click="temporaryStorage()">暂存</button>
518
+    </ng-container>
519
+    <ng-container ng-if="newOrderType === 'edit'">
520
+      <button class="btn btn-primary" ng-click="editSave()">保存</button>
521
+    </ng-container>
515 522
     <button class="btn btn-primary btn-o" ng-click="cancel()">取消</button>
516 523
   </div>
517 524
 </div>
@@ -929,7 +936,7 @@
929 936
     float: left;
930 937
   }
931 938
   .centerList .c_item.bxr .ui-select-allow-clear {
932
-    width: 140px;
939
+    min-width: 140px;
933 940
     overflow: hidden;
934 941
     text-overflow: ellipsis;
935 942
     white-space: nowrap;

+ 6 - 6
assets/views/report/catergry.html

@@ -404,7 +404,7 @@
404 404
                             优先级
405 405
                         </th>
406 406
                         <th rowspan="1" colspan='5'>
407
-                            关闭代码
407
+                            处理结果
408 408
                         </th>
409 409
                     </tr>
410 410
                     <tr>
@@ -442,19 +442,19 @@
442 442
443 443
                         </th>
444 444
                         <th rowspan="1">
445
-                            关闭代码1
445
+                            处理结果1
446 446
                         </th>
447 447
                         <th rowspan="1">
448
-                            关闭代码2
448
+                            处理结果2
449 449
                         </th>
450 450
                         <th rowspan="1">
451
-                            关闭代码3
451
+                            处理结果3
452 452
                         </th>
453 453
                         <th rowspan="1">
454
-                            关闭代码4
454
+                            处理结果4
455 455
                         </th>
456 456
                         <th rowspan="1">
457
-                            关闭代码5
457
+                            处理结果5
458 458
                         </th>
459 459
                     </tr>
460 460
                 </thread>

+ 19 - 7
assets/views/report/charging.html

@@ -52,7 +52,7 @@
52 52
             <div class="row" style="padding-right: 0px !important;">
53 53
                 <form class="col-xs-12 col-sm-12 form-inline schesearchsize">
54 54
                     <div class="col-xs-12 col-sm-12">
55
-                        <span class="panel-title text-dark">日期选择:</span>
55
+                        <span class="panel-title text-dark">日期选择</span>
56 56
                         <div class="form-group">
57 57
                             <input type="text" class="form-control" datepicker-popuptime="yyyy-MM-dd" ng-model="parameters.paramDateFrom" max-date="parameters.paramDateTo" is-open="startOpened" hour-time=true ng-init="startOpened = false" show-button-bar="false" ng-click="startOpen($event)"
58 58
                             />
@@ -104,12 +104,24 @@
104 104
                             </div>
105 105
                         </div>
106 106
                         <div class="form-group">
107
-                            <span class="panel-title text-dark pull-left">计费:</span>
107
+                            <span class="panel-title text-dark pull-left">发放金额:</span>
108 108
                             <div class="pull-right" style="width:158px">
109 109
                                 <input class="form-control" style="border-radius: 4px 0px 0px 4px !important" type="number" min="0" max="1000000000" ng-minlength="1" ng-maxlength="1000" ng-model="allMoney">
110 110
                             </div>
111 111
                         </div>
112
-                        
112
+                        <div class="form-group">
113
+                            <div class="panel-title text-dark pull-left">排除人员:</div>
114
+                            <ui-select class="pull-right" ng-model="parameters.userIds" theme="bootstrap" multiple style="width: 500px;">
115
+                                <ui-select-match placeholder="请选择排除人员">
116
+                                    {{$item.name}}
117
+                                </ui-select-match>
118
+                                <ui-select-choices repeat="item in userList"
119
+                                    refresh="onChangehandling($select.search)">
120
+                                    <div ng-bind-html="item.name | highlight: $select.search"></div>
121
+                                </ui-select-choices>
122
+                            </ui-select>
123
+                        </div>
124
+
113 125
                         <div class="form-group pull-right">
114 126
                             <div class="input-group">
115 127
                                 <div class="form-group margin-right-5">
@@ -136,10 +148,10 @@
136 148
                                 <thread>
137 149
                                     <tr class="grayground incidentsearchsize">
138 150
                                         <th ng-class="header.thclass" style="text-align: center;">处理人</th>
139
-                                        <th ng-class="header.thclass" style="text-align: center;">事件数(条)</th>
140
-                                        <th ng-class="header.thclass" style="text-align: center;">工</th>
141
-                                        <th ng-class="header.thclass" style="text-align: center;">工时占比</th>
142
-                                        <th ng-class="header.thclass" style="text-align: center;">计费(元)</th>
151
+                                        <th ng-class="header.thclass" style="text-align: center;">工单数</th>
152
+                                        <th ng-class="header.thclass" style="text-align: center;">工</th>
153
+                                        <th ng-class="header.thclass" style="text-align: center;">占比</th>
154
+                                        <th ng-class="header.thclass" style="text-align: center;">获得金额</th>
143 155
                                     </tr>
144 156
                                 </thread>
145 157
                                 <tbody class="tbody-hover">

+ 1 - 1
assets/views/system/processdesign/incidentplan/closecode.html

@@ -1,7 +1,7 @@
1 1
 <section id="page-title">
2 2
     <div class="row">
3 3
         <div class="col-sm-8">
4
-            <h1 class="mainTitle">事件关闭代码设置</h1><span class="mainDescription">事件关闭代码设置,可对事件关闭代码进行修改,新增,删除</span></div>
4
+            <h1 class="mainTitle">事件处理结果设置</h1><span class="mainDescription">事件处理结果设置,可对事件处理结果进行修改,新增,删除</span></div>
5 5
     </div>
6 6
 </section>
7 7
 <div ng-controller="incidentcloseCtrl">

+ 6 - 6
assets/views/system/processdesign/incidentplan/incidentSetUp.html

@@ -1173,10 +1173,10 @@
1173 1173
                     </div>
1174 1174
                 </div>
1175 1175
                 <!-- 事件来源结束 -->
1176
-                <!-- 关闭代码开始 -->
1177
-                <div ng-if="leftListName=='关闭代码'">
1176
+                <!-- 处理结果开始 -->
1177
+                <div ng-if="leftListName=='处理结果'">
1178 1178
                     <div class="col-xs-4">
1179
-                        <div class="contentName col-xs-12">关闭代码</div>
1179
+                        <div class="contentName col-xs-12">处理结果</div>
1180 1180
                         <div class="col-xs-12" ng-repeat="v in incident_closecodeData">
1181 1181
                             <input class="form-control inputcolor emergencyIptSize" style="border-color: #dedede;color: #93989e;" type="text" ng-model="v.value" placeholder="" />
1182 1182
                         </div>
@@ -1194,7 +1194,7 @@
1194 1194
                         </div>
1195 1195
                     </div>
1196 1196
                 </div>
1197
-                <!-- 关闭代码结束 -->
1197
+                <!-- 处理结果结束 -->
1198 1198
                 <!-- 事件状态开始 -->
1199 1199
                 <div ng-if="leftListName=='事件状态'">
1200 1200
                     <div class="col-xs-4">
@@ -1350,8 +1350,8 @@
1350 1350
             <div class="btn btn_search" ng-click="incident_sourceSave()">保存</div>
1351 1351
             <div class="btn btn_other" ng-click="incident_sourceReturn()">恢复默认</div>
1352 1352
         </div>
1353
-        <!-- 关闭代码 -->
1354
-        <div class="col-xs-12 btn_box" ng-if="leftListName=='关闭代码'&&bianji">
1353
+        <!-- 处理结果 -->
1354
+        <div class="col-xs-12 btn_box" ng-if="leftListName=='处理结果'&&bianji">
1355 1355
             <div class="btn btn_search" ng-click="incident_closecodeSave()">保存</div>
1356 1356
             <div class="btn btn_other" ng-click="incident_closecodeReturn()">恢复默认</div>
1357 1357
         </div>

+ 2 - 2
assets/views/system/processdesign/knowledgedesign/system_1/processdesign/incidentplan/closecode.html

@@ -1,5 +1,5 @@
1 1
 
2
-<section id="page-title"><div class="row"><div class="col-sm-8"><h1 class="mainTitle">事件关闭代码设置</h1><span class="mainDescription">事件关闭代码设置,可对事件关闭代码进行修改,新增,删除</span></div></div></section>
2
+<section id="page-title"><div class="row"><div class="col-sm-8"><h1 class="mainTitle">事件处理结果设置</h1><span class="mainDescription">事件处理结果设置,可对事件处理结果进行修改,新增,删除</span></div></div></section>
3 3
 <div ng-controller="incidentcloseCtrl">
4 4
   <div class="row margin-top-10 margin-bottom-10">
5 5
     <div class="col-xs-12">
@@ -10,7 +10,7 @@
10 10
     </div>
11 11
   </div>
12 12
   </div>
13
- 
13
+
14 14
   <div ui-i18n="{{lang}}">
15 15
         <div id="grid1" ui-grid="gridOptions" ui-grid-pagination ui-grid-edit external-scopes="$scope" ui-grid-cellNav ui-grid-resize-columns ui-grid-selection class="grid"></div>
16 16
    </div>

+ 7 - 7
assets/views/system/processdesign/knowledgedesign/system_1/tpl/systemclose.html

@@ -1,28 +1,28 @@
1 1
 <div class="modal-header bg-primary" >
2 2
     <button type="button" class="close" ng-click="cancel()">×</button>
3
-    <i class="fa fa-inbox"></i><span class="label label-tag">关闭代码设置</span>
3
+    <i class="fa fa-inbox"></i><span class="label label-tag">处理结果设置</span>
4 4
 </div>
5 5
 <div class="modal-body">
6 6
     <div class="well well-lg"><br/>
7 7
       <div class="row form-group">
8
-        <label class="col-md-3 col-md-offset-1 control-label" for="code">关闭代码:</label>
8
+        <label class="col-md-3 col-md-offset-1 control-label" for="code">处理结果:</label>
9 9
         <div class="col-md-7">
10
-          <input  id="title" name="code" class="form-control"  ng-model="closedata.code" placeholder="关闭代码" />
10
+          <input  id="title" name="code" class="form-control"  ng-model="closedata.code" placeholder="处理结果" />
11 11
         </div>
12
-      </div>  
12
+      </div>
13 13
       <div class="row form-group">
14 14
         <label class="col-md-3 col-md-offset-1 control-label" for="reason">关闭原因:</label>
15 15
         <div class="col-md-7">
16 16
           <input  class="form-control" id="reason" name="reason" ng-model="closedata.reason"   placeholder="关闭原因" />
17
-        </div> 
17
+        </div>
18 18
       </div>
19 19
       <div class="row form-group">
20 20
         <label class="col-md-3 col-md-offset-1 control-label" for="type">关闭原因简写:</label>
21 21
         <div class="col-md-7">
22 22
           <input  class="form-control" id="type" name="type" class="form-control" ng-model="closedata.type" placeholder="关闭原因简写" />
23
-        </div> 
23
+        </div>
24 24
       </div>
25
-    </div> 
25
+    </div>
26 26
     <div class="panel-footer text-center">
27 27
         <a ng-click="savercode(closedata)"   data-dismiss="modal" class="btn btn-primary">保存</a>
28 28
         <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">取消</button>

+ 7 - 7
assets/views/system/tpl/systemclose.html

@@ -1,28 +1,28 @@
1 1
 <div class="modal-header bg-primary" >
2 2
     <button type="button" class="close" ng-click="cancel()">×</button>
3
-    <i class="fa fa-inbox"></i><span class="label label-tag">关闭代码设置</span>
3
+    <i class="fa fa-inbox"></i><span class="label label-tag">处理结果设置</span>
4 4
 </div>
5 5
 <div class="modal-body">
6 6
     <div class="well well-lg"><br/>
7 7
       <div class="row form-group">
8
-        <label class="col-md-3 col-md-offset-1 control-label" for="code">关闭代码:</label>
8
+        <label class="col-md-3 col-md-offset-1 control-label" for="code">处理结果:</label>
9 9
         <div class="col-md-7">
10
-          <input  id="title" name="code" class="form-control"  ng-model="closedata.code" placeholder="关闭代码" />
10
+          <input  id="title" name="code" class="form-control"  ng-model="closedata.code" placeholder="处理结果" />
11 11
         </div>
12
-      </div>  
12
+      </div>
13 13
       <div class="row form-group">
14 14
         <label class="col-md-3 col-md-offset-1 control-label" for="reason">关闭原因:</label>
15 15
         <div class="col-md-7">
16 16
           <input  class="form-control" id="reason" name="reason" ng-model="closedata.reason"   placeholder="关闭原因" />
17
-        </div> 
17
+        </div>
18 18
       </div>
19 19
       <div class="row form-group">
20 20
         <label class="col-md-3 col-md-offset-1 control-label" for="type">关闭原因简写:</label>
21 21
         <div class="col-md-7">
22 22
           <input  class="form-control" id="type" name="type" class="form-control" ng-model="closedata.type" placeholder="关闭原因简写" />
23
-        </div> 
23
+        </div>
24 24
       </div>
25
-    </div> 
25
+    </div>
26 26
     <div class="panel-footer text-center">
27 27
         <a ng-click="savercode(closedata)"   data-dismiss="modal" class="btn btn-primary">保存</a>
28 28
         <button class="btn btn-primary btn-o" ng-click="cancel()" translate="modal.button.CANCEL">取消</button>