From 42585f185cc9fa6b1c83a1812d3c6dc3b035cbd1 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Wed, 18 Dec 2019 19:40:22 +0000 Subject: [PATCH] --- ayanova/src/api/initialize.js | 4 +- ayanova/src/router.js | 86 ++++++++++++++++++- ayanova/src/views/contracts.vue | 21 +++++ .../src/views/customer-service-requests.vue | 21 +++++ ayanova/src/views/loaners.vue | 21 +++++ ayanova/src/views/parts.vue | 21 +++++ ayanova/src/views/pm-templates.vue | 21 +++++ ayanova/src/views/pms.vue | 21 +++++ ayanova/src/views/quote-templates.vue | 21 +++++ ayanova/src/views/quotes.vue | 21 +++++ ayanova/src/views/unitmodels.vue | 21 +++++ ayanova/src/views/units.vue | 21 +++++ ayanova/src/views/workorder-templates.vue | 21 +++++ ayanova/src/views/workorders.vue | 21 +++++ 14 files changed, 339 insertions(+), 3 deletions(-) create mode 100644 ayanova/src/views/contracts.vue create mode 100644 ayanova/src/views/customer-service-requests.vue create mode 100644 ayanova/src/views/loaners.vue create mode 100644 ayanova/src/views/parts.vue create mode 100644 ayanova/src/views/pm-templates.vue create mode 100644 ayanova/src/views/pms.vue create mode 100644 ayanova/src/views/quote-templates.vue create mode 100644 ayanova/src/views/quotes.vue create mode 100644 ayanova/src/views/unitmodels.vue create mode 100644 ayanova/src/views/units.vue create mode 100644 ayanova/src/views/workorder-templates.vue create mode 100644 ayanova/src/views/workorders.vue diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 2b12b5c0..bea1171a 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -146,7 +146,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("Schedule"), icon: "calendar-alt", - route: "/schedule", //Note: because there is no trailing ID or "me" value it is stipulating all users and can be further in-filtered by other things in the UI + route: "/schedule/all", key: key++ }); @@ -243,7 +243,7 @@ export default function initialize() { //UNIT MODELS subitem sub.push({ title: window.$gz.locale.get("UnitModels"), - icon: undefined, + icon: "dice-d20", route: "/unitmodels", key: key++ }); diff --git a/ayanova/src/router.js b/ayanova/src/router.js index 8bce81cd..934f08a4 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -124,6 +124,79 @@ export default new Router({ name: "headoffices", component: () => import(/* webpackChunkName: "customer" */ "./views/headoffices.vue") + }, + { + path: "/workorders", + name: "workorders", + component: () => + import(/* webpackChunkName: "service" */ "./views/workorders.vue") + }, + { + path: "/workordertemplates", + name: "workordertemplates", + component: () => + import(/* webpackChunkName: "service" */ "./views/workorder-templates.vue") + }, + { + path: "/quotes", + name: "quotes", + component: () => + import(/* webpackChunkName: "service" */ "./views/quotes.vue") + }, + { + path: "/quotetemplates", + name: "quotetemplates", + component: () => + import(/* webpackChunkName: "service" */ "./views/quote-templates.vue") + }, + { + path: "/pmlist", + name: "pmlist", + component: () => + import(/* webpackChunkName: "service" */ "./views/pms.vue") + }, + { + path: "/pmtemplates", + name: "pmtemplates", + component: () => + import(/* webpackChunkName: "service" */ "./views/pm-templates.vue") + }, + { + path: "/units", + name: "units", + component: () => + import(/* webpackChunkName: "service" */ "./views/units.vue") + }, + { + path: "/unitmodels", + name: "unitmodels", + component: () => + import(/* webpackChunkName: "service" */ "./views/unitmodels.vue") + }, + { + path: "/contracts", + name: "contracts", + component: () => + import(/* webpackChunkName: "service" */ "./views/contracts.vue") + }, + { + path: "/csrs", + name: "csrs", + component: () => + import(/* webpackChunkName: "service" */ "./views/customer-service-requests.vue") + }, + { + path: "/loaners", + name: "loaners", + component: () => + import(/* webpackChunkName: "service" */ "./views/loaners.vue") + } + , + { + path: "/parts", + name: "parts", + component: () => + import(/* webpackChunkName: "inventory" */ "./views/parts.vue") } @@ -131,7 +204,18 @@ export default new Router({ - + + + + + + + + + + + + diff --git a/ayanova/src/views/contracts.vue b/ayanova/src/views/contracts.vue new file mode 100644 index 00000000..e86a4ea6 --- /dev/null +++ b/ayanova/src/views/contracts.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/customer-service-requests.vue b/ayanova/src/views/customer-service-requests.vue new file mode 100644 index 00000000..15673360 --- /dev/null +++ b/ayanova/src/views/customer-service-requests.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/loaners.vue b/ayanova/src/views/loaners.vue new file mode 100644 index 00000000..ce998df4 --- /dev/null +++ b/ayanova/src/views/loaners.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/parts.vue b/ayanova/src/views/parts.vue new file mode 100644 index 00000000..696a673c --- /dev/null +++ b/ayanova/src/views/parts.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/pm-templates.vue b/ayanova/src/views/pm-templates.vue new file mode 100644 index 00000000..892f9ac5 --- /dev/null +++ b/ayanova/src/views/pm-templates.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/pms.vue b/ayanova/src/views/pms.vue new file mode 100644 index 00000000..34d2fc71 --- /dev/null +++ b/ayanova/src/views/pms.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/quote-templates.vue b/ayanova/src/views/quote-templates.vue new file mode 100644 index 00000000..cd85a9f3 --- /dev/null +++ b/ayanova/src/views/quote-templates.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/quotes.vue b/ayanova/src/views/quotes.vue new file mode 100644 index 00000000..9a2c5bad --- /dev/null +++ b/ayanova/src/views/quotes.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/unitmodels.vue b/ayanova/src/views/unitmodels.vue new file mode 100644 index 00000000..d2eedc95 --- /dev/null +++ b/ayanova/src/views/unitmodels.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/units.vue b/ayanova/src/views/units.vue new file mode 100644 index 00000000..71a9d711 --- /dev/null +++ b/ayanova/src/views/units.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/workorder-templates.vue b/ayanova/src/views/workorder-templates.vue new file mode 100644 index 00000000..74325ba3 --- /dev/null +++ b/ayanova/src/views/workorder-templates.vue @@ -0,0 +1,21 @@ + + + diff --git a/ayanova/src/views/workorders.vue b/ayanova/src/views/workorders.vue new file mode 100644 index 00000000..7b0d5976 --- /dev/null +++ b/ayanova/src/views/workorders.vue @@ -0,0 +1,21 @@ + + +