소스 검색

BUG修复

seimin 3 년 전
부모
커밋
801e818aa4
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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"){