diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 5f5742a4..c7a9184e 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/all", + route: "/schedule/all", key: key++ }); diff --git a/ayanova/src/router.js b/ayanova/src/router.js index a53509bd..ecce273a 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -1,7 +1,6 @@ import Vue from "vue"; import Router from "vue-router"; - Vue.use(Router); /* Xeslint-disable */ @@ -67,7 +66,7 @@ export default new Router({ { path: "/login", name: "login", - meta: { scrollToTop: true },//KEEP THIS AS AN EXAMPLE OF HOW TO USE WITH CODE ABOVE + meta: { scrollToTop: true }, //KEEP THIS AS AN EXAMPLE OF HOW TO USE WITH CODE ABOVE component: () => import(/* webpackChunkName: "aybase" */ "./views/login.vue") }, @@ -111,7 +110,9 @@ export default new Router({ path: "/notifysubscriptions", name: "notifysubscriptions", component: () => - import(/* webpackChunkName: "aybase" */ "./views/notify-subscriptions.vue") + import( + /* webpackChunkName: "aybase" */ "./views/notify-subscriptions.vue" + ) }, { path: "/customers", @@ -135,7 +136,9 @@ export default new Router({ path: "/workordertemplates", name: "workordertemplates", component: () => - import(/* webpackChunkName: "service" */ "./views/workorder-templates.vue") + import( + /* webpackChunkName: "service" */ "./views/workorder-templates.vue" + ) }, { path: "/quotes", @@ -183,242 +186,181 @@ export default new Router({ path: "/csrs", name: "csrs", component: () => - import(/* webpackChunkName: "service" */ "./views/customer-service-requests.vue") + 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") - } - - , + }, + { path: "/partinventorylist", name: "partinventorylist", component: () => - import(/* webpackChunkName: "inventory" */ "./views/part-inventory-list.vue") - } - - , + import( + /* webpackChunkName: "inventory" */ "./views/part-inventory-list.vue" + ) + }, + { path: "/partrequests", name: "partrequests", component: () => - import(/* webpackChunkName: "inventory" */ "./views/part-request-list.vue") - } + import( + /* webpackChunkName: "inventory" */ "./views/part-request-list.vue" + ) + }, - , { path: "/polist", name: "polist", component: () => import(/* webpackChunkName: "inventory" */ "./views/po-list.vue") - } - - , + }, + { path: "/poreceipts", name: "poreceipts", component: () => - import(/* webpackChunkName: "inventory" */ "./views/po-receipt-list.vue") - } - - , + import( + /* webpackChunkName: "inventory" */ "./views/po-receipt-list.vue" + ) + }, + { path: "/adjustments", name: "adjustments", component: () => - import(/* webpackChunkName: "inventory" */ "./views/inventory-adjustments.vue") + import( + /* webpackChunkName: "inventory" */ "./views/inventory-adjustments.vue" + ) }, - {//TEST WIDGETS + { + //TEST WIDGETS path: "/testinventory", name: "testinventory", component: () => import(/* webpackChunkName: "test" */ "./views/test-inventory.vue") - } + }, - , { path: "/vendors", name: "vendors", component: () => import(/* webpackChunkName: "vendors" */ "./views/vendors.vue") - } + }, - , { path: "/accounting", name: "accounting", component: () => import(/* webpackChunkName: "vendors" */ "./views/accounting.vue") - } - , + }, { path: "/globalsettings", name: "globalsettings", component: () => - import(/* webpackChunkName: "administration" */ "./views/global-settings.vue") - } - , + import( + /* webpackChunkName: "administration" */ "./views/global-settings.vue" + ) + }, { path: "/license", name: "license", component: () => import(/* webpackChunkName: "administration" */ "./views/license.vue") - } + }, - , { path: "/users", name: "users", component: () => import(/* webpackChunkName: "administration" */ "./views/users.vue") - } + }, - , { path: "/locales", name: "locales", component: () => import(/* webpackChunkName: "administration" */ "./views/locales.vue") - } + }, - , { path: "/reports", name: "reports", component: () => import(/* webpackChunkName: "administration" */ "./views/reports.vue") - } + }, - , { path: "/files", name: "files", component: () => import(/* webpackChunkName: "administration" */ "./views/files.vue") - } + }, - , { path: "/history", name: "history", component: () => import(/* webpackChunkName: "administration" */ "./views/files.vue") - } + }, - , { path: "/kpi", name: "kpi", component: () => import(/* webpackChunkName: "administration" */ "./views/kpi.vue") - } + }, - , { path: "/archives", name: "archives", component: () => import(/* webpackChunkName: "operations" */ "./views/archives.vue") - } + }, - , { path: "/jobs", name: "jobs", component: () => import(/* webpackChunkName: "operations" */ "./views/jobs.vue") - } + }, - , { path: "/serverlogs", name: "serverlogs", component: () => import(/* webpackChunkName: "operations" */ "./views/server-logs.vue") - } + }, - , { path: "/metrics", name: "metrics", component: () => import(/* webpackChunkName: "operations" */ "./views/metrics.vue") - } + }, - , { path: "/notifysettings", name: "notifysettings", component: () => - import(/* webpackChunkName: "operations" */ "./views/notify-settings.vue") - } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - , + import( + /* webpackChunkName: "operations" */ "./views/notify-settings.vue" + ) + }, + //**********************************OLD OLD OLD RENAME AND REMOVE */ { path: "/about", name: "about", @@ -431,15 +373,10 @@ export default new Router({ { path: "/log", name: "log", - component: () => import(/* webpackChunkName: "aybase" */ "./views/log.vue") + component: () => + import(/* webpackChunkName: "aybase" */ "./views/log.vue") }, - - - - - - { path: "/inventory/widget/edit/:id", name: "inventory-widget-edit", diff --git a/ayanova/src/views/users.vue b/ayanova/src/views/users.vue new file mode 100644 index 00000000..efba7a0b --- /dev/null +++ b/ayanova/src/views/users.vue @@ -0,0 +1,21 @@ + + +