refactor:edit ui dialog
This commit is contained in:
parent
dadad2e489
commit
20349f0cf7
2 changed files with 17 additions and 29 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue