seimin лет назад: 2
Родитель
Сommit
1ff7d08606
1 измененных файлов с 9 добавлено и 0 удалено
  1. 9 0
      assets/js/controllers/customform/customformCtrl.js

+ 9 - 0
assets/js/controllers/customform/customformCtrl.js

@@ -10996,6 +10996,9 @@ appFormly.config(function config(formlyConfigProvider) {
10996
                         if (key == "room") {
10996
                         if (key == "room") {
10997
                           item.templateOptions.options = list;
10997
                           item.templateOptions.options = list;
10998
                         }
10998
                         }
10999
+                        if (key == "area") {
11000
+                          item.templateOptions.options = list;
11001
+                        }
10999
                       }
11002
                       }
11000
                     });
11003
                     });
11001
                   });
11004
                   });
@@ -11270,7 +11273,13 @@ appFormly.config(function config(formlyConfigProvider) {
11270
                     $scope.$parent.$parent.$parent.model.incident.handlerUser.id;
11273
                     $scope.$parent.$parent.$parent.model.incident.handlerUser.id;
11271
                   $scope.options.model.id =
11274
                   $scope.options.model.id =
11272
                     $scope.$parent.$parent.$parent.model.incident.handlerUser.id;
11275
                     $scope.$parent.$parent.$parent.model.incident.handlerUser.id;
11276
+                }else{
11277
+                  $scope.$parent.$parent.$parent.model.assignee = null;
11278
+                  $scope.options.model.id = null;
11273
                 }
11279
                 }
11280
+              }else{
11281
+                $scope.$parent.$parent.$parent.model.assignee = null;
11282
+                $scope.options.model.id = null;
11274
               }
11283
               }
11275
             }
11284
             }
11276
             // 关闭事件页面满意度评价下拉框处理
11285
             // 关闭事件页面满意度评价下拉框处理