|
@@ -470,15 +470,16 @@ let rptArchiveObj = {
|
|
|
// saveAs(blob, filename);
|
|
|
let oFileReader = new FileReader();
|
|
|
oFileReader.onloadend = function (e) {
|
|
|
+ picCnt++;
|
|
|
let base64 = e.target.result;
|
|
|
- console.log("方式一》》》》》》》》》", base64)
|
|
|
+ // console.log("方式一》》》》》》》》》", base64)
|
|
|
+ picCells.pic = base64;
|
|
|
+ if (picCnt === picAmt) {
|
|
|
+ $.bootstrapLoading.end();
|
|
|
+ rptArchiveObj._archiveCurrentReport(currentRptPageRst, currentNode);
|
|
|
+ }
|
|
|
};
|
|
|
- picCells.pic = oFileReader.readAsDataURL(blob);
|
|
|
- picCnt++;
|
|
|
- if (picCnt === picAmt) {
|
|
|
- $.bootstrapLoading.end();
|
|
|
- rptArchiveObj._archiveCurrentReport(currentRptPageRst, currentNode);
|
|
|
- }
|
|
|
+ oFileReader.readAsDataURL(blob);
|
|
|
});
|
|
|
|
|
|
// const img = new Image();
|