|
|
@@ -85,6 +85,8 @@ define(['app/app'], function(app) {
|
|
|
//弹出添加用户模态框
|
|
|
$scope.addExistUser = function () {
|
|
|
$scope.adding = false;
|
|
|
+ $scope.setAddingUser(false);
|
|
|
+ $scope.newUser = {};
|
|
|
var modalInstance = $modal.open({
|
|
|
animation: true,
|
|
|
templateUrl: $rootScope.rootPath +'/static/view/vendor/forstore/addExistUser.html',
|
|
|
@@ -106,7 +108,7 @@ define(['app/app'], function(app) {
|
|
|
*/
|
|
|
$scope.addUser = function () {
|
|
|
if (!$scope.userEmailSuccess || !$scope.userTelSuccess){
|
|
|
- toaster.pop('error', '未通过校验');
|
|
|
+ toaster.pop('error', '请填写完信息后提交');
|
|
|
return;
|
|
|
}
|
|
|
$scope.adding = true;
|