Commit f98b344c by lepdou

update

parent 9ed40da2
...@@ -27,6 +27,7 @@ role_module.controller('AppRoleController', ...@@ -27,6 +27,7 @@ role_module.controller('AppRoleController',
PermissionService.assign_master_role($scope.pageContext.appId, PermissionService.assign_master_role($scope.pageContext.appId,
$scope.toAssignMasterRoleUser) $scope.toAssignMasterRoleUser)
.then(function (result) { .then(function (result) {
toastr.success("添加成功");
$scope.appRoleUsers.masterUsers.push({userId: $scope.toAssignMasterRoleUser}); $scope.appRoleUsers.masterUsers.push({userId: $scope.toAssignMasterRoleUser});
}, function (result) { }, function (result) {
toastr.error(AppUtil.errorMsg(result), "添加失败"); toastr.error(AppUtil.errorMsg(result), "添加失败");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment