This commit is contained in:
@@ -111,9 +111,10 @@ TODO: IMPLEMENT and stub out entire nav layout, don't hae to open actual form, c
|
||||
- HISTORY (event log) view, filter, sort etc the whole thing here to see what activity is happening in general
|
||||
- KPI WIDGETS AND GRAPHS AND SHIT FOR BIZ ADMIN
|
||||
- OPERATIONS CONSOLE
|
||||
- BACKUP
|
||||
- RESTORE
|
||||
- LOGS
|
||||
- SERVER CONTROL? (close/open server ops? Or does that happen automatically when doing other jobs?)
|
||||
- "ARCHIVE" (BACKUP /RESTORE)
|
||||
- JOBS (view status of, trigger some maybe)
|
||||
- SERVER LOGS
|
||||
- METRICS
|
||||
- NOTIFICATION CONFIG AND CHECK DELIVERIES
|
||||
|
||||
@@ -153,6 +154,9 @@ TODO: IMPLEMENT and stub out entire nav layout, don't hae to open actual form, c
|
||||
- Not going with the fancy modular recomposable UI and I know v7 style will work
|
||||
- See the todo somewhere down below regarding the shell in case anything I forgot
|
||||
|
||||
TODO: Review and prioritize order of items in nav panel
|
||||
TODO: make names of menu items prepend grouped (e.g. "opsarchive", "admglobalsettings" so that the automatic selected list item view appearance can work
|
||||
|
||||
TODO: Enforce role rights for menu items once it's stubbed out
|
||||
|
||||
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
|
||||
<!-- TOP LEVEL ACTION -->
|
||||
<template v-else>
|
||||
<div class="pl-3" :key="item.key">
|
||||
<div :key="item.key">
|
||||
<v-list-item :to="item.route">
|
||||
<v-list-item-action v-if="item.icon">
|
||||
<v-icon>{{ "fa-" + item.icon }}</v-icon>
|
||||
|
||||
@@ -35,7 +35,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("DashboardDashboard"),
|
||||
icon: "tachometer-alt",
|
||||
route: "/dashboard",
|
||||
route: "/hm-dashboard",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -43,7 +43,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Schedule"),
|
||||
icon: "calendar-alt",
|
||||
route: "/schedule/me",
|
||||
route: "/hm-schedule/me",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -51,7 +51,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Memo"),
|
||||
icon: "inbox",
|
||||
route: "/memo",
|
||||
route: "/hm-memo",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -59,7 +59,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ScheduleMarkerList"),
|
||||
icon: "sticky-note",
|
||||
route: "/reminder",
|
||||
route: "/hm-reminder",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -69,7 +69,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("Locale"),
|
||||
icon: "language",
|
||||
route: "/locale",
|
||||
route: "/hm-locale",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -77,7 +77,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("SetLoginPassword"),
|
||||
icon: "key",
|
||||
route: "/changepw",
|
||||
route: "/hm-changepw",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -85,7 +85,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("NotifySubscriptionList"),
|
||||
icon: "bullhorn",
|
||||
route: "/notifysubscriptions",
|
||||
route: "/hm-notifysubscriptions",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -116,7 +116,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ClientList"),
|
||||
icon: "address-card",
|
||||
route: "/customers",
|
||||
route: "/cu-customers",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -124,7 +124,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("HeadOfficeList"),
|
||||
icon: "sitemap",
|
||||
route: "/headoffices",
|
||||
route: "/cu-headoffices",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -146,7 +146,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Schedule"),
|
||||
icon: "calendar-alt",
|
||||
route: "/schedule/all",
|
||||
route: "/sv-schedule/all",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -155,7 +155,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderServiceList"),
|
||||
icon: "tools",
|
||||
route: "/workorders",
|
||||
route: "/sv-workorders",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -163,7 +163,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderServiceTemplate"),
|
||||
icon: "stamp",
|
||||
route: "/workordertemplates",
|
||||
route: "/sv-workordertemplates",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -182,7 +182,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderQuoteList"),
|
||||
icon: "edit",
|
||||
route: "/quotes",
|
||||
route: "/sv-quotes",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -190,7 +190,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderQuoteTemplate"),
|
||||
icon: "stamp",
|
||||
route: "/quotetemplates",
|
||||
route: "/sv-quotetemplates",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -209,7 +209,7 @@ export default function initialize() {
|
||||
subSub.push({
|
||||
title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"),
|
||||
icon: "business-time",
|
||||
route: "/pmlist",
|
||||
route: "/sv-pmlist",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -219,7 +219,7 @@ export default function initialize() {
|
||||
"WorkorderPreventiveMaintenanceTemplate"
|
||||
),
|
||||
icon: "stamp",
|
||||
route: "/pmtemplates",
|
||||
route: "/sv-pmtemplates",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -236,7 +236,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UnitList"),
|
||||
icon: "fan",
|
||||
route: "/units",
|
||||
route: "/sv-units",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -244,7 +244,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UnitModels"),
|
||||
icon: undefined,
|
||||
route: "/unitmodels",
|
||||
route: "/sv-unitmodels",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -252,7 +252,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ContractList"),
|
||||
icon: "file-contract",
|
||||
route: "/contracts",
|
||||
route: "/sv-contracts",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -260,7 +260,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ClientServiceRequestList"),
|
||||
icon: "child",
|
||||
route: "/csr",
|
||||
route: "/sv-csr",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -268,7 +268,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("LoanItemList"),
|
||||
icon: "plug",
|
||||
route: "/loaners",
|
||||
route: "/sv-loaners",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -290,7 +290,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("PartList"),
|
||||
icon: "cubes",
|
||||
route: "/parts",
|
||||
route: "/in-parts",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -298,7 +298,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("PartByWarehouseInventoryList"),
|
||||
icon: "pallet",
|
||||
route: "/partinventory",
|
||||
route: "/in-partinventory",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -306,7 +306,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("WorkorderItemPartRequestList"),
|
||||
icon: undefined,
|
||||
route: "/partrequests",
|
||||
route: "/in-partrequests",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -314,7 +314,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("InventoryPurchaseOrders"),
|
||||
icon: "boxes",
|
||||
route: "/pos",
|
||||
route: "/in-pos",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -324,7 +324,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("InventoryPurchaseOrderReceipts"),
|
||||
icon: "dolly-flatbed",
|
||||
route: "/poreceipts",
|
||||
route: "/in-poreceipts",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -334,7 +334,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("InventoryPartInventoryAdjustments"),
|
||||
icon: "dolly",
|
||||
route: "/adjustments",
|
||||
route: "/in-adjustments",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -374,7 +374,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Accounting"),
|
||||
icon: "file-invoice-dollar",
|
||||
route: "/accounting",
|
||||
route: "/ac-accounting",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -396,7 +396,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("AdministrationGlobalSettings"),
|
||||
icon: "cogs",
|
||||
route: "/globalsettings",
|
||||
route: "/ad-globalsettings",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -404,7 +404,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("HelpLicense"),
|
||||
icon: "ticket-alt",
|
||||
route: "/license",
|
||||
route: "/ad-license",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -412,7 +412,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("UserList"),
|
||||
icon: "users",
|
||||
route: "/users",
|
||||
route: "/ad-users",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -422,7 +422,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("LocalizedTextDesign"),
|
||||
icon: "language",
|
||||
route: "/locale",
|
||||
route: "/ad-locale",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -430,7 +430,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ReportList"),
|
||||
icon: "th-list",
|
||||
route: "/reportlist",
|
||||
route: "/ad-reportlist",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -438,7 +438,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("FILES MANAGER"),
|
||||
icon: "folder",
|
||||
route: "/filelist",
|
||||
route: "/ad-filelist",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -446,7 +446,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("HISTORY"),
|
||||
icon: "history",
|
||||
route: "/history",
|
||||
route: "/ad-history",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -454,7 +454,7 @@ export default function initialize() {
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("KPI CHARTS"),
|
||||
icon: "chart-line",
|
||||
route: "/kpi",
|
||||
route: "/ad-kpi",
|
||||
key: key++
|
||||
});
|
||||
|
||||
@@ -467,6 +467,68 @@ export default function initialize() {
|
||||
key++
|
||||
);
|
||||
|
||||
// - OPERATIONS CONSOLE
|
||||
// - SERVER CONTROL? (close/open server ops? Or does that happen automatically when doing other jobs?)
|
||||
// - "ARCHIVE" (BACKUP /RESTORE)
|
||||
// - JOBS (view status of, trigger some maybe)
|
||||
// - SERVER LOGS
|
||||
// - METRICS
|
||||
// - NOTIFICATION CONFIG AND CHECK DELIVERIES
|
||||
|
||||
//****************** OPERATIONS
|
||||
//clear sublevel arrays
|
||||
subSub = [];
|
||||
sub = [];
|
||||
|
||||
// ARCHIVE
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("ARCHIVE DATA"),
|
||||
icon: "archive",
|
||||
route: "/op-archive",
|
||||
key: key++
|
||||
});
|
||||
|
||||
// JOBS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("SERVER JOBS"),
|
||||
icon: "robot",
|
||||
route: "/op-jobs",
|
||||
key: key++
|
||||
});
|
||||
|
||||
// LOGS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("Log"),
|
||||
icon: "history",
|
||||
route: "/op-log",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//METRICS
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("SERVER METRICS"),
|
||||
icon: "file-medical-alt",
|
||||
route: "/op-metrics",
|
||||
key: key++
|
||||
});
|
||||
|
||||
//NOTIFICATION CONFIG AND HISTORY
|
||||
sub.push({
|
||||
title: window.$gz.locale.get("NOTIFY CONFIG"),
|
||||
icon: "bullhorn",
|
||||
route: "/op-notify",
|
||||
key: key++
|
||||
});
|
||||
|
||||
// ** OPERATIONS (TOP)
|
||||
addNavItem(
|
||||
window.$gz.locale.get("Operations"),
|
||||
"server",
|
||||
undefined,
|
||||
sub,
|
||||
key++
|
||||
);
|
||||
|
||||
//NOTE: If a user has read full record or better then they should have access to that area
|
||||
|
||||
// if (
|
||||
|
||||
Reference in New Issue
Block a user