feat: employer attachment

This commit is contained in:
Methapon2001 2024-08-08 14:58:58 +07:00
parent 93de8f8ae6
commit 4e3620040d

View file

@ -0,0 +1,35 @@
<script setup lang="ts">
import { Icon } from '@iconify/vue';
defineProps<{
readonly?: boolean;
prefixId?: string;
}>();
const attachment = defineModel<File[]>('attachment');
</script>
<template>
<div class="row q-col-gutter-md">
<q-file
:id="`${prefixId}-input-attchment`"
dense
outlined
:readonly="readonly"
multiple
append
:label="$t('customerBranch.form.attachment')"
class="col-12"
v-model="attachment"
>
<template #prepend>
<Icon
icon="material-symbols:attach-file"
width="20px"
style="color: var(--brand-1)"
/>
</template>
</q-file>
</div>
</template>
<style></style>