From c0f10a3a2c0b055699ffd735beda980f749f452d Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 20 Dec 2019 21:02:24 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 3 - ayanova/src/api/gzapi.js | 2 +- ayanova/src/api/initialize.js | 82 +-- ayanova/src/router.js | 571 ++++++++---------- .../{accounting.vue => acc-accounting.vue} | 0 .../views/{files.vue => adm-attachments.vue} | 0 ...l-settings.vue => adm-global-settings.vue} | 0 .../views/{history.vue => adm-history.vue} | 0 .../views/{license.vue => adm-license.vue} | 0 .../{locales.vue => adm-localized-text.vue} | 0 .../{reports.vue => adm-report-templates.vue} | 0 .../{statistics.vue => adm-statistics.vue} | 0 .../src/views/{users.vue => adm-users.vue} | 0 .../{customers.vue => cust-customers.vue} | 0 .../{headoffices.vue => cust-headoffices.vue} | 0 .../src/views/customer-service-requests.vue | 2 +- ...vue => form-home-notify-subscriptions.vue} | 2 +- .../{dashboard.vue => home-dashboard.vue} | 0 .../{user-locale.vue => home-locale.vue} | 0 .../src/views/{memo.vue => home-memos.vue} | 0 .../{change-pw.vue => home-password.vue} | 0 .../{reminder.vue => home-reminders.vue} | 0 ...ry-adjustments.vue => inv-adjustments.vue} | 0 ...entory-list.vue => inv-part-inventory.vue} | 0 ...request-list.vue => inv-part-requests.vue} | 0 .../src/views/{parts.vue => inv-parts.vue} | 0 ...st.vue => inv-purchase-order-receipts.vue} | 0 .../{po-list.vue => inv-purchase-orders.vue} | 0 ayanova/src/views/login.vue | 2 +- .../src/views/{backup.vue => ops-backup.vue} | 0 ayanova/src/views/{jobs.vue => ops-jobs.vue} | 0 .../views/{server-logs.vue => ops-log.vue} | 0 .../views/{metrics.vue => ops-metrics.vue} | 0 ...ings.vue => ops-notification-settings.vue} | 0 ayanova/src/views/pms.vue | 2 +- .../views/{loaners.vue => svc-loaners.vue} | 0 ...{pm-templates.vue => svc-pm-templates.vue} | 0 .../src/views/{quotes.vue => svc-quotes.vue} | 0 ...plates.vue => svc-workorder-templates.vue} | 0 .../{workorders.vue => svc-workorders.vue} | 0 40 files changed, 288 insertions(+), 378 deletions(-) rename ayanova/src/views/{accounting.vue => acc-accounting.vue} (100%) rename ayanova/src/views/{files.vue => adm-attachments.vue} (100%) rename ayanova/src/views/{global-settings.vue => adm-global-settings.vue} (100%) rename ayanova/src/views/{history.vue => adm-history.vue} (100%) rename ayanova/src/views/{license.vue => adm-license.vue} (100%) rename ayanova/src/views/{locales.vue => adm-localized-text.vue} (100%) rename ayanova/src/views/{reports.vue => adm-report-templates.vue} (100%) rename ayanova/src/views/{statistics.vue => adm-statistics.vue} (100%) rename ayanova/src/views/{users.vue => adm-users.vue} (100%) rename ayanova/src/views/{customers.vue => cust-customers.vue} (100%) rename ayanova/src/views/{headoffices.vue => cust-headoffices.vue} (100%) rename ayanova/src/views/{notify-subscriptions.vue => form-home-notify-subscriptions.vue} (88%) rename ayanova/src/views/{dashboard.vue => home-dashboard.vue} (100%) rename ayanova/src/views/{user-locale.vue => home-locale.vue} (100%) rename ayanova/src/views/{memo.vue => home-memos.vue} (100%) rename ayanova/src/views/{change-pw.vue => home-password.vue} (100%) rename ayanova/src/views/{reminder.vue => home-reminders.vue} (100%) rename ayanova/src/views/{inventory-adjustments.vue => inv-adjustments.vue} (100%) rename ayanova/src/views/{part-inventory-list.vue => inv-part-inventory.vue} (100%) rename ayanova/src/views/{part-request-list.vue => inv-part-requests.vue} (100%) rename ayanova/src/views/{parts.vue => inv-parts.vue} (100%) rename ayanova/src/views/{po-receipt-list.vue => inv-purchase-order-receipts.vue} (100%) rename ayanova/src/views/{po-list.vue => inv-purchase-orders.vue} (100%) rename ayanova/src/views/{backup.vue => ops-backup.vue} (100%) rename ayanova/src/views/{jobs.vue => ops-jobs.vue} (100%) rename ayanova/src/views/{server-logs.vue => ops-log.vue} (100%) rename ayanova/src/views/{metrics.vue => ops-metrics.vue} (100%) rename ayanova/src/views/{notify-settings.vue => ops-notification-settings.vue} (100%) rename ayanova/src/views/{loaners.vue => svc-loaners.vue} (100%) rename ayanova/src/views/{pm-templates.vue => svc-pm-templates.vue} (100%) rename ayanova/src/views/{quotes.vue => svc-quotes.vue} (100%) rename ayanova/src/views/{workorder-templates.vue => svc-workorder-templates.vue} (100%) rename ayanova/src/views/{workorders.vue => svc-workorders.vue} (100%) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 7237f485..1dd2810c 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -49,9 +49,6 @@ SHELL / NAV / MENUS / LAYOUT -TODO: See if there is an alternate accounting logo without the dollar sign that can be used -TODO: NOtification subscriptions and ops notification settings using same logo, is there a more suitable ops settings one because the user one is fine (bullhorn) -TODO: Go to invidual views and set the help url to the actual help document name, confirm all work TODO: REname Client view vue files to closer reflect what they are and similar to help docs so can see at a glance which is which, currently it's just arbitrary TODO: DECIDE WHERE TO PUT MRU? In Home or in drop down menu. (I'm leaning towards in HOME as it's own page because it can be large list and don't want to burden or slow the menu too much) diff --git a/ayanova/src/api/gzapi.js b/ayanova/src/api/gzapi.js index 9e069c71..0a2a2815 100644 --- a/ayanova/src/api/gzapi.js +++ b/ayanova/src/api/gzapi.js @@ -55,7 +55,7 @@ function handleError(action, error, route, reject) { "notify-warning", window.$gz.locale.get("ErrorUserNotAuthorized") ); - router.push("/dashboard"); + router.push("/home-dashboard"); return reject("[ErrorUserNotAuthorized]"); } diff --git a/ayanova/src/api/initialize.js b/ayanova/src/api/initialize.js index 976858fc..069c04da 100644 --- a/ayanova/src/api/initialize.js +++ b/ayanova/src/api/initialize.js @@ -35,7 +35,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("DashboardDashboard"), icon: "tachometer-alt", - route: "/dashboard", + route: "/home-dashboard", key: key++ }); @@ -51,7 +51,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("MemoList"), icon: "inbox", - route: "/memo", + route: "/home-memos", key: key++ }); @@ -59,7 +59,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("ScheduleMarkerList"), icon: "sticky-note", - route: "/reminder", + route: "/home-reminders", key: key++ }); @@ -69,7 +69,7 @@ export default function initialize() { subSub.push({ title: window.$gz.locale.get("Locale"), icon: "language", - route: "/userlocale", + route: "/home-locale", key: key++ }); @@ -77,7 +77,7 @@ export default function initialize() { subSub.push({ title: window.$gz.locale.get("SetLoginPassword"), icon: "key", - route: "/changepw", + route: "/home-password", key: key++ }); @@ -85,7 +85,7 @@ export default function initialize() { subSub.push({ title: window.$gz.locale.get("NotifySubscriptionList"), icon: "bullhorn", - route: "/notifysubscriptions", + route: "/form-home-notify-subscriptions", key: key++ }); @@ -116,7 +116,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("ClientList"), icon: "address-card", - route: "/customers", + route: "/cust-customers", key: key++ }); @@ -124,7 +124,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("HeadOfficeList"), icon: "sitemap", - route: "/headoffices", + route: "/cust-headoffices", key: key++ }); @@ -155,7 +155,7 @@ export default function initialize() { subSub.push({ title: window.$gz.locale.get("WorkorderServiceList"), icon: "tools", - route: "/workorders", + route: "/svc-workorders", key: key++ }); @@ -163,7 +163,7 @@ export default function initialize() { subSub.push({ title: window.$gz.locale.get("WorkorderServiceTemplate"), icon: "stamp", - route: "/workordertemplates", + route: "/svc-workorder-templates", key: key++ }); @@ -182,7 +182,7 @@ export default function initialize() { subSub.push({ title: window.$gz.locale.get("WorkorderQuoteList"), icon: "edit", - route: "/quotes", + route: "/svc-quotes", key: key++ }); @@ -190,7 +190,7 @@ export default function initialize() { subSub.push({ title: window.$gz.locale.get("WorkorderQuoteTemplate"), icon: "stamp", - route: "/quotetemplates", + route: "/svc-quote-templates", key: key++ }); @@ -209,7 +209,7 @@ export default function initialize() { subSub.push({ title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"), icon: "business-time", - route: "/pmlist", + route: "/svc-pm-list", key: key++ }); @@ -219,7 +219,7 @@ export default function initialize() { "WorkorderPreventiveMaintenanceTemplate" ), icon: "stamp", - route: "/pmtemplates", + route: "/svc-pm-templates", key: key++ }); @@ -236,7 +236,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("UnitList"), icon: "fan", - route: "/units", + route: "/svc-units", key: key++ }); @@ -244,7 +244,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("UnitModels"), icon: "dice-d20", - route: "/unitmodels", + route: "/svc-unit-models", key: key++ }); @@ -252,7 +252,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("LoanItemList"), icon: "plug", - route: "/loaners", + route: "/svc-loaners", key: key++ }); @@ -260,7 +260,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("ContractList"), icon: "file-contract", - route: "/contracts", + route: "/svc-contracts", key: key++ }); @@ -268,7 +268,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("ClientServiceRequestList"), icon: "child", - route: "/csrs", + route: "/svc-csr-list", key: key++ }); @@ -290,7 +290,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("PartList"), icon: "boxes", - route: "/parts", + route: "/inv-parts", key: key++ }); @@ -298,7 +298,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("PartByWarehouseInventoryList"), icon: "pallet", - route: "/partinventorylist", + route: "/inv-part-inventory", key: key++ }); @@ -306,7 +306,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("WorkorderItemPartRequestList"), icon: "paper-plane", - route: "/partrequests", + route: "/inv-part-requests", key: key++ }); @@ -314,7 +314,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("InventoryPurchaseOrders"), icon: "shipping-fast", - route: "/polist", + route: "/inv-purchase-orders", key: key++ }); @@ -324,7 +324,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("InventoryPurchaseOrderReceipts"), icon: "dolly-flatbed", - route: "/poreceipts", + route: "/inv-purchase-order-receipts", key: key++ }); @@ -334,7 +334,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("InventoryPartInventoryAdjustments"), icon: "dolly", - route: "/adjustments", + route: "/inv-adjustments", key: key++ }); @@ -365,7 +365,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("Accounting"), icon: "calculator", - route: "/accounting", + route: "/acc-accounting", key: key++ }); @@ -387,7 +387,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("AdministrationGlobalSettings"), icon: "cogs", - route: "/globalsettings", + route: "/adm-global-settings", key: key++ }); @@ -395,15 +395,15 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("HelpLicense"), icon: "ticket-alt", - route: "/license", + route: "/adm-license", key: key++ }); // USERS sub.push({ title: window.$gz.locale.get("UserList"), - icon: "users", - route: "/users", + icon: "adm-users", + route: "/adm-users", key: key++ }); @@ -413,7 +413,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("LocalizedTextDesign"), icon: "language", - route: "/locales", + route: "/adm-localized-text", key: key++ }); @@ -421,7 +421,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("ReportList"), icon: "th-list", - route: "/reports", + route: "/adm-report-templates", key: key++ }); @@ -429,15 +429,15 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("Attachments"), icon: "folder", - route: "/files", + route: "/adm-attachments", key: key++ }); //EVENT LOG / HISTORY sub.push({ title: window.$gz.locale.get("History"), - icon: "history", - route: "/history", + icon: "adm-history", + route: "/adm-history", key: key++ }); @@ -445,7 +445,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("Statistics"), icon: "chart-line", - route: "/statistics", + route: "/adm-statistics", key: key++ }); @@ -467,7 +467,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("Backup"), icon: "file-archive", - route: "/backup", + route: "/ops-backup", key: key++ }); @@ -475,7 +475,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("ServerJobs"), icon: "robot", - route: "/jobs", + route: "/ops-jobs", key: key++ }); @@ -483,7 +483,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("ServerLog"), icon: "history", - route: "/serverlogs", + route: "/ops-log", key: key++ }); @@ -491,7 +491,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("ServerMetrics"), icon: "file-medical-alt", - route: "/metrics", + route: "/ops-metrics", key: key++ }); @@ -499,7 +499,7 @@ export default function initialize() { sub.push({ title: window.$gz.locale.get("NotificationSettings"), icon: "bullhorn", - route: "/notifysettings", + route: "/ops-notification-settings", key: key++ }); diff --git a/ayanova/src/router.js b/ayanova/src/router.js index fdc40935..d38840ff 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -71,10 +71,10 @@ export default new Router({ import(/* webpackChunkName: "aybase" */ "./views/login.vue") }, { - path: "/dashboard", - name: "dashboard", + path: "/home-dashboard", + name: "home-dashboard", component: () => - import(/* webpackChunkName: "aybase" */ "./views/dashboard.vue") + import(/* webpackChunkName: "aybase" */ "./views/home-dashboard.vue") }, { path: "/home-schedule", @@ -83,48 +83,50 @@ export default new Router({ import(/* webpackChunkName: "aybase" */ "./views/home-schedule.vue") }, { - path: "/memo", - name: "memo", + path: "/home-memos", + name: "home-memos", component: () => - import(/* webpackChunkName: "aybase" */ "./views/memo.vue") + import(/* webpackChunkName: "aybase" */ "./views/home-memos.vue") }, { - path: "/reminder", - name: "reminder", + path: "/home-reminders", + name: "home-reminders", component: () => - import(/* webpackChunkName: "aybase" */ "./views/reminder.vue") + import(/* webpackChunkName: "aybase" */ "./views/home-reminders.vue") }, { - path: "/userlocale", - name: "userlocale", + path: "/home-locale", + name: "home-locale", component: () => - import(/* webpackChunkName: "aybase" */ "./views/user-locale.vue") + import(/* webpackChunkName: "aybase" */ "./views/home-locale.vue") }, { - path: "/changepw", - name: "changepw", + path: "/home-password", + name: "home-password", component: () => - import(/* webpackChunkName: "aybase" */ "./views/change-pw.vue") + import(/* webpackChunkName: "aybase" */ "./views/home-password.vue") }, { - path: "/notifysubscriptions", - name: "notifysubscriptions", + path: "/form-home-notify-subscriptions", + name: "form-home-notify-subscriptions", component: () => import( - /* webpackChunkName: "aybase" */ "./views/notify-subscriptions.vue" + /* webpackChunkName: "aybase" */ "./views/form-home-notify-subscriptions.vue" ) }, { - path: "/customers", - name: "customers", + path: "/cust-customers", + name: "cust-customers", component: () => - import(/* webpackChunkName: "customer" */ "./views/customers.vue") + import(/* webpackChunkName: "customer" */ "./views/cust-customers.vue") }, { - path: "/headoffices", - name: "headoffices", + path: "/cust-headoffices", + name: "cust-headoffices", component: () => - import(/* webpackChunkName: "customer" */ "./views/headoffices.vue") + import( + /* webpackChunkName: "customer" */ "./views/cust-headoffices.vue" + ) }, { path: "/svc-schedule", @@ -133,125 +135,268 @@ export default new Router({ import(/* webpackChunkName: "aybase" */ "./views/svc-schedule.vue") }, { - path: "/workorders", - name: "workorders", + path: "/svc-workorders", + name: "svc-workorders", component: () => - import(/* webpackChunkName: "service" */ "./views/workorders.vue") + import(/* webpackChunkName: "service" */ "./views/svc-workorders.vue") }, { - path: "/workordertemplates", - name: "workordertemplates", + path: "/svc-workorder-templates", + name: "svc-workorder-templates", component: () => import( - /* webpackChunkName: "service" */ "./views/workorder-templates.vue" + /* webpackChunkName: "service" */ "./views/svc-workorder-templates.vue" ) }, { - path: "/quotes", - name: "quotes", + path: "/svc-quotes", + name: "svc-quotes", component: () => - import(/* webpackChunkName: "service" */ "./views/quotes.vue") + import(/* webpackChunkName: "service" */ "./views/svc-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", + path: "/svc-quote-templates", + name: "svc-quote-templates", component: () => import( - /* webpackChunkName: "service" */ "./views/customer-service-requests.vue" + /* webpackChunkName: "service" */ "./views/svc-quote-templates.vue" ) }, { - path: "/loaners", - name: "loaners", + path: "/svc-pm-list", + name: "svc-pm-list", component: () => - import(/* webpackChunkName: "service" */ "./views/loaners.vue") + import(/* webpackChunkName: "service" */ "./views/svc-pm-list.vue") }, { - path: "/parts", - name: "parts", + path: "/svc-pm-templates", + name: "svc-pm-templates", component: () => - import(/* webpackChunkName: "inventory" */ "./views/parts.vue") + import(/* webpackChunkName: "service" */ "./views/svc-pm-templates.vue") + }, + { + path: "/svc-units", + name: "svc-units", + component: () => + import(/* webpackChunkName: "service" */ "./views/svc-units.vue") + }, + { + path: "/svc-unit-models", + name: "svc-unit-models", + component: () => + import(/* webpackChunkName: "service" */ "./views/svc-unit-models.vue") + }, + { + path: "/svc-loaners", + name: "svc-loaners", + component: () => + import(/* webpackChunkName: "service" */ "./views/svc-loaners.vue") + }, + { + path: "/svc-contracts", + name: "svc-contracts", + component: () => + import(/* webpackChunkName: "service" */ "./views/svc-contracts.vue") + }, + { + path: "/svc-csr-list", + name: "svc-csr-list", + component: () => + import(/* webpackChunkName: "service" */ "./views/svc-csr-list.vue") + }, + { + path: "/inv-parts", + name: "inv-parts", + component: () => + import(/* webpackChunkName: "inventory" */ "./views/inv-parts.vue") }, { - path: "/partinventorylist", - name: "partinventorylist", + path: "/inv-part-inventory", + name: "inv-part-inventory", component: () => import( - /* webpackChunkName: "inventory" */ "./views/part-inventory-list.vue" + /* webpackChunkName: "inventory" */ "./views/inv-part-inventory.vue" ) }, { - path: "/partrequests", - name: "partrequests", + path: "/inv-part-requests", + name: "inv-part-requests", component: () => import( - /* webpackChunkName: "inventory" */ "./views/part-request-list.vue" + /* webpackChunkName: "inventory" */ "./views/inv-part-requests.vue" ) }, { - path: "/polist", - name: "polist", - component: () => - import(/* webpackChunkName: "inventory" */ "./views/po-list.vue") - }, - - { - path: "/poreceipts", - name: "poreceipts", + path: "/inv-purchase-orders", + name: "inv-purchase-orders", component: () => import( - /* webpackChunkName: "inventory" */ "./views/po-receipt-list.vue" + /* webpackChunkName: "inventory" */ "./views/inv-purchase-orders.vue" ) }, { - path: "/adjustments", - name: "adjustments", + path: "/inv-purchase-order-receipts", + name: "inv-purchase-order-receipts", component: () => import( - /* webpackChunkName: "inventory" */ "./views/inventory-adjustments.vue" + /* webpackChunkName: "inventory" */ "./views/inv-purchase-order-receipts.vue" ) }, + { + path: "/inv-adjustments", + name: "inv-adjustments", + component: () => + import( + /* webpackChunkName: "inventory" */ "./views/inv-adjustments.vue" + ) + }, + { + path: "/vendors", + name: "vendors", + component: () => + import(/* webpackChunkName: "vendors" */ "./views/vendors.vue") + }, + + { + path: "/acc-accounting", + name: "acc-accounting", + component: () => + import(/* webpackChunkName: "vendors" */ "./views/acc-accounting.vue") + }, + + { + path: "/adm-global-settings", + name: "adm-global-settings", + component: () => + import( + /* webpackChunkName: "administration" */ "./views/adm-global-settings.vue" + ) + }, + { + path: "/adm-license", + name: "adm-license", + component: () => + import( + /* webpackChunkName: "administration" */ "./views/adm-license.vue" + ) + }, + + { + path: "/adm-users", + name: "adm-users", + component: () => + import(/* webpackChunkName: "administration" */ "./views/adm-users.vue") + }, + + { + path: "/adm-localized-text", + name: "adm-localized-text", + component: () => + import( + /* webpackChunkName: "administration" */ "./views/adm-localized-text.vue" + ) + }, + + { + path: "/adm-report-templates", + name: "adm-report-templates", + component: () => + import( + /* webpackChunkName: "administration" */ "./views/adm-report-templates.vue" + ) + }, + + { + path: "/adm-attachments", + name: "adm-attachments", + component: () => + import( + /* webpackChunkName: "administration" */ "./views/adm-attachments.vue" + ) + }, + + { + path: "/adm-history", + name: "adm-history", + component: () => + import( + /* webpackChunkName: "administration" */ "./views/adm-history.vue" + ) + }, + + { + path: "/adm-statistics", + name: "adm-statistics", + component: () => + import( + /* webpackChunkName: "administration" */ "./views/adm-statistics.vue" + ) + }, + + { + path: "/ops-backup", + name: "ops-backup", + component: () => + import(/* webpackChunkName: "operations" */ "./views/ops-backup.vue") + }, + + { + path: "/ops-jobs", + name: "ops-jobs", + component: () => + import(/* webpackChunkName: "operations" */ "./views/ops-jobs.vue") + }, + + { + path: "/ops-log", + name: "ops-log", + component: () => + import(/* webpackChunkName: "operations" */ "./views/ops-log.vue") + }, + + { + path: "/ops-metrics", + name: "ops-metrics", + component: () => + import(/* webpackChunkName: "operations" */ "./views/ops-metrics.vue") + }, + + { + path: "/ops-notification-settings", + name: "ops-notification-settings", + component: () => + import( + /* webpackChunkName: "operations" */ "./views/ops-notification-settings.vue" + ) + }, + //**********************************GENERAL */ + { + path: "/about", + name: "about", + // route level code-splitting + // this generates a separate chunk (about.[hash].js) for this route + // which is lazy-loaded when the route is visited. + component: () => + import(/* webpackChunkName: "aybase" */ "./views/about.vue") + }, + { + path: "/log", + name: "log", + component: () => + import(/* webpackChunkName: "aybase" */ "./views/log.vue") + }, + { + path: "/customize/:formCustomTemplateKey", + name: "customize", + component: () => + import(/* webpackChunkName: "customize" */ "./views/customize.vue") + }, + { //TEST WIDGETS path: "/testinventory", @@ -268,138 +413,6 @@ export default new Router({ /* webpackChunkName: "inventory" */ "./views/test-inventory-widget-edit.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" - ) - }, - { - 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/history.vue") - }, - - { - path: "/statistics", - name: "statistics", - component: () => - import( - /* webpackChunkName: "administration" */ "./views/statistics.vue" - ) - }, - - { - path: "/backup", - name: "backup", - component: () => - import(/* webpackChunkName: "operations" */ "./views/backup.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" - ) - }, - //**********************************GENERAL */ - { - path: "/about", - name: "about", - // route level code-splitting - // this generates a separate chunk (about.[hash].js) for this route - // which is lazy-loaded when the route is visited. - component: () => - import(/* webpackChunkName: "aybase" */ "./views/About.vue") - }, - { - path: "/log", - name: "log", - component: () => - import(/* webpackChunkName: "aybase" */ "./views/log.vue") - }, - { - path: "/customize/:formCustomTemplateKey", - name: "customize", - component: () => - import(/* webpackChunkName: "customize" */ "./views/customize.vue") - }, { path: "*", name: "notfound", @@ -408,103 +421,3 @@ export default new Router({ } ] }); -/** - * - * Current stub routes: - * C:\data\code\raven-client\ayanova\src\api\initialize.js - 38,13: route: "/dashboard", - 46,13: route: "/schedule/me", //Note: "me" is code for current user id in schedule form, any single user id can be substituted for me as well - 54,13: route: "/memo", - 62,13: route: "/reminder", - 72,13: route: "/locale", - 80,13: route: "/changepw", - 88,13: route: "/notifysubscriptions", - 96,13: route: undefined, - 119,13: route: "/customers", - 127,13: route: "/headoffices", - 149,13: 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 - 158,13: route: "/workorders", - 166,13: route: "/workordertemplates", - 174,13: route: undefined, - 185,13: route: "/quotes", - 193,13: route: "/quotetemplates", - 201,13: route: undefined, - 212,13: route: "/pmlist", - 222,13: route: "/pmtemplates", - 230,13: route: undefined, - 239,13: route: "/units", - 247,13: route: "/unitmodels", - 255,13: route: "/contracts", - 263,13: route: "/csrs", - 271,13: route: "/loaners", - 293,13: route: "/parts", - 301,13: route: "/partinventorylist", - 309,13: route: "/partrequests", - 317,13: route: "/polist", - 327,13: route: "/poreceipts", - 337,13: route: "/adjustments", - 377,13: route: "/accounting", - 399,13: route: "/globalsettings", - 407,13: route: "/license", - 415,13: route: "/users", - 425,13: route: "/locales", - 433,13: route: "/reports", - 441,13: route: "/files", - 449,13: route: "/history", - 457,13: route: "/kpi", - 479,13: route: "/archives", - 487,13: route: "/jobs", - 495,13: route: "/serverlogs", - 503,13: route: "/metrics", - 511,13: route: "/notifysettings", - * - - -C:\data\code\raven-client\ayanova\src\api\initialize.js - 36,13: title: window.$gz.locale.get("DashboardDashboard"), - 44,13: title: window.$gz.locale.get("Schedule"), - 52,13: title: window.$gz.locale.get("Memo"), - 60,13: title: window.$gz.locale.get("ScheduleMarkerList"), - 70,13: title: window.$gz.locale.get("Locale"), - 78,13: title: window.$gz.locale.get("SetLoginPassword"), - 86,13: title: window.$gz.locale.get("NotifySubscriptionList"), - 94,13: title: window.$gz.locale.get("UserPreferences"), - 117,13: title: window.$gz.locale.get("ClientList"), - 125,13: title: window.$gz.locale.get("HeadOfficeList"), - 147,13: title: window.$gz.locale.get("Schedule"), - 156,13: title: window.$gz.locale.get("WorkorderServiceList"), - 164,13: title: window.$gz.locale.get("WorkorderServiceTemplate"), - 172,13: title: window.$gz.locale.get("WorkorderServiceList"), - 183,13: title: window.$gz.locale.get("WorkorderQuoteList"), - 191,13: title: window.$gz.locale.get("WorkorderQuoteTemplate"), - 199,13: title: window.$gz.locale.get("WorkorderQuoteList"), - 210,13: title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"), - 218,13: title: window.$gz.locale.get( - 228,13: title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"), - 237,13: title: window.$gz.locale.get("UnitList"), - 245,13: title: window.$gz.locale.get("UnitModels"), - 253,13: title: window.$gz.locale.get("ContractList"), - 261,13: title: window.$gz.locale.get("ClientServiceRequestList"), - 269,13: title: window.$gz.locale.get("LoanItemList"), - 291,13: title: window.$gz.locale.get("PartList"), - 299,13: title: window.$gz.locale.get("PartByWarehouseInventoryList"), - 307,13: title: window.$gz.locale.get("WorkorderItemPartRequestList"), - 315,13: title: window.$gz.locale.get("InventoryPurchaseOrders"), - 325,13: title: window.$gz.locale.get("InventoryPurchaseOrderReceipts"), - 335,13: title: window.$gz.locale.get("InventoryPartInventoryAdjustments"), - 375,13: title: window.$gz.locale.get("Accounting"), - 397,13: title: window.$gz.locale.get("AdministrationGlobalSettings"), - 405,13: title: window.$gz.locale.get("HelpLicense"), - 413,13: title: window.$gz.locale.get("UserList"), - 423,13: title: window.$gz.locale.get("LocalizedTextDesign"), - 431,13: title: window.$gz.locale.get("ReportList"), - 439,13: title: window.$gz.locale.get("FILES MANAGER"), - 447,13: title: window.$gz.locale.get("HISTORY"), - 455,13: title: window.$gz.locale.get("KPI CHARTS"), - 477,13: title: window.$gz.locale.get("ARCHIVE DATA"), - 485,13: title: window.$gz.locale.get("SERVER JOBS"), - 493,13: title: window.$gz.locale.get("Log"), - 501,13: title: window.$gz.locale.get("SERVER METRICS"), - 509,13: title: window.$gz.locale.get("NOTIFY CONFIG"), - - */ diff --git a/ayanova/src/views/accounting.vue b/ayanova/src/views/acc-accounting.vue similarity index 100% rename from ayanova/src/views/accounting.vue rename to ayanova/src/views/acc-accounting.vue diff --git a/ayanova/src/views/files.vue b/ayanova/src/views/adm-attachments.vue similarity index 100% rename from ayanova/src/views/files.vue rename to ayanova/src/views/adm-attachments.vue diff --git a/ayanova/src/views/global-settings.vue b/ayanova/src/views/adm-global-settings.vue similarity index 100% rename from ayanova/src/views/global-settings.vue rename to ayanova/src/views/adm-global-settings.vue diff --git a/ayanova/src/views/history.vue b/ayanova/src/views/adm-history.vue similarity index 100% rename from ayanova/src/views/history.vue rename to ayanova/src/views/adm-history.vue diff --git a/ayanova/src/views/license.vue b/ayanova/src/views/adm-license.vue similarity index 100% rename from ayanova/src/views/license.vue rename to ayanova/src/views/adm-license.vue diff --git a/ayanova/src/views/locales.vue b/ayanova/src/views/adm-localized-text.vue similarity index 100% rename from ayanova/src/views/locales.vue rename to ayanova/src/views/adm-localized-text.vue diff --git a/ayanova/src/views/reports.vue b/ayanova/src/views/adm-report-templates.vue similarity index 100% rename from ayanova/src/views/reports.vue rename to ayanova/src/views/adm-report-templates.vue diff --git a/ayanova/src/views/statistics.vue b/ayanova/src/views/adm-statistics.vue similarity index 100% rename from ayanova/src/views/statistics.vue rename to ayanova/src/views/adm-statistics.vue diff --git a/ayanova/src/views/users.vue b/ayanova/src/views/adm-users.vue similarity index 100% rename from ayanova/src/views/users.vue rename to ayanova/src/views/adm-users.vue diff --git a/ayanova/src/views/customers.vue b/ayanova/src/views/cust-customers.vue similarity index 100% rename from ayanova/src/views/customers.vue rename to ayanova/src/views/cust-customers.vue diff --git a/ayanova/src/views/headoffices.vue b/ayanova/src/views/cust-headoffices.vue similarity index 100% rename from ayanova/src/views/headoffices.vue rename to ayanova/src/views/cust-headoffices.vue diff --git a/ayanova/src/views/customer-service-requests.vue b/ayanova/src/views/customer-service-requests.vue index bf74777a..03138f05 100644 --- a/ayanova/src/views/customer-service-requests.vue +++ b/ayanova/src/views/customer-service-requests.vue @@ -14,7 +14,7 @@ export default { isMain: true, icon: "child", title: window.$gz.locale.get("ClientServiceRequestList"), - helpUrl: "form-svc-csr" + helpUrl: "form-svc-csr-list" }); } }; diff --git a/ayanova/src/views/notify-subscriptions.vue b/ayanova/src/views/form-home-notify-subscriptions.vue similarity index 88% rename from ayanova/src/views/notify-subscriptions.vue rename to ayanova/src/views/form-home-notify-subscriptions.vue index c360d1d9..dd260b47 100644 --- a/ayanova/src/views/notify-subscriptions.vue +++ b/ayanova/src/views/form-home-notify-subscriptions.vue @@ -14,7 +14,7 @@ export default { isMain: true, icon: "bullhorn", title: window.$gz.locale.get("NotifySubscriptionList"), - helpUrl: "form-home-notification" + helpUrl: "form-home-notify-subscriptions" }); } }; diff --git a/ayanova/src/views/dashboard.vue b/ayanova/src/views/home-dashboard.vue similarity index 100% rename from ayanova/src/views/dashboard.vue rename to ayanova/src/views/home-dashboard.vue diff --git a/ayanova/src/views/user-locale.vue b/ayanova/src/views/home-locale.vue similarity index 100% rename from ayanova/src/views/user-locale.vue rename to ayanova/src/views/home-locale.vue diff --git a/ayanova/src/views/memo.vue b/ayanova/src/views/home-memos.vue similarity index 100% rename from ayanova/src/views/memo.vue rename to ayanova/src/views/home-memos.vue diff --git a/ayanova/src/views/change-pw.vue b/ayanova/src/views/home-password.vue similarity index 100% rename from ayanova/src/views/change-pw.vue rename to ayanova/src/views/home-password.vue diff --git a/ayanova/src/views/reminder.vue b/ayanova/src/views/home-reminders.vue similarity index 100% rename from ayanova/src/views/reminder.vue rename to ayanova/src/views/home-reminders.vue diff --git a/ayanova/src/views/inventory-adjustments.vue b/ayanova/src/views/inv-adjustments.vue similarity index 100% rename from ayanova/src/views/inventory-adjustments.vue rename to ayanova/src/views/inv-adjustments.vue diff --git a/ayanova/src/views/part-inventory-list.vue b/ayanova/src/views/inv-part-inventory.vue similarity index 100% rename from ayanova/src/views/part-inventory-list.vue rename to ayanova/src/views/inv-part-inventory.vue diff --git a/ayanova/src/views/part-request-list.vue b/ayanova/src/views/inv-part-requests.vue similarity index 100% rename from ayanova/src/views/part-request-list.vue rename to ayanova/src/views/inv-part-requests.vue diff --git a/ayanova/src/views/parts.vue b/ayanova/src/views/inv-parts.vue similarity index 100% rename from ayanova/src/views/parts.vue rename to ayanova/src/views/inv-parts.vue diff --git a/ayanova/src/views/po-receipt-list.vue b/ayanova/src/views/inv-purchase-order-receipts.vue similarity index 100% rename from ayanova/src/views/po-receipt-list.vue rename to ayanova/src/views/inv-purchase-order-receipts.vue diff --git a/ayanova/src/views/po-list.vue b/ayanova/src/views/inv-purchase-orders.vue similarity index 100% rename from ayanova/src/views/po-list.vue rename to ayanova/src/views/inv-purchase-orders.vue diff --git a/ayanova/src/views/login.vue b/ayanova/src/views/login.vue index ed550ae2..0448e17e 100644 --- a/ayanova/src/views/login.vue +++ b/ayanova/src/views/login.vue @@ -93,7 +93,7 @@ export default { auth .authenticate(this.input.username, this.input.password) .then(() => { - vm.$router.push("/dashboard"); + vm.$router.push("/home-dashboard"); }) .catch(function handleCaughtLoginError(error) { /* xeslint-disable-next-line */ diff --git a/ayanova/src/views/backup.vue b/ayanova/src/views/ops-backup.vue similarity index 100% rename from ayanova/src/views/backup.vue rename to ayanova/src/views/ops-backup.vue diff --git a/ayanova/src/views/jobs.vue b/ayanova/src/views/ops-jobs.vue similarity index 100% rename from ayanova/src/views/jobs.vue rename to ayanova/src/views/ops-jobs.vue diff --git a/ayanova/src/views/server-logs.vue b/ayanova/src/views/ops-log.vue similarity index 100% rename from ayanova/src/views/server-logs.vue rename to ayanova/src/views/ops-log.vue diff --git a/ayanova/src/views/metrics.vue b/ayanova/src/views/ops-metrics.vue similarity index 100% rename from ayanova/src/views/metrics.vue rename to ayanova/src/views/ops-metrics.vue diff --git a/ayanova/src/views/notify-settings.vue b/ayanova/src/views/ops-notification-settings.vue similarity index 100% rename from ayanova/src/views/notify-settings.vue rename to ayanova/src/views/ops-notification-settings.vue diff --git a/ayanova/src/views/pms.vue b/ayanova/src/views/pms.vue index c7b85ba2..0eb76b20 100644 --- a/ayanova/src/views/pms.vue +++ b/ayanova/src/views/pms.vue @@ -14,7 +14,7 @@ export default { isMain: true, icon: "business-time", title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"), - helpUrl: "form-svc-pm" + helpUrl: "form-svc-pm-list" }); } }; diff --git a/ayanova/src/views/loaners.vue b/ayanova/src/views/svc-loaners.vue similarity index 100% rename from ayanova/src/views/loaners.vue rename to ayanova/src/views/svc-loaners.vue diff --git a/ayanova/src/views/pm-templates.vue b/ayanova/src/views/svc-pm-templates.vue similarity index 100% rename from ayanova/src/views/pm-templates.vue rename to ayanova/src/views/svc-pm-templates.vue diff --git a/ayanova/src/views/quotes.vue b/ayanova/src/views/svc-quotes.vue similarity index 100% rename from ayanova/src/views/quotes.vue rename to ayanova/src/views/svc-quotes.vue diff --git a/ayanova/src/views/workorder-templates.vue b/ayanova/src/views/svc-workorder-templates.vue similarity index 100% rename from ayanova/src/views/workorder-templates.vue rename to ayanova/src/views/svc-workorder-templates.vue diff --git a/ayanova/src/views/workorders.vue b/ayanova/src/views/svc-workorders.vue similarity index 100% rename from ayanova/src/views/workorders.vue rename to ayanova/src/views/svc-workorders.vue