|
|
@ -408,9 +408,9 @@ onMounted(async () => { |
|
|
|
<div class="h-[200px]"> |
|
|
|
<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-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-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 --> |
|
|
|
<!-- 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 |
|
|
|
<a-input |
|
|
|
v-model:value="formViewData.heading" |
|
|
|
v-model:value="formViewData.heading" |
|
|
|
class="w-full text-bold text-h3" |
|
|
|
class="w-full text-bold text-h3" |
|
|
@ -422,8 +422,9 @@ onMounted(async () => { |
|
|
|
@keydown.enter="updateView" |
|
|
|
@keydown.enter="updateView" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
<div v-else class="ml-3 w-full text-bold text-h3">{{ formViewData.heading }}</div> |
|
|
|
<!-- Sub Header --> |
|
|
|
<!-- Sub Header --> |
|
|
|
<a-form-item> |
|
|
|
<a-form-item v-if="isEditable" class="ma-0 gap-0 pa-0"> |
|
|
|
<a-input |
|
|
|
<a-input |
|
|
|
v-model:value="formViewData.subheading" |
|
|
|
v-model:value="formViewData.subheading" |
|
|
|
class="w-full" |
|
|
|
class="w-full" |
|
|
@ -431,10 +432,12 @@ onMounted(async () => { |
|
|
|
hide-details |
|
|
|
hide-details |
|
|
|
:placeholder="$t('msg.info.formDesc')" |
|
|
|
:placeholder="$t('msg.info.formDesc')" |
|
|
|
:bordered="false" |
|
|
|
:bordered="false" |
|
|
|
|
|
|
|
:disabled="!isEditable" |
|
|
|
@blur="updateView" |
|
|
|
@blur="updateView" |
|
|
|
@click="updateView" |
|
|
|
@click="updateView" |
|
|
|
/> |
|
|
|
/> |
|
|
|
</a-form-item> |
|
|
|
</a-form-item> |
|
|
|
|
|
|
|
<div v-else class="ml-3 mb-5 w-full text-bold text-h3">{{ formViewData.subheading }}</div> |
|
|
|
<Draggable |
|
|
|
<Draggable |
|
|
|
ref="draggableRef" |
|
|
|
ref="draggableRef" |
|
|
|
:list="localColumns" |
|
|
|
:list="localColumns" |
|
|
|