This commit is contained in:
Viet An
2026-06-07 09:22:53 +07:00
parent d17bc0583c
commit ee914cc382
8 changed files with 653 additions and 385 deletions

View File

@@ -1,31 +1,31 @@
<template>
<div v-if="files">
<div
class="has-text-right"
v-if="!hideopt && $getEditRights()"
class="has-text-right"
>
<FileUpload
v-bind="{ type: ['file'], position }"
@files="getFiles"
></FileUpload>
/>
</div>
<div>
<div
v-if="files.length === 0 && info"
class="mt-3 has-text-grey fs-15"
v-if="files.length === 0 && info !== false"
>
Chưa tài liệu được tải lên
</div>
<DataView
v-bind="vbind"
v-else-if="vbind"
></DataView>
v-bind="vbind"
/>
</div>
<Modal
@close="showmodal = undefined"
v-bind="showmodal"
v-if="showmodal"
></Modal>
v-bind="showmodal"
@close="showmodal = undefined"
/>
</div>
</template>
<script>