|
|
|
@ -408,9 +408,9 @@ onMounted(async () => {
|
|
|
|
|
<div class="h-[200px]"> |
|
|
|
|
<a-card class="h-full !bg-[#dbdad7] ma-0 rounded-b-0 pa-8" body-style="max-width: 700px; margin: 0 auto;"> |
|
|
|
|
<a-form ref="formRef" :model="formState"> |
|
|
|
|
<a-card class="rounded ma-2 pb-10 px-5"> |
|
|
|
|
<a-card class="rounded ma-2 py-10 px-5"> |
|
|
|
|
<!-- Header --> |
|
|
|
|
<a-form-item class="ma-0 gap-0 pa-0"> |
|
|
|
|
<a-form-item v-if="isEditable" class="ma-0 gap-0 pa-0"> |
|
|
|
|
<a-input |
|
|
|
|
v-model:value="formViewData.heading" |
|
|
|
|
class="w-full text-bold text-h3" |
|
|
|
@ -422,8 +422,9 @@ onMounted(async () => {
|
|
|
|
|
@keydown.enter="updateView" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
|
<div v-else class="ml-3 w-full text-bold text-h3">{{ formViewData.heading }}</div> |
|
|
|
|
<!-- Sub Header --> |
|
|
|
|
<a-form-item> |
|
|
|
|
<a-form-item v-if="isEditable" class="ma-0 gap-0 pa-0"> |
|
|
|
|
<a-input |
|
|
|
|
v-model:value="formViewData.subheading" |
|
|
|
|
class="w-full" |
|
|
|
@ -431,10 +432,12 @@ onMounted(async () => {
|
|
|
|
|
hide-details |
|
|
|
|
:placeholder="$t('msg.info.formDesc')" |
|
|
|
|
:bordered="false" |
|
|
|
|
:disabled="!isEditable" |
|
|
|
|
@blur="updateView" |
|
|
|
|
@click="updateView" |
|
|
|
|
/> |
|
|
|
|
</a-form-item> |
|
|
|
|
<div v-else class="ml-3 mb-5 w-full text-bold text-h3">{{ formViewData.subheading }}</div> |
|
|
|
|
<Draggable |
|
|
|
|
ref="draggableRef" |
|
|
|
|
:list="localColumns" |
|
|
|
|