This commit is contained in:
2019-12-18 19:40:22 +00:00
parent d4bbac6dbc
commit 42585f185c
14 changed files with 339 additions and 3 deletions

View File

@@ -146,7 +146,7 @@ export default function initialize() {
sub.push({
title: window.$gz.locale.get("Schedule"),
icon: "calendar-alt",
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
route: "/schedule/all",
key: key++
});
@@ -243,7 +243,7 @@ export default function initialize() {
//UNIT MODELS subitem
sub.push({
title: window.$gz.locale.get("UnitModels"),
icon: undefined,
icon: "dice-d20",
route: "/unitmodels",
key: key++
});

View File

@@ -124,6 +124,79 @@ export default new Router({
name: "headoffices",
component: () =>
import(/* webpackChunkName: "customer" */ "./views/headoffices.vue")
},
{
path: "/workorders",
name: "workorders",
component: () =>
import(/* webpackChunkName: "service" */ "./views/workorders.vue")
},
{
path: "/workordertemplates",
name: "workordertemplates",
component: () =>
import(/* webpackChunkName: "service" */ "./views/workorder-templates.vue")
},
{
path: "/quotes",
name: "quotes",
component: () =>
import(/* webpackChunkName: "service" */ "./views/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",
component: () =>
import(/* webpackChunkName: "service" */ "./views/customer-service-requests.vue")
},
{
path: "/loaners",
name: "loaners",
component: () =>
import(/* webpackChunkName: "service" */ "./views/loaners.vue")
}
,
{
path: "/parts",
name: "parts",
component: () =>
import(/* webpackChunkName: "inventory" */ "./views/parts.vue")
}
@@ -131,7 +204,18 @@ export default new Router({

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: "file-contract",
title: window.$gz.locale.get("ContractList"),
helpUrl: "user-form-contracts"
});
}
};
</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: "child",
title: window.$gz.locale.get("ClientServiceRequestList"),
helpUrl: "user-form-csrs"
});
}
};
</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: "plug",
title: window.$gz.locale.get("LoanItemList"),
helpUrl: "user-form-csrs"
});
}
};
</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: "cubes",
title: window.$gz.locale.get("PartList"),
helpUrl: "user-form-parts"
});
}
};
</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: "stamp",
title: window.$gz.locale.get("WorkorderPreventiveMaintenanceTemplate"),
helpUrl: "user-form-pm-templates"
});
}
};
</script>

21
ayanova/src/views/pms.vue Normal file
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: "business-time",
title: window.$gz.locale.get("WorkorderPreventiveMaintenanceList"),
helpUrl: "user-form-pmlist"
});
}
};
</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: "stamp",
title: window.$gz.locale.get("WorkorderQuoteTemplate"),
helpUrl: "user-form-quote-templates"
});
}
};
</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: "edit",
title: window.$gz.locale.get("WorkorderQuoteList"),
helpUrl: "user-form-quotes"
});
}
};
</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: "dice-d20",
title: window.$gz.locale.get("UnitModels"),
helpUrl: "user-form-unit-models"
});
}
};
</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: "fan",
title: window.$gz.locale.get("UnitList"),
helpUrl: "user-form-units"
});
}
};
</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: "stamp",
title: window.$gz.locale.get("WorkorderServiceTemplate"),
helpUrl: "user-form-workorder-template"
});
}
};
</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: "tools",
title: window.$gz.locale.get("WorkorderServiceList"),
helpUrl: "user-form-workorders"
});
}
};
</script>