This commit is contained in:
@@ -16,19 +16,22 @@
|
|||||||
<v-layout align-center justify-left row wrap>
|
<v-layout align-center justify-left row wrap>
|
||||||
<template v-for="item in this.$store.state.formCustomTemplate[formKey]">
|
<template v-for="item in this.$store.state.formCustomTemplate[formKey]">
|
||||||
<v-flex v-if="item.type" :key="item.fld" xs12 sm6 lg4 xl3 px-2>
|
<v-flex v-if="item.type" :key="item.fld" xs12 sm6 lg4 xl3 px-2>
|
||||||
<div v-if="item.type === 'A'">
|
<div v-if="item.type === 'date'">
|
||||||
A
|
DATE CONTROL HERE
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="type === 'B'">
|
<div v-else-if="item.type === 'text'">
|
||||||
B
|
TEXT CONTROL HERE
|
||||||
</div>
|
</div>
|
||||||
<div v-else-if="type === 'C'">
|
<div v-else-if="item.type === 'int'">
|
||||||
C
|
INT CONTROL HERE
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else-if="item.type === 'bool'">
|
||||||
Not A/B/C
|
CHECKBOX CONTROL HERE
|
||||||
</div>
|
</div>
|
||||||
[{{ item.type }}]
|
<div v-else-if="item.type === 'decimal'">
|
||||||
|
DECIMAL INPUT CONTROL HERE
|
||||||
|
</div>
|
||||||
|
<div v-else>UNKNOWN CUSTOM CONTROL TYPE: {{ item.type }}</div>
|
||||||
</v-flex>
|
</v-flex>
|
||||||
</template>
|
</template>
|
||||||
</v-layout>
|
</v-layout>
|
||||||
|
|||||||
Reference in New Issue
Block a user