This commit is contained in:
@@ -14,7 +14,7 @@ todo: Need client to accept an open object url which directly opens a report
|
||||
So they would click on a link in an email and be taken to login and then directly to previewing the report
|
||||
|
||||
URL: 404 - Object not found: "/viewreport/2/100/1" /viewreport/objecttype/:objectid/:reportid
|
||||
http://localhost:8080/viewreport/1/1
|
||||
http://localhost:8080/viewreport?oid=100&rid=1
|
||||
|
||||
todo: export from grid to xls, csv etc.
|
||||
I'm thinking perhaps also a secondary ability to make report templates that are actually intended for export to xls or whatever as an additional feature
|
||||
|
||||
@@ -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