Browse Source

审核功能

seimin 2 years ago
parent
commit
db6dd3fedc

+ 88 - 5
assets/js/controllers/customform/customformCtrl.js

@@ -21916,6 +21916,9 @@ appFormly.controller("CustomformCtrl", [
21916
             } else {
21916
             } else {
21917
               console.log($scope.formData.url, "zzzz");
21917
               console.log($scope.formData.url, "zzzz");
21918
               var integralMechanism = sessionStorage.getItem('integralMechanism');
21918
               var integralMechanism = sessionStorage.getItem('integralMechanism');
21919
+              let integralRoles = [];
21920
+              let currentUserRoles = [];
21921
+              let intersection = [];
21919
               switch ($scope.formData.url) {
21922
               switch ($scope.formData.url) {
21920
                 case "start":
21923
                 case "start":
21921
                   vm.model["initUser"] = $rootScope.user.id;
21924
                   vm.model["initUser"] = $rootScope.user.id;
@@ -21998,13 +22001,21 @@ appFormly.controller("CustomformCtrl", [
21998
                   }
22001
                   }
21999
                   // --------------------------- start----------------------------------------
22002
                   // --------------------------- start----------------------------------------
22000
                   // 积分机制,直接处理
22003
                   // 积分机制,直接处理
22001
-                  if(vm.model.start_code == "close"&&(integralMechanism == 1 || (integralMechanism == 2 && $rootScope.user.userType.value == 2))){
22004
+                  // let integralRoles = [];
22005
+                  // let currentUserRoles = [];
22006
+                  // let intersection = [];
22007
+                  if(integralMechanism == 1){
22008
+                    integralRoles = sessionStorage.getItem("integralRole") ? sessionStorage.getItem("integralRole").split(',') : [];
22009
+                    currentUserRoles = $rootScope.user.role ? $rootScope.user.role.map(v=>String(v.id)) : [];
22010
+                    intersection = integralRoles.filter(function (val) { return currentUserRoles.indexOf(val) > -1 })
22011
+                  }
22012
+                  if(vm.model.start_code == "close"&&((integralMechanism == 1 && intersection.length) || (integralMechanism == 2 && $rootScope.user.userType.value == 2))){
22002
                     $modal.open({
22013
                     $modal.open({
22003
                       templateUrl: 'assets/views/incident/tpl/toIntegralMechanism.tpl.html',
22014
                       templateUrl: 'assets/views/incident/tpl/toIntegralMechanism.tpl.html',
22004
                       controller: function ($scope, $modalInstance, api_bpm_domain, incidentData, currentUserId, Alert, api_user_data,api_wechatfile,scope,api_bpm_data) {
22015
                       controller: function ($scope, $modalInstance, api_bpm_domain, incidentData, currentUserId, Alert, api_user_data,api_wechatfile,scope,api_bpm_data) {
22005
                           console.log(incidentData,currentUserId);
22016
                           console.log(incidentData,currentUserId);
22006
                           $scope.flag = false;
22017
                           $scope.flag = false;
22007
-                          $scope.complexityConfirm = {complexity:null,updateReason:''};
22018
+                          $scope.complexityConfirm = {complexity:null,updateReason:'', auditor: undefined};
22008
                           $scope.complexityFn = function(category){
22019
                           $scope.complexityFn = function(category){
22009
                             if(category.complexity){
22020
                             if(category.complexity){
22010
                               return category.complexity.value;
22021
                               return category.complexity.value;
@@ -22026,6 +22037,25 @@ appFormly.controller("CustomformCtrl", [
22026
                               })
22037
                               })
22027
                             }
22038
                             }
22028
                           })
22039
                           })
22040
+                          $scope.onChangehandling = function(key = ''){
22041
+                            api_user_data.fetchDataList('user', {
22042
+                              "idx": 0,
22043
+                              "sum": 9999,
22044
+                              "user": {
22045
+                                  "name": key,
22046
+                                  'selectType': "pinyin_qs",
22047
+                                  "roledata": { rolecode: "incident manager" }
22048
+                              }
22049
+                            }).then(function(response) {
22050
+                              if (response) {
22051
+                                  if (response.status = 200) {
22052
+                                      $scope.auditors = response.list;
22053
+                                  }
22054
+                              }
22055
+                            })
22056
+                          }
22057
+                          $scope.auditors = [];
22058
+                          $scope.onChangehandling();
22029
                           $scope.onChangeComplexity = function(item){
22059
                           $scope.onChangeComplexity = function(item){
22030
                             
22060
                             
22031
                           }
22061
                           }
@@ -22038,6 +22068,14 @@ appFormly.controller("CustomformCtrl", [
22038
                                   });
22068
                                   });
22039
                                   return;
22069
                                   return;
22040
                               }
22070
                               }
22071
+                              if (!$scope.complexityConfirm.auditor){
22072
+                                  Alert.swal({
22073
+                                      title: "操作失败",
22074
+                                      text: "请选择审核人!",
22075
+                                      type: "error"
22076
+                                  });
22077
+                                  return;
22078
+                              }
22041
                               if ($scope.complexityConfirm.complexity.value != $scope.complexity&&!$scope.complexityConfirm.updateReason.trim()){
22079
                               if ($scope.complexityConfirm.complexity.value != $scope.complexity&&!$scope.complexityConfirm.updateReason.trim()){
22042
                                   Alert.swal({
22080
                                   Alert.swal({
22043
                                       title: "操作失败",
22081
                                       title: "操作失败",
@@ -22122,7 +22160,15 @@ appFormly.controller("CustomformCtrl", [
22122
                             }
22160
                             }
22123
                           }
22161
                           }
22124
                         }
22162
                         }
22125
-                        if(vm.model.start_code == "close"&&(integralMechanism == 1 || (integralMechanism == 2 && $rootScope.user.userType.value == 2))){
22163
+                        let integralRoles = [];
22164
+                        let currentUserRoles = [];
22165
+                        let intersection = [];
22166
+                        if(integralMechanism == 1){
22167
+                          integralRoles = sessionStorage.getItem("integralRole") ? sessionStorage.getItem("integralRole").split(',') : [];
22168
+                          currentUserRoles = $rootScope.user.role ? $rootScope.user.role.map(v=>String(v.id)) : [];
22169
+                          intersection = integralRoles.filter(function (val) { return currentUserRoles.indexOf(val) > -1 })
22170
+                        }
22171
+                        if(vm.model.start_code == "close"&&((integralMechanism == 1 && intersection.length) || (integralMechanism == 2 && $rootScope.user.userType.value == 2))){
22126
                           api_wechatfile.getDictionary({"key":"incident_integral_state","type":"list"}).then(function(res){
22172
                           api_wechatfile.getDictionary({"key":"incident_integral_state","type":"list"}).then(function(res){
22127
                             var auditState = res.find(v=>v.value == 0);
22173
                             var auditState = res.find(v=>v.value == 0);
22128
                             var postData = { 
22174
                             var postData = { 
@@ -22134,6 +22180,7 @@ appFormly.controller("CustomformCtrl", [
22134
                                 sourceScore:$scope.complexity,
22180
                                 sourceScore:$scope.complexity,
22135
                                 currentScore:$scope.complexityConfirm.complexity.value,
22181
                                 currentScore:$scope.complexityConfirm.complexity.value,
22136
                                 updateReason:$scope.complexityConfirm.updateReason.trim() || undefined,
22182
                                 updateReason:$scope.complexityConfirm.updateReason.trim() || undefined,
22183
+                                auditUser: $scope.complexityConfirm.auditor.id
22137
                               }
22184
                               }
22138
                             }
22185
                             }
22139
                             console.log(postData)
22186
                             console.log(postData)
@@ -22222,13 +22269,21 @@ appFormly.controller("CustomformCtrl", [
22222
                   }
22269
                   }
22223
                   console.log(vm);
22270
                   console.log(vm);
22224
                   // 积分机制,事件状态是“处理中”
22271
                   // 积分机制,事件状态是“处理中”
22225
-                  if($scope.formData.name === 'handlerform'&&(integralMechanism == 1 || (integralMechanism == 2 && $rootScope.user.userType.value == 2))){
22272
+                  // let integralRoles = [];
22273
+                  // let currentUserRoles = [];
22274
+                  // let intersection = [];
22275
+                  if(integralMechanism == 1){
22276
+                    integralRoles = sessionStorage.getItem("integralRole") ? sessionStorage.getItem("integralRole").split(',') : [];
22277
+                    currentUserRoles = $rootScope.user.role ? $rootScope.user.role.map(v=>String(v.id)) : [];
22278
+                    intersection = integralRoles.filter(function (val) { return currentUserRoles.indexOf(val) > -1 })
22279
+                  }
22280
+                  if($scope.formData.name === 'handlerform'&&((integralMechanism == 1 && intersection.length) || (integralMechanism == 2 && $rootScope.user.userType.value == 2))){
22226
                       $modal.open({
22281
                       $modal.open({
22227
                         templateUrl: 'assets/views/incident/tpl/toIntegralMechanism.tpl.html',
22282
                         templateUrl: 'assets/views/incident/tpl/toIntegralMechanism.tpl.html',
22228
                         controller: function ($scope, $modalInstance, api_bpm_domain, incidentData, currentUserId, Alert, api_user_data,api_wechatfile,scope,api_bpm_data) {
22283
                         controller: function ($scope, $modalInstance, api_bpm_domain, incidentData, currentUserId, Alert, api_user_data,api_wechatfile,scope,api_bpm_data) {
22229
                             console.log(incidentData,currentUserId);
22284
                             console.log(incidentData,currentUserId);
22230
                             $scope.flag = true;
22285
                             $scope.flag = true;
22231
-                            $scope.complexityConfirm = {complexity:null,updateReason:''};
22286
+                            $scope.complexityConfirm = {complexity:null,updateReason:'', auditor: undefined};
22232
                             $scope.complexityFn = function(category){
22287
                             $scope.complexityFn = function(category){
22233
                               if(category.complexity){
22288
                               if(category.complexity){
22234
                                 return category.complexity.value;
22289
                                 return category.complexity.value;
@@ -22250,6 +22305,25 @@ appFormly.controller("CustomformCtrl", [
22250
                                 })
22305
                                 })
22251
                               }
22306
                               }
22252
                             })
22307
                             })
22308
+                            $scope.onChangehandling = function(key = ''){
22309
+                              api_user_data.fetchDataList('user', {
22310
+                                "idx": 0,
22311
+                                "sum": 9999,
22312
+                                "user": {
22313
+                                    "name": key,
22314
+                                    'selectType': "pinyin_qs",
22315
+                                    "roledata": { rolecode: "incident manager" }
22316
+                                }
22317
+                              }).then(function(response) {
22318
+                                if (response) {
22319
+                                    if (response.status = 200) {
22320
+                                        $scope.auditors = response.list;
22321
+                                    }
22322
+                                }
22323
+                              })
22324
+                            }
22325
+                            $scope.auditors = [];
22326
+                            $scope.onChangehandling();
22253
                             $scope.onChangeComplexity = function(item){
22327
                             $scope.onChangeComplexity = function(item){
22254
                               if($scope.complexityConfirm.complexity.value == $scope.complexity){
22328
                               if($scope.complexityConfirm.complexity.value == $scope.complexity){
22255
                                 $scope.complexityConfirm.updateReason = '';
22329
                                 $scope.complexityConfirm.updateReason = '';
@@ -22264,6 +22338,14 @@ appFormly.controller("CustomformCtrl", [
22264
                                     });
22338
                                     });
22265
                                     return;
22339
                                     return;
22266
                                 }
22340
                                 }
22341
+                                if (!$scope.complexityConfirm.auditor){
22342
+                                    Alert.swal({
22343
+                                        title: "操作失败",
22344
+                                        text: "请选择审核人!",
22345
+                                        type: "error"
22346
+                                    });
22347
+                                    return;
22348
+                                }
22267
                                 if ($scope.complexityConfirm.complexity.value != $scope.complexity&&!$scope.complexityConfirm.updateReason.trim()){
22349
                                 if ($scope.complexityConfirm.complexity.value != $scope.complexity&&!$scope.complexityConfirm.updateReason.trim()){
22268
                                     Alert.swal({
22350
                                     Alert.swal({
22269
                                         title: "操作失败",
22351
                                         title: "操作失败",
@@ -22284,6 +22366,7 @@ appFormly.controller("CustomformCtrl", [
22284
                                       sourceScore:$scope.complexity,
22366
                                       sourceScore:$scope.complexity,
22285
                                       currentScore:$scope.complexityConfirm.complexity.value,
22367
                                       currentScore:$scope.complexityConfirm.complexity.value,
22286
                                       updateReason:$scope.complexityConfirm.updateReason.trim() || undefined,
22368
                                       updateReason:$scope.complexityConfirm.updateReason.trim() || undefined,
22369
+                                      auditUser: $scope.complexityConfirm.auditor.id
22287
                                     }
22370
                                     }
22288
                                   }
22371
                                   }
22289
                                   console.log(postData)
22372
                                   console.log(postData)

File diff suppressed because it is too large
+ 62 - 296
assets/js/controllers/inspect/integralCtrl.js


+ 3 - 0
assets/js/controllers/loginCtrl.js

@@ -43,6 +43,9 @@ app.controller('LoginCtrl', ['$rootScope', '$scope', '$state', '$translate', '$l
43
                               case "integralMechanism": //积分机制
43
                               case "integralMechanism": //积分机制
44
                                 sessionStorage.setItem("integralMechanism", v.valueconfig);
44
                                 sessionStorage.setItem("integralMechanism", v.valueconfig);
45
                                 break;
45
                                 break;
46
+                              case "integralRole": //积分控制角色
47
+                                sessionStorage.setItem("integralRole", v.valueconfig);
48
+                                break;
46
                             }
49
                             }
47
                         });
50
                         });
48
                     }
51
                     }

+ 16 - 0
assets/views/incident/tpl/toIntegralMechanism.tpl.html

@@ -22,6 +22,22 @@
22
             </div>
22
             </div>
23
         </div>
23
         </div>
24
     </div>
24
     </div>
25
+    <div class="form-group incidentsearch" style="margin:0 auto;width: 300px;">
26
+        <div class="input-group" style="margin:8px 0 0;">
27
+            <div class="control-label pull-left margin-top-5 margin-right-5">
28
+                <label class="demoincident">审核人<span class="red">*</span></label>:</div>
29
+            <div class="pull-right">
30
+                <ui-select class="pull-left" style="width:220px" ng-model="complexityConfirm.auditor" theme="bootstrap">
31
+                    <ui-select-match placeholder="">
32
+                        {{$select.selected.name}}
33
+                    </ui-select-match>
34
+                    <ui-select-choices repeat="item in auditors | filter:{$:$select.search}" refresh="onChangehandling($select.search)">
35
+                        <div ng-bind-html="item.name | highlight: $select.search"></div>
36
+                    </ui-select-choices>
37
+                </ui-select>
38
+            </div>
39
+        </div>
40
+    </div>
25
     <div class="form-group incidentsearch" style="margin:0 auto;width: 300px;" ng-if="complexityConfirm.complexity.value != complexity">
41
     <div class="form-group incidentsearch" style="margin:0 auto;width: 300px;" ng-if="complexityConfirm.complexity.value != complexity">
26
         <div class="input-group" style="margin:8px 0 0;">
42
         <div class="input-group" style="margin:8px 0 0;">
27
             <div class="control-label pull-left margin-top-5 margin-right-5">
43
             <div class="control-label pull-left margin-top-5 margin-right-5">

+ 63 - 138
assets/views/inspect/integral.html

@@ -1,8 +1,4 @@
1
 <style type="text/css">
1
 <style type="text/css">
2
-  .incidentsearch {
3
-    width: 20% !important;
4
-    margin-right: 16px;
5
-  }
6
   .wt_width5 {
2
   .wt_width5 {
7
     width: 60%;
3
     width: 60%;
8
     border-color: #dedede;
4
     border-color: #dedede;
@@ -11,11 +7,6 @@
11
     border-radius: 2px !important;
7
     border-radius: 2px !important;
12
   }
8
   }
13
 
9
 
14
-  .iptSize {
15
-    width: 60% !important;
16
-    height: 28px !important;
17
-  }
18
-
19
   .tree-control .tree-input {
10
   .tree-control .tree-input {
20
     min-height: 28px !important;
11
     min-height: 28px !important;
21
   }
12
   }
@@ -23,21 +14,22 @@
23
   .searchBtnBox > .btn {
14
   .searchBtnBox > .btn {
24
     margin: 0 8px 10px 0;
15
     margin: 0 8px 10px 0;
25
   }
16
   }
17
+  .selectzise {
18
+    width: 160px;
19
+  }
20
+  .wt_width3 {
21
+      width: 160px;
22
+      height: 28px !important;
23
+      border-radius: 2px !important;
24
+  }
26
 </style>
25
 </style>
27
 <div ng-controller="integralCtrl">
26
 <div ng-controller="integralCtrl">
28
-  <!-- <section id="page-title">
29
-        <div class="row">
30
-            <div class="col-sm-8">
31
-                <h1 class="mainTitle">积分管理</h1><span class="mainDescription">积分管理列表,可对巡检进行修改,新增,删除</span></div>
32
-        </div>
33
-    </section> -->
34
   <section id="page-title">
27
   <section id="page-title">
35
     <div class="row">
28
     <div class="row">
36
-      <!-- <i class="iconfont icon-bianji pull-left"></i> -->
37
       <div class="col-sm-8">
29
       <div class="col-sm-8">
38
         <h1 class="mainTitle">
30
         <h1 class="mainTitle">
39
           事件审核管理<i
31
           事件审核管理<i
40
-            tooltip="事件审核管理列表,可对巡检进行修改"
32
+            tooltip="事件审核管理列表"
41
             tooltip-placement="right"
33
             tooltip-placement="right"
42
             class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"
34
             class="fa ti-help-alt margin-left-10 fontcolor-five pointfont"
43
           ></i>
35
           ></i>
@@ -45,83 +37,17 @@
45
       </div>
37
       </div>
46
     </div>
38
     </div>
47
   </section>
39
   </section>
48
-  <!-- <div class="col-xs-2 col-md-2 col-sm-2">
49
-        <h5 class="over-title margin-bottom-15"><i class="fa fa-building-o" /><span class="text-bold">巡检类型</span></h5>
50
-        <div>
51
-            <div class="row">
52
-                <div class="panel panel-white">
53
-                    <div class="panel-body">
54
-                        <div class="box-tree">
55
-                            <span ng-if="doing_async">...加载中...</span>
56
-                            <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" initial-selection="Granny Smith" icon-leaf="ti-file" icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
57
-                        </div>
58
-                    </div>
59
-                </div>
60
-            </div>
61
-        </div>
62
-    </div> -->
63
   <div class="schuback" id="searchid">
40
   <div class="schuback" id="searchid">
64
     <div class="row" style="padding-right: 0px !important">
41
     <div class="row" style="padding-right: 0px !important">
65
       <div class="col-xs-12">
42
       <div class="col-xs-12">
66
-        <div class="col-xs-10" style="padding-right: 0px !important">
43
+        <div class="col-xs-9" style="padding-right: 0px !important">
67
           <form class="form-inline incidentsearchsize">
44
           <form class="form-inline incidentsearchsize">
68
-            <!-- <div class="form-group incidentsearch">
69
-              <div>
70
-                <div class="control-label pull-left" style="padding-top: 4px">
71
-                  计划主题:
72
-                </div>
73
-                <input
74
-                  class="form-control pull-right inputcolor iptSize"
75
-                  style="border-color: #dedede; color: #93989e"
76
-                  type="text"
77
-                  ng-model="fileData.inspection.title"
78
-                  placeholder=""
79
-                />
80
-              </div>
81
-            </div>
82
-            <div class="form-group incidentsearch">
83
-              <div class="pull-left" style="padding-top: 4px">巡检范围:</div>
84
-              <div class="pull-right iptSize" style="display: inline">
85
-                <div>
86
-                  <multi-select-tree
87
-                    ng-model="inspecttype.type"
88
-                    data-input-model="my_data"
89
-                    data-output-model="inspectdata.type"
90
-                    theme="bootstrap"
91
-                    multi-select="false"
92
-                    data-default-label=""
93
-                    data-callback="onFilterCallback(item)"
94
-                    data-select-only-leafs="true"
95
-                    reset-search-input="false"
96
-                    data-trans-label="label"
97
-                    data-switch-view="false"
98
-                  ></multi-select-tree>
99
-                </div>
100
-              </div>
101
-            </div>
102
             <div class="form-group incidentsearch">
45
             <div class="form-group incidentsearch">
103
-              <div class="pull-left" style="padding-top: 4px">执行人:</div>
104
-              <ui-select
105
-                class="pull-right iptSize"
106
-                ng-model="fileData.inspection.executeUser"
107
-                theme="bootstrap"
108
-              >
109
-                <ui-select-match placeholder="">
110
-                  {{$select.selected.name}}
111
-                </ui-select-match>
112
-                <ui-select-choices repeat="item in executeUserData">
113
-                  <div
114
-                    ng-bind-html="item.name | highlight: $select.search"
115
-                  ></div>
116
-                </ui-select-choices>
117
-              </ui-select>
118
-            </div> -->
119
-            <div class="form-group incidentsearch wt_width">
120
               <div class="">
46
               <div class="">
121
                 <div class="control-label pull-left margin-top-5">
47
                 <div class="control-label pull-left margin-top-5">
122
                   登记时间:
48
                   登记时间:
123
                 </div>
49
                 </div>
124
-                <input
50
+                <input style="margin-right:24px;width: 60%;"
125
                   type="text"
51
                   type="text"
126
                   class="incidentsearchsize wt_width5"
52
                   class="incidentsearchsize wt_width5"
127
                   datepicker-popuptime="yyyy-MM-dd"
53
                   datepicker-popuptime="yyyy-MM-dd"
@@ -136,10 +62,10 @@
136
                 />
62
                 />
137
               </div>
63
               </div>
138
             </div>
64
             </div>
139
-            <div class="form-group incidentsearch wt_width">
65
+            <div class="form-group incidentsearch">
140
               <div class="">
66
               <div class="">
141
                 <div class="control-label pull-left margin-top-5">至</div>
67
                 <div class="control-label pull-left margin-top-5">至</div>
142
-                <input
68
+                <input style="margin-right:24px;width: 60%;"
143
                   type="text"
69
                   type="text"
144
                   class="selectzise incidentsearchsize wt_width5"
70
                   class="selectzise incidentsearchsize wt_width5"
145
                   datepicker-popuptime="yyyy-MM-dd"
71
                   datepicker-popuptime="yyyy-MM-dd"
@@ -155,9 +81,9 @@
155
               </div>
81
               </div>
156
             </div>
82
             </div>
157
             <div class="form-group incidentsearch">
83
             <div class="form-group incidentsearch">
158
-              <div class="pull-left" style="padding-top: 4px">审核状态:</div>
159
-              <ui-select
160
-                class="pull-right iptSize"
84
+              <div class="control-label pull-left margin-top-5">审核状态:</div>
85
+              <ui-select style="margin-right:24px;width: 60%;"
86
+                class="pull-right iptSize wt_width1 wt_width3"
161
                 ng-model="fileData.incidentIntegral.auditState"
87
                 ng-model="fileData.incidentIntegral.auditState"
162
                 theme="bootstrap"
88
                 theme="bootstrap"
163
               >
89
               >
@@ -170,27 +96,57 @@
170
                   ></div>
96
                   ></div>
171
                 </ui-select-choices>
97
                 </ui-select-choices>
172
               </ui-select>
98
               </ui-select>
99
+              <button style="position:absolute;right:0;padding:4px;" ng-click="fileData.incidentIntegral.auditState = undefined" class="btn btn-default">
100
+                <span class="glyphicon glyphicon-trash"></span>
101
+              </button>
173
             </div>
102
             </div>
174
-            <div class="form-group incidentsearch" ng-if="isIncidentManager">
175
-              <div class="pull-left" style="padding-top: 4px">处理人:</div>
176
-              <ui-select
177
-                class="pull-right iptSize"
178
-                ng-model="fileData.incidentIntegral.handlerUser"
179
-                theme="bootstrap"
180
-              >
181
-                <ui-select-match placeholder="">
182
-                  {{$select.selected.name}}
183
-                </ui-select-match>
184
-                <ui-select-choices repeat="item in createUserData" refresh="getCreateUser($select.search)">
185
-                  <div
186
-                    ng-bind-html="item.name | highlight: $select.search"
187
-                  ></div>
188
-                </ui-select-choices>
189
-              </ui-select>
103
+            <div class="form-group incidentsearch">
104
+              <div class="selectuiSearch">
105
+                <div class="control-label pull-left margin-top-5">处理人:</div>
106
+                <ui-select style="margin-right:24px;width: 60%;"
107
+                  class="pull-right selectzise wt_width1 wt_width3"
108
+                  ng-model="fileData.incidentIntegral.handlerUser"
109
+                  theme="bootstrap"
110
+                >
111
+                  <ui-select-match placeholder="">
112
+                    {{$select.selected.name}}
113
+                  </ui-select-match>
114
+                  <ui-select-choices repeat="item in createUserData" refresh="getCreateUser($select.search)">
115
+                    <div
116
+                      ng-bind-html="(item.name + '(' + item.account + ')') | highlight: $select.search"
117
+                    ></div>
118
+                  </ui-select-choices>
119
+                </ui-select>
120
+                <button style="position:absolute;right:0;padding:4px;" ng-click="fileData.incidentIntegral.handlerUser = undefined" class="btn btn-default">
121
+                  <span class="glyphicon glyphicon-trash"></span>
122
+                </button>
123
+              </div>
124
+            </div>
125
+            <div class="form-group incidentsearch">
126
+              <div class="selectuiSearch">
127
+                <div class="control-label pull-left margin-top-5">审核人:</div>
128
+                <ui-select style="margin-right:24px;width: 60%;"
129
+                  class="pull-right selectzise wt_width1 wt_width3"
130
+                  ng-model="fileData.incidentIntegral.auditUser"
131
+                  theme="bootstrap"
132
+                >
133
+                  <ui-select-match placeholder="">
134
+                    {{$select.selected.name}}
135
+                  </ui-select-match>
136
+                  <ui-select-choices repeat="item in auditUsersData" refresh="getAuditUsers($select.search)">
137
+                    <div
138
+                      ng-bind-html="(item.name + '(' + item.account + ')') | highlight: $select.search"
139
+                    ></div>
140
+                  </ui-select-choices>
141
+                </ui-select>
142
+                <button style="position:absolute;right:0;padding:4px;" ng-click="fileData.incidentIntegral.auditUser = undefined" class="btn btn-default">
143
+                  <span class="glyphicon glyphicon-trash"></span>
144
+                </button>
145
+              </div>
190
             </div>
146
             </div>
191
           </form>
147
           </form>
192
         </div>
148
         </div>
193
-        <div class="col-xs-2">
149
+        <div class="col-xs-3">
194
           <div>
150
           <div>
195
             <!-- <div class="centerdiv-one"></div> -->
151
             <!-- <div class="centerdiv-one"></div> -->
196
             <div class="pull-left margin-top-10 searchBtnBox">
152
             <div class="pull-left margin-top-10 searchBtnBox">
@@ -243,37 +199,6 @@
243
     </div>
199
     </div>
244
   </div>
200
   </div>
245
   <div class="tableList" ui-i18n="{{lang}}">
201
   <div class="tableList" ui-i18n="{{lang}}">
246
-    <!-- <div class="col-xs-2 col-md-2 col-sm-2">
247
-            <h5 class="over-title margin-bottom-15"><i class="fa fa-building-o" /><span class="text-bold">巡检类型</span></h5>
248
-            <div>
249
-                <div class="row">
250
-                    <div class="panel panel-white">
251
-                        <div class="panel-body">
252
-                            <div class="box-tree">
253
-                                <span ng-if="doing_async">...加载中...</span>
254
-                                <abn-tree tree-data="my_data" tree-control="my_tree" on-select="my_tree_handler(branch)" expand-level="2" initial-selection="Granny Smith" icon-leaf="ti-file" icon-expand="ti-plus" icon-collapse="ti-minus"></abn-tree>
255
-                            </div>
256
-                        </div>
257
-                    </div>
258
-                </div>
259
-            </div>
260
-        </div> -->
261
-    <!-- <div class="col-xs-10"> -->
262
-
263
-    <!-- <div class="margin-bottom-10">
264
-            <a ladda="ldloading.expand_right" class="btn btn-primary" data-style="expand-right" ng-click="reload()">
265
-                <span translate="list.button.REFRESH">Refresh Data</span>
266
-                <i class="ti-reload" />
267
-            </a>
268
-            <button type="button" id="addData" class="btn btn-success" ng-click="addData()">
269
-                    <span translate="list.button.CREATE">Add Data</span>
270
-                    <i class="ti-plus"/>
271
-                </button>
272
-            <button type="button" id="removeData" class="btn btn-warning" ng-click="removeData()" ng-disabled="selected.items.length==0">
273
-                    <span translate=" list.button.REMOVE ">Remove First Row</span>
274
-                    <i class="ti-trash "/>
275
-                </button>
276
-        </div> -->
277
     <div class=" ">
202
     <div class=" ">
278
       <div
203
       <div
279
         id="grid1 "
204
         id="grid1 "