This commit is contained in:
@@ -1,12 +1,6 @@
|
|||||||
import Vue from "vue";
|
import Vue from "vue";
|
||||||
import Router from "vue-router";
|
import Router from "vue-router";
|
||||||
import Home from "./views/Home.vue";
|
|
||||||
import service from "./views/service.vue";
|
|
||||||
import dispatch from "./views/dispatch.vue";
|
|
||||||
import accounting from "./views/accounting.vue";
|
|
||||||
import administration from "./views/administration.vue";
|
|
||||||
import operations from "./views/operations.vue";
|
|
||||||
import notfound from "./views/notfound.vue";
|
|
||||||
|
|
||||||
Vue.use(Router);
|
Vue.use(Router);
|
||||||
/* Xeslint-disable */
|
/* Xeslint-disable */
|
||||||
@@ -73,22 +67,45 @@ export default new Router({
|
|||||||
{
|
{
|
||||||
path: "/login",
|
path: "/login",
|
||||||
name: "login",
|
name: "login",
|
||||||
meta: { scrollToTop: true },
|
meta: { scrollToTop: true },//KEEP THIS AS AN EXAMPLE OF HOW TO USE WITH CODE ABOVE
|
||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "login" */ "./views/login.vue")
|
import(/* webpackChunkName: "aybase" */ "./views/login.vue")
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
path: "/",
|
path: "/dashboard",
|
||||||
name: "home",
|
name: "dashboard",
|
||||||
meta: { scrollToTop: true },
|
component: () =>
|
||||||
component: Home
|
import(/* webpackChunkName: "aybase" */ "./views/dashboard.vue")
|
||||||
// ,
|
|
||||||
// beforeEnter(to, from, next) {
|
|
||||||
// store.state.tempsessionsettings = false;//here is a way to reset the temp session settings, but I'll likely do it through logout proces instead, keeping this for example purposes
|
|
||||||
// next();
|
|
||||||
// }
|
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/schedule/:scopeid",
|
||||||
|
name: "schedule",
|
||||||
|
component: () =>
|
||||||
|
import(/* webpackChunkName: "aybase" */ "./views/schedule.vue")
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/memo",
|
||||||
|
name: "memo",
|
||||||
|
component: () =>
|
||||||
|
import(/* webpackChunkName: "aybase" */ "./views/memo.vue")
|
||||||
|
},
|
||||||
|
{
|
||||||
|
path: "/reminder",
|
||||||
|
name: "reminder",
|
||||||
|
component: () =>
|
||||||
|
import(/* webpackChunkName: "aybase" */ "./views/reminder.vue")
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
,
|
||||||
{
|
{
|
||||||
path: "/about",
|
path: "/about",
|
||||||
name: "about",
|
name: "about",
|
||||||
@@ -96,13 +113,19 @@ export default new Router({
|
|||||||
// this generates a separate chunk (about.[hash].js) for this route
|
// this generates a separate chunk (about.[hash].js) for this route
|
||||||
// which is lazy-loaded when the route is visited.
|
// which is lazy-loaded when the route is visited.
|
||||||
component: () =>
|
component: () =>
|
||||||
import(/* webpackChunkName: "about" */ "./views/About.vue")
|
import(/* webpackChunkName: "aybase" */ "./views/About.vue")
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
path: "/log",
|
path: "/log",
|
||||||
name: "log",
|
name: "log",
|
||||||
component: () => import(/* webpackChunkName: "log" */ "./views/log.vue")
|
component: () => import(/* webpackChunkName: "aybase" */ "./views/log.vue")
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
path: "/inventory",
|
path: "/inventory",
|
||||||
name: "inventory",
|
name: "inventory",
|
||||||
@@ -206,5 +229,53 @@ export default new Router({
|
|||||||
503,13: route: "/metrics",
|
503,13: route: "/metrics",
|
||||||
511,13: route: "/notifysettings",
|
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"),
|
||||||
|
|
||||||
*/
|
*/
|
||||||
21
ayanova/src/views/dashboard.vue
Normal file
21
ayanova/src/views/dashboard.vue
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<UnderConstruction />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import UnderConstruction from "../components/underconstruction.vue";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
UnderConstruction
|
||||||
|
},
|
||||||
|
beforeCreate() {
|
||||||
|
window.$gz.eventBus.$emit("menu-change", {
|
||||||
|
isMain: true,
|
||||||
|
icon: "tachometer-alt",
|
||||||
|
title: window.$gz.locale.get("DashboardDashboard"),
|
||||||
|
helpUrl: "user-form-dashboard"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
21
ayanova/src/views/memo.vue
Normal file
21
ayanova/src/views/memo.vue
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<UnderConstruction />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import UnderConstruction from "../components/underconstruction.vue";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
UnderConstruction
|
||||||
|
},
|
||||||
|
beforeCreate() {
|
||||||
|
window.$gz.eventBus.$emit("menu-change", {
|
||||||
|
isMain: true,
|
||||||
|
icon: "inbox",
|
||||||
|
title: window.$gz.locale.get("Memo"),
|
||||||
|
helpUrl: "user-form-memo"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
21
ayanova/src/views/reminder.vue
Normal file
21
ayanova/src/views/reminder.vue
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<UnderConstruction />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import UnderConstruction from "../components/underconstruction.vue";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
UnderConstruction
|
||||||
|
},
|
||||||
|
beforeCreate() {
|
||||||
|
window.$gz.eventBus.$emit("menu-change", {
|
||||||
|
isMain: true,
|
||||||
|
icon: "sticky-note",
|
||||||
|
title: window.$gz.locale.get("ScheduleMarkerList"),
|
||||||
|
helpUrl: "user-form-reminder"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
21
ayanova/src/views/schedule.vue
Normal file
21
ayanova/src/views/schedule.vue
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<template>
|
||||||
|
<UnderConstruction />
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
import UnderConstruction from "../components/underconstruction.vue";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: {
|
||||||
|
UnderConstruction
|
||||||
|
},
|
||||||
|
beforeCreate() {
|
||||||
|
window.$gz.eventBus.$emit("menu-change", {
|
||||||
|
isMain: true,
|
||||||
|
icon: "calendar-alt",
|
||||||
|
title: window.$gz.locale.get("Schedule"),
|
||||||
|
helpUrl: "user-form-schedule"
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
Reference in New Issue
Block a user