Commit 48def014 by yangfangfang

删除判断提示

parent e62987e1
...@@ -93,9 +93,14 @@ ...@@ -93,9 +93,14 @@
ToolService.showLoading(); ToolService.showLoading();
var deletePM = HttpService.deleteInfo("mng/auth/"+$scope.delInfo.id+"/delete"); var deletePM = HttpService.deleteInfo("mng/auth/"+$scope.delInfo.id+"/delete");
deletePM.then(function(){ deletePM.then(function(){
ToolService.showTips("删除成功");
ToolService.hideLoading(); ToolService.hideLoading();
$scope.query(); if(data){
ToolService.showTips("删除成功");
$scope.query();
}
else{
ToolService.showTips("该账号已激活,不支持删除,您可以在右侧操作区对账号进行停用。");
}
}); });
} }
$scope.sendEmailAgain = function(send){ $scope.sendEmailAgain = function(send){
......
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