diff --git a/src/components/ui/VnConfirm.vue b/src/components/ui/VnConfirm.vue index f8715f685..668621474 100644 --- a/src/components/ui/VnConfirm.vue +++ b/src/components/ui/VnConfirm.vue @@ -66,7 +66,8 @@ async function confirm() { - + + - - - - - - - - - - - - - - - - {{ column.label }} - - - - - - updateDestination( - value, - props.row - ) - " - /> - - - {{ column.value }} - - - - - - - - - - - - - - - - - - - {{ t('dialog title') }} - - - - - - - - - - - - - - - diff --git a/src/pages/Ticket/Negative/TicketDescriptorDialog.vue b/src/pages/Ticket/Negative/TicketDescriptorDialog.vue index 1b6086d17..ee65549dc 100644 --- a/src/pages/Ticket/Negative/TicketDescriptorDialog.vue +++ b/src/pages/Ticket/Negative/TicketDescriptorDialog.vue @@ -1,6 +1,7 @@ - - + + diff --git a/src/pages/Ticket/Negative/TicketList.vue b/src/pages/Ticket/Negative/TicketList.vue index 5ea224e30..3d9032681 100644 --- a/src/pages/Ticket/Negative/TicketList.vue +++ b/src/pages/Ticket/Negative/TicketList.vue @@ -7,20 +7,25 @@ import { useSession } from 'src/composables/useSession'; import TicketFilter from 'pages/Ticket/Negative/TicketFilter.vue'; import TicketDescriptorDialog from 'pages/Ticket/Negative/TicketDescriptorDialog.vue'; import { useQuasar } from 'quasar'; +import VnConfirm from 'components/ui/VnConfirm.vue'; const stateStore = useStateStore(); const { t } = useI18n(); const session = useSession(); const selected = ref([]); +const showTicketDialog= ref(false); +const currentRow= ref(null); const quasar = useQuasar(); const viewSummary = (value) => { - quasar.dialog({ - component: TicketDescriptorDialog, - componentProps: { - id: value, - }, - }); + showTicketDialog.value = true + currentRow.value = value + // quasar.dialog({ + // component: VnConfirm, + // componentProps: { + // id: value, + // }, + // }); }; const columns = computed(() => [ { @@ -170,6 +175,14 @@ const columns = computed(() => [ + + + + + @@ -192,4 +205,8 @@ const columns = computed(() => [ #false { background-color: $negative; } +div.q-dialog__inner > div{ + max-width: fit-content !important; + background-color: red !important; +}