This commit is contained in:
@@ -336,9 +336,10 @@ export default {
|
|||||||
//trigger that to open in a new window and continue on to normal home page
|
//trigger that to open in a new window and continue on to normal home page
|
||||||
if (toPath.startsWith("/viewreport")) {
|
if (toPath.startsWith("/viewreport")) {
|
||||||
(async function() {
|
(async function() {
|
||||||
var searchParams = new URLSearchParams(toPath);
|
let searchParams = new URLSearchParams(vm.$route.params.search);
|
||||||
debugger;
|
let objectId = parseInt(searchParams.get("oid"));
|
||||||
await window.$gz.api.renderReport(1, 1); //objectid,reportid
|
let reportId = parseInt(searchParams.get("rid"));
|
||||||
|
await window.$gz.api.renderReport(objectId, reportId); //objectid,reportid
|
||||||
})();
|
})();
|
||||||
vm.$router.push(vm.$store.state.homePage);
|
vm.$router.push(vm.$store.state.homePage);
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user