|
|
@@ -9,6 +9,7 @@ import * as UrlUtils from "utils/ApiPathConst"; |
|
|
|
import * as React from "react"; |
|
|
|
import * as HttpUtils from "utils/HttpUtils"; |
|
|
|
// import * as DateUtils from "utils/DateUtils"; |
|
|
|
// import axios from "axios"; |
|
|
|
|
|
|
|
import Loadable from 'components/Loadable'; |
|
|
|
const LoadingComponent = Loadable(React.lazy(() => import('pages/extra-pages/LoadingComponent'))); |
|
|
@@ -57,8 +58,24 @@ const Index = () => { |
|
|
|
console.log(responseData) |
|
|
|
var myWindow = window.open(); |
|
|
|
myWindow.document.write(responseData); |
|
|
|
}, |
|
|
|
onError: function(){ |
|
|
|
console.log("error") |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
// axios.get(UrlUtils.VIEW_RECON_REPORT, { |
|
|
|
// params: searchCriteria |
|
|
|
// }).then( |
|
|
|
// (response) => { |
|
|
|
// console.log(response) |
|
|
|
// var myWindow = window.open(); |
|
|
|
// myWindow.document.write(response); |
|
|
|
// } |
|
|
|
// ).catch((error) => { |
|
|
|
// console.log(error); |
|
|
|
// // return handleError(error, onError); |
|
|
|
// }); |
|
|
|
} |
|
|
|
|
|
|
|
function downloadXML(input) { |
|
|
|