From c3a064eeda37837c78ef2128656f3dc41e5e38f3 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 1 Jul 2024 09:48:27 -0300 Subject: [PATCH] Change dms import form ubication --- src/components/common/VnDmsList.vue | 16 ++++------------ src/pages/Ticket/Card/TicketDms.vue | 14 ++++++++++++++ .../Ticket/Card/TicketDmsImportForm.vue} | 2 +- 3 files changed, 19 insertions(+), 13 deletions(-) rename src/{components/common/VnDmsImportForm.vue => pages/Ticket/Card/TicketDmsImportForm.vue} (95%) diff --git a/src/components/common/VnDmsList.vue b/src/components/common/VnDmsList.vue index 0576ba266..31d3303d9 100644 --- a/src/components/common/VnDmsList.vue +++ b/src/components/common/VnDmsList.vue @@ -3,7 +3,6 @@ import { ref, computed } from 'vue'; import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; import { useQuasar, QCheckbox, QBtn, QInput } from 'quasar'; -import VnDmsImportForm from 'src/components/common/VnDmsImportForm.vue'; import axios from 'axios'; import VnPaginate from 'components/ui/VnPaginate.vue'; @@ -19,7 +18,6 @@ const { t } = useI18n(); const rows = ref(); const dmsRef = ref(); const formDialog = ref({}); -const showImportDialog = ref(false); const $props = defineProps({ model: { @@ -47,10 +45,6 @@ const $props = defineProps({ type: String, required: true, }, - allowImport: { - type: Boolean, - default: false, - }, }); const dmsFilter = { @@ -279,6 +273,10 @@ function shouldRenderButton(button, isExternal = false) { if (button.name == 'download') return true; return button.external === isExternal; } + +defineExpose({ + dmsRef, +});