Browse Source

BUG修复

seimin 3 years ago
parent
commit
801e818aa4
1 changed files with 3 additions and 1 deletions
  1. 3 1
      assets/js/controllers/customform/customformCtrl.js

+ 3 - 1
assets/js/controllers/customform/customformCtrl.js

@@ -9281,7 +9281,9 @@ appFormly.config(
9281 9281
                         console.log($scope,77777)
9282 9282
                         //处理人根据事件分类自动带入
9283 9283
                         if($scope.$parent.$parent.$parent.model.incident.handlerUser){
9284
-                            $scope.options.model.id = $scope.$parent.$parent.$parent.model.incident.handlerUser.id;
9284
+                            if($scope.$parent.$parent.$parent.model.incident.handlerUser.id){
9285
+                                $scope.options.model.id = $scope.$parent.$parent.$parent.model.incident.handlerUser.id;
9286
+                            }
9285 9287
                         }
9286 9288
                         // 关闭事件页面满意度评价下拉框处理
9287 9289
                         if($scope.options.templateOptions.onlyKey=="close_degree"){