This commit is contained in:
2020-09-07 19:19:43 +00:00
parent 89607cf3bb
commit e001315956
2 changed files with 19 additions and 10 deletions

View File

@@ -369,7 +369,15 @@ export default new Router({
component: () =>
import(/* webpackChunkName: "adm" */ "./views/adm-report-templates.vue")
},
{
path: "/report-edit/:recordid", //Route to edit a report template
name: "ay-report-edit",
component: () =>
import(
//it gets it's own chunk name because it's huge and rarely used
/* webpackChunkName: "ay-report-edit" */ "./views/ay-report-edit.vue"
)
},
{
path: "/adm-attachments",
name: "adm-attachments",
@@ -515,19 +523,12 @@ export default new Router({
import(/* webpackChunkName: "ay-common" */ "./views/ay-history.vue")
},
{
path: "/report/:ayatype/:recordid",
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")
},
{
path: "/report-edit/:recordid",
name: "ay-report-edit",
component: () =>
import(
/* webpackChunkName: "ay-report-edit" */ "./views/ay-report-edit.vue"
)
},
//TEST TEST TEST TEST TEST
{

View File

@@ -140,6 +140,14 @@ import * as monaco from "monaco-editor";
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