This commit is contained in:
2021-06-16 17:52:58 +00:00
parent 165d877b69
commit f1da826781
9 changed files with 57 additions and 29 deletions

View File

@@ -1,6 +1,7 @@
<template>
<div>
{{ $store.state.customerRights }}
todo: backend customer rights checks in conjunction with this form
<UnderConstruction data-cy="underconstruction" />
</div>
</template>

View File

@@ -8,8 +8,9 @@
<h1>UNDER CONSTRUCTION</h1>
<h2>
Copied from inv part assembly and not implemented as customer work
order yet
order yet. Backend customer rights check in conjunction with this
</h2>
{{ $store.state.customerRights }}
</v-row>
</v-form>
</div>

View File

@@ -1,5 +1,9 @@
<template>
<UnderConstruction data-cy="underconstruction" />
<div>
{{ $store.state.customerRights }}
todo: backend customer rights check in addition to here
<UnderConstruction data-cy="underconstruction" />
</div>
</template>
<script>

View File

@@ -77,6 +77,9 @@ export default {
vm.formState.ready = true;
}
},
beforeRouteEnter(to, from, next) {
next(window.$gz.store.state.notifyAvailable);
},
beforeDestroy() {
window.$gz.eventBus.$off("menu-click", clickHandler);
},

View File

@@ -2,7 +2,7 @@
<v-row justify-center>
<v-col cols="12">
<div class="text-center">
<v-icon color="red" size="100">$ayiDragon</v-icon>
<v-icon color="primary" size="100">$ayiEgg</v-icon>
<div class="text-h5 mt-8" v-if="ready">
{{ $ay.t("NoFeaturesAvailable") }}
</div>