|
|
@@ -5779,7 +5779,7 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
|
|
|
/*
|
|
|
* 绑定用户到企业
|
|
|
*/
|
|
|
- app.controller('AddExistUserCtrl', ['$scope', '$modalInstance', 'FuzzySearch', 'AuthenticationService', function($scope, $modalInstance, FuzzySearch,AuthenticationService){
|
|
|
+ app.controller('AddExistUserCtrl', ['$scope', '$modalInstance', 'FuzzySearch', 'AuthenticationService', '$timeout', function($scope, $modalInstance, FuzzySearch, AuthenticationService, $timeout){
|
|
|
$scope.searching = false;
|
|
|
//根据输入的内容查找用户
|
|
|
$scope.searchUser = function(keyWord) {
|
|
|
@@ -5843,7 +5843,11 @@ app.controller('SaleSendCtrl', ['$scope', '$filter', 'SaleSend', 'ngTableParams'
|
|
|
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
});
|
|
|
+ $timeout(function() {
|
|
|
+ $modalInstance.close(true);
|
|
|
+ }, 500);
|
|
|
};
|
|
|
|
|
|
$scope.cancel = function () {
|