This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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]");
|
||||
}
|
||||
|
||||
|
||||
@@ -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++
|
||||
});
|
||||
|
||||
|
||||
@@ -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"),
|
||||
|
||||
*/
|
||||
|
||||
@@ -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"
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
@@ -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"
|
||||
});
|
||||
}
|
||||
};
|
||||
@@ -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 */
|
||||
|
||||
@@ -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"
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user