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
|
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
|
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.
|
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
|
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) {
|
if (toPath != undefined) {
|
||||||
vm.$router.push({
|
vm.$router.push({
|
||||||
name: "login",
|
name: "login",
|
||||||
params: { topath: window.location.pathname }
|
params: {
|
||||||
|
topath: window.location.pathname,
|
||||||
|
search: window.location.search
|
||||||
|
}
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
vm.$router.push({
|
vm.$router.push({
|
||||||
|
|||||||
@@ -336,6 +336,8 @@ 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);
|
||||||
|
debugger;
|
||||||
await window.$gz.api.renderReport(1, 1); //objectid,reportid
|
await window.$gz.api.renderReport(1, 1); //objectid,reportid
|
||||||
})();
|
})();
|
||||||
vm.$router.push(vm.$store.state.homePage);
|
vm.$router.push(vm.$store.state.homePage);
|
||||||
|
|||||||
Reference in New Issue
Block a user