This commit is contained in:
2020-07-27 22:39:35 +00:00
parent 19a1bc9502
commit f4b7e217b4
4 changed files with 10 additions and 15 deletions

View File

@@ -3,7 +3,13 @@
<v-row>
<gz-error :errorBoxMessage="formState.errorBoxMessage"></gz-error>
<v-col rows="12">
<v-timeline :dense="$vuetify.breakpoint.smAndDown">
<div class="text-center text-h4" v-if="obj.length == 0">
<span>{{ $ay.t("NoData") }}</span>
</div>
<v-timeline
:dense="$vuetify.breakpoint.smAndDown"
v-if="obj.length > 0"
>
<v-timeline-item
v-for="i in obj"
:key="i.id"

View File

@@ -294,7 +294,6 @@ function generateMenu(vm) {
//
async function initForm(vm) {
await fetchTranslatedText(vm);
// await populateSelectionLists(vm);
}
//////////////////////////////////////////////////////////
@@ -309,13 +308,4 @@ async function fetchTranslatedText(vm) {
"MemoToID"
]);
}
// //////////////////////
// //
// //
// async function populateSelectionLists(vm) {
// //ensure the pick lists required are pre-fetched
// await window.$gz.enums.fetchEnumList("usertype");
// vm.selectLists.usertypes = window.$gz.enums.getSelectionList("usertype");
// }
</script>