|
|
@@ -11,7 +11,7 @@ define(['app/app'], function(app) {
|
|
|
$scope.setAddingUser = function (status) {
|
|
|
$scope.addingUser = status;
|
|
|
$scope.adding = false;
|
|
|
- };
|
|
|
+ };
|
|
|
$scope.userInfo = $rootScope.userInfo;
|
|
|
$scope.updateState = false;
|
|
|
// 获取企业信息
|
|
|
@@ -329,7 +329,19 @@ define(['app/app'], function(app) {
|
|
|
}
|
|
|
});
|
|
|
};
|
|
|
- }]);
|
|
|
+
|
|
|
+ $scope.inSelect = false;
|
|
|
+ $scope.setInSelect = function (status) {
|
|
|
+ $scope.inSelect = status;
|
|
|
+ }
|
|
|
+ $(document).on("click",function(){
|
|
|
+ $scope.$apply(function(){
|
|
|
+ if (!$scope.inSelect) {
|
|
|
+ $scope.setAdding(false);
|
|
|
+ }
|
|
|
+ })
|
|
|
+ })
|
|
|
+ }]);
|
|
|
|
|
|
/*
|
|
|
* 绑定用户到企业
|