update 20260326
This commit is contained in:
@@ -304,15 +304,30 @@ padding-bottom:20px;
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
function showAPIDocs(tableKey, id) {
|
||||
PageMethods.gwrAPIDocs(
|
||||
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 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>");
|
||||
window.open("\PDFViewer.aspx", '_blank').focus();
|
||||
//var pdfWindow = window.open("");
|
||||
//pdfWindow.document.write("<iframe width='100%' height='100%' src='data:application/pdf;base64," + result + "'></iframe>");
|
||||
},
|
||||
function (err) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user