refactor:edit ui dialog

This commit is contained in:
Thanaphon Frappet 2024-10-07 10:18:35 +07:00
parent dadad2e489
commit 20349f0cf7
2 changed files with 17 additions and 29 deletions

View file

@ -30,6 +30,7 @@ const currentIndex = ref<number>(-1);
const statusOcr = ref<boolean>(false);
const props = defineProps<{
showTitle?: boolean;
ocr?: (
group: any,
file: File,
@ -180,6 +181,18 @@ defineEmits<{
</script>
<template>
<div v-if="!!showTitle" class="col-11 q-pb-sm text-weight-bold text-body1">
<q-icon
flat
size="xs"
class="q-pa-sm rounded q-mr-xs"
color="info"
name="mdi-account-outline"
style="background-color: var(--surface-3)"
/>
{{ $t('general.upload', { msg: $t('general.attachment') }) }}
</div>
<div
class="relative-position full-width row no-wrap wrapper"
style="height: 250px"