This commit is contained in:
2019-12-18 20:38:32 +00:00
parent e55edaf571
commit d57bb13501
13 changed files with 310 additions and 13 deletions

View File

@@ -305,7 +305,7 @@ export default function initialize() {
//PART REQUESTS
sub.push({
title: window.$gz.locale.get("WorkorderItemPartRequestList"),
icon: undefined,
icon: "paper-plane",
route: "/partrequests",
key: key++
});
@@ -351,7 +351,7 @@ export default function initialize() {
addNavItem(
window.$gz.locale.get("WidgetList"),
"splotch",
"/inventory",
"/testinventory",
[],
key++
);

View File

@@ -214,7 +214,92 @@ export default new Router({
component: () =>
import(/* webpackChunkName: "inventory" */ "./views/part-request-list.vue")
}
,
{
path: "/polist",
name: "polist",
component: () =>
import(/* webpackChunkName: "inventory" */ "./views/po-list.vue")
}
,
{
path: "/poreceipts",
name: "poreceipts",
component: () =>
import(/* webpackChunkName: "inventory" */ "./views/po-receipt-list.vue")
}
,
{
path: "/adjustments",
name: "adjustments",
component: () =>
import(/* webpackChunkName: "inventory" */ "./views/inventory-adjustments.vue")
},
{//TEST WIDGETS
path: "/testinventory",
name: "testinventory",
component: () =>
import(/* webpackChunkName: "test" */ "./views/test-inventory.vue")
}
,
{
path: "/vendors",
name: "vendors",
component: () =>
import(/* webpackChunkName: "vendors" */ "./views/vendors.vue")
}
,
{
path: "/accounting",
name: "accounting",
component: () =>
import(/* webpackChunkName: "vendors" */ "./views/accounting.vue")
}
,
{
path: "/globalsettings",
name: "globalsettings",
component: () =>
import(/* webpackChunkName: "administration" */ "./views/global-settings.vue")
}
,
{
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")
}
@@ -228,7 +313,56 @@ export default new Router({
,
@@ -252,12 +386,7 @@ export default new Router({
{
path: "/inventory",
name: "inventory",
component: () =>
import(/* webpackChunkName: "inventory" */ "./views/inventory.vue")
},
{
path: "/inventory/widget/edit/:id",
name: "inventory-widget-edit",

View File

@@ -12,7 +12,7 @@ export default {
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "fa-file-invoice-dollar",
icon: "file-invoice-dollar",
title: window.$gz.locale.get("Accounting"),
helpUrl: "user-form-accounting"
});

View 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: "cogs",
title: window.$gz.locale.get("AdministrationGlobalSettings"),
helpUrl: "user-form-global-settings"
});
}
};
</script>

View 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: "dolly",
title: window.$gz.locale.get("InventoryPartInventoryAdjustments"),
helpUrl: "user-form-inventory-adjustment-list"
});
}
};
</script>

View 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: "ticket-alt",
title: window.$gz.locale.get("HelpLicense"),
helpUrl: "user-form-license"
});
}
};
</script>

View 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: "language",
title: window.$gz.locale.get("LocalizedTextDesign"),
helpUrl: "user-form-locales"
});
}
};
</script>

View File

@@ -12,9 +12,9 @@ export default {
beforeCreate() {
window.$gz.eventBus.$emit("menu-change", {
isMain: true,
icon: "pallet",
title: window.$gz.locale.get("PartByWarehouseInventoryList"),
helpUrl: "user-form-part-inventory-list"
icon: "paper-plane",
title: window.$gz.locale.get("WorkorderItemPartRequestList"),
helpUrl: "user-form-part-request-list"
});
}
};

View 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: "boxes",
title: window.$gz.locale.get("InventoryPurchaseOrders"),
helpUrl: "user-form-purchase-order-list"
});
}
};
</script>

View 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: "dolly-flatbed",
title: window.$gz.locale.get("InventoryPurchaseOrderReceipts"),
helpUrl: "user-form-purchase-order-receipt-list"
});
}
};
</script>

View 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: "th-list",
title: window.$gz.locale.get("ReportList"),
helpUrl: "user-form-report-list"
});
}
};
</script>

View 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: "store",
title: window.$gz.locale.get("VendorList"),
helpUrl: "user-form-vendors"
});
}
};
</script>