@@ -12387,6 +12387,15 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
};
+ $scope.closeNewUser = function () {
+ $scope.newUser.userTel = ''
+ $scope.newUser.userEmail = ''
+ $scope.newUser.userName = ''
+ $scope.newUserForm.$setUntouched();
+ $scope.newUserForm.$setPristine();
+ $scope.adding = true;
+ }
+
/**
* 添加未注册用户
@@ -350,7 +350,7 @@
添加用户
</a>
<ul ng-show="adding != true" class="list-unstyle list-inline operator-menu2">
- <li><a ng-click="adding = true">添加未注册用户</a></li>
+ <li><a ng-click="closeNewUser()">添加未注册用户</a></li>
<li><a ng-click="addExistUser()">添加已注册用户</a></li>
</ul>
</div>