update 20260322
This commit is contained in:
@@ -281,7 +281,7 @@ padding-bottom:20px;
|
||||
success: function (response) {
|
||||
var pdfWindow = window.open("");
|
||||
pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + response.file + "'></iframe>");
|
||||
//alert("Server Response: " + response.file);
|
||||
|
||||
},
|
||||
|
||||
error: function (err) {
|
||||
@@ -304,6 +304,22 @@ padding-bottom:20px;
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
function showPacDoc(tableKey, id) {
|
||||
PageMethods.GetPacDoc(
|
||||
tableKey,
|
||||
id,
|
||||
function (result) {
|
||||
|
||||
var pdfWindow = window.open("");
|
||||
pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + result + "'></iframe>");
|
||||
},
|
||||
function (err) {
|
||||
|
||||
alert(err.get_message())
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
function loadJson(tableKey, id) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user