This commit is contained in:
2020-09-07 20:47:23 +00:00
parent e001315956
commit 2f2e7d122b
3 changed files with 1 additions and 37 deletions

View File

@@ -522,12 +522,6 @@ export default new Router({
component: () =>
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

View File

@@ -136,23 +136,12 @@ import * as monaco from "monaco-editor";
/*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
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
api helper js injected to work with api methods, automatically uses the bearer token in client meta data

View File

@@ -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>