This commit is contained in:
@@ -522,12 +522,6 @@ export default new Router({
|
|||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "ay-common" */ "./views/ay-history.vue")
|
import(/* webpackChunkName: "ay-common" */ "./views/ay-history.vue")
|
||||||
},
|
},
|
||||||
{
|
|
||||||
path: "/report/:ayatype/:recordid", //This is the route to immediately render a report, maybe it shouldn't be a route but rather just a command from the gzapi area
|
|
||||||
name: "ay-report",
|
|
||||||
component: () =>
|
|
||||||
import(/* webpackChunkName: "ay-common" */ "./views/ay-report.vue")
|
|
||||||
},
|
|
||||||
|
|
||||||
//TEST TEST TEST TEST TEST
|
//TEST TEST TEST TEST TEST
|
||||||
|
|
||||||
|
|||||||
@@ -137,22 +137,11 @@ import * as monaco from "monaco-editor";
|
|||||||
/*TODO:
|
/*TODO:
|
||||||
|
|
||||||
|
|
||||||
Report list UI
|
|
||||||
Report list ui IMPORT option
|
|
||||||
|
|
||||||
Stock reports? Undeleteable?
|
|
||||||
(duplicate set of stock reports but set to inactive just in case?)
|
|
||||||
|
|
||||||
router.js has this reference but it's now no longer required AFAICT:
|
|
||||||
path: "/report/:ayatype/:recordid", //This is the route to immediately render a report, maybe it shouldn't be a route but rather just a command from the gzapi area
|
|
||||||
name: "ay-report",
|
|
||||||
Can probably delete that (signature?)
|
|
||||||
|
|
||||||
Logo as helper in handlebars? that would be easy peasy I think if it's supported
|
Logo as helper in handlebars? that would be easy peasy I think if it's supported
|
||||||
|
|
||||||
Make up sample reports for widget that show off the basics including logo etc
|
Make up sample reports for widget that show off the basics including logo etc
|
||||||
|
|
||||||
make them auto generate (import from files?) with sample data in seeder
|
make them auto generate (import from files?) with sample data in seeder
|
||||||
|
|
||||||
Make a working template with api methods being called
|
Make a working template with api methods being called
|
||||||
api helper js injected to work with api methods, automatically uses the bearer token in client meta data
|
api helper js injected to work with api methods, automatically uses the bearer token in client meta data
|
||||||
|
|||||||
@@ -1,19 +0,0 @@
|
|||||||
<template>
|
|
||||||
<gz-report-viewer
|
|
||||||
:reportId="$route.params.recordid"
|
|
||||||
:ayaType="$route.params.ayatype"
|
|
||||||
/>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
beforeCreate() {
|
|
||||||
window.$gz.eventBus.$emit("menu-change", {
|
|
||||||
isMain: true,
|
|
||||||
icon: "fa-file-alt",
|
|
||||||
title: "Report",
|
|
||||||
helpUrl: "form-ay-report"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
|
||||||
</script>
|
|
||||||
Reference in New Issue
Block a user