This commit is contained in:
@@ -365,7 +365,10 @@ export default {
|
||||
if (toPath != undefined) {
|
||||
vm.$router.push({
|
||||
name: "login",
|
||||
params: { topath: window.location.pathname }
|
||||
params: {
|
||||
topath: window.location.pathname,
|
||||
search: window.location.search
|
||||
}
|
||||
});
|
||||
} else {
|
||||
vm.$router.push({
|
||||
|
||||
@@ -336,6 +336,8 @@ export default {
|
||||
//trigger that to open in a new window and continue on to normal home page
|
||||
if (toPath.startsWith("/viewreport")) {
|
||||
(async function() {
|
||||
var searchParams = new URLSearchParams(toPath);
|
||||
debugger;
|
||||
await window.$gz.api.renderReport(1, 1); //objectid,reportid
|
||||
})();
|
||||
vm.$router.push(vm.$store.state.homePage);
|
||||
|
||||
Reference in New Issue
Block a user