|
@@ -242,10 +242,7 @@ let zTreeOprObj = {
|
|
|
},
|
|
|
requestReport: function (params) {
|
|
|
let me = zTreeOprObj;
|
|
|
- // $("rptCanvas").css("cursor")
|
|
|
- let canvas = document.getElementById("rptCanvas");
|
|
|
- canvas.style.cursor = "wait";
|
|
|
- canvas.parentNode.style.cursor = "wait";
|
|
|
+ hintBox.waitBox();
|
|
|
CommonAjax.postEx("report_api/getReport", params, 5000, true,
|
|
|
function(result){
|
|
|
let pageRst = result;
|
|
@@ -264,12 +261,12 @@ let zTreeOprObj = {
|
|
|
canvas.height = size[1] + 50;
|
|
|
}
|
|
|
me.showPage(1, canvas);
|
|
|
- canvas.parentNode.style.cursor = "default";
|
|
|
+ hintBox.unWaitBox();
|
|
|
}
|
|
|
}, function(err){
|
|
|
- canvas.parentNode.style.cursor = "default";
|
|
|
+ hintBox.unWaitBox();
|
|
|
}, function(ex){
|
|
|
- canvas.parentNode.style.cursor = "default";
|
|
|
+ hintBox.unWaitBox();
|
|
|
}
|
|
|
);
|
|
|
},
|