Commit 9a7340d6 authored by neo's avatar neo

[DEV] add handle for exception for 412

parent 773c78a3
...@@ -293,9 +293,17 @@ ...@@ -293,9 +293,17 @@
},1000); },1000);
} }
}).error(function (data) { }).error(function (data,header,config,status) {
$log.debug("generate all report may be some error"); if(status==412){
// taskError(_this); swal({
title: "warning!",
text: "报表提审中或审核通过",
type: "warning",
showCancelButton: true,
cancelButtonText: $translate.instant('No'),
closeOnCancel: true
});
}
}); });
} }
......
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