|
|
@ -401,19 +401,18 @@ onMounted(async () => { |
|
|
|
<!-- Drag and drop fields here to hide --> |
|
|
|
<!-- Drag and drop fields here to hide --> |
|
|
|
{{ $t('msg.info.dragDropHide') }} |
|
|
|
{{ $t('msg.info.dragDropHide') }} |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<a-button type="link" class="w-full caption mt-2" size="large" @click="showColumnDropdown = true"> |
|
|
|
<a-dropdown v-model:visible="showColumnDropdown" :trigger="['click']"> |
|
|
|
<div class="flex items-center prose-sm justify-center text-gray-400"> |
|
|
|
<a-button type="link" class="w-full caption mt-2" size="large" @click="showColumnDropdown = true"> |
|
|
|
<MdiPlusIcon /> |
|
|
|
<div class="flex items-center prose-sm justify-center text-gray-400"> |
|
|
|
<!-- Add new field to this table --> |
|
|
|
<MdiPlusIcon /> |
|
|
|
{{ $t('activity.addField') }} |
|
|
|
<!-- Add new field to this table --> |
|
|
|
</div> |
|
|
|
{{ $t('activity.addField') }} |
|
|
|
</a-button> |
|
|
|
</div> |
|
|
|
<SmartsheetColumnEditOrAdd |
|
|
|
</a-button> |
|
|
|
v-show="showColumnDropdown" |
|
|
|
<template #overlay> |
|
|
|
ref="editOrAddRef" |
|
|
|
<SmartsheetColumnEditOrAdd ref="editOrAddRef" @submit="submitCallback" @cancel="showColumnDropdown = false" /> |
|
|
|
@submit="submitCallback" |
|
|
|
</template> |
|
|
|
@cancel="showColumnDropdown = false" |
|
|
|
</a-dropdown> |
|
|
|
/> |
|
|
|
|
|
|
|
</template> |
|
|
|
</template> |
|
|
|
</draggable> |
|
|
|
</draggable> |
|
|
|
</a-col> |
|
|
|
</a-col> |
|
|
|