This commit is contained in:
@@ -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
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user