fix: card proposals

This commit is contained in:
Alexandro Uc Santos
2025-07-31 21:34:10 -06:00
parent 9ed4035467
commit 6909e73a51
4 changed files with 23 additions and 10 deletions

View File

@@ -7,7 +7,7 @@
import useCalendar from '../composables/useCalendar';
import CustomPopup from '../components/CustomPopup.vue';
import { watch } from 'vue';
import { useAuthStore } from '../stores/auth';
import { useAuthStore } from '../stores/auth';
const events = ref([]);
@@ -64,7 +64,7 @@ import { useAuthStore } from '../stores/auth';
},
defaultMode: 'month',
isSilent: true,
// showCurrentTime: false, // Display a line indicating the current time
// showCurrentTime: true, // Display a line indicating the current time
}
onMounted( async() => {
@@ -198,6 +198,21 @@ import { useAuthStore } from '../stores/auth';
@datetime-was-clicked="handleClickDate"
:is-loading="loading"
>
<!-- <template #dayCell="{dayData}">
<p v-if="dayData.events.length > 0" class="text-center mt-1"> {{ dayData.events[0]?.start?.substring(8, 10) }}</p>
<div v-for="(item, index) in dayData.events" :key="index">
<div
style="cursor: pointer;"
@click="event => $emit('event-was-clicked', event)"
>
<i
style="font-size: 12px;"
:style="{color: item.color}"
class="fa-solid fa-circle"></i>
<span style="margin-left: 8px; font-size: 12px;">{{ item.title }}</span>
</div>
</div>
</template> -->
<template #eventDialog="props">
<div v-if="props.eventDialogData && props.eventDialogData.title" class="event-modal">
<h2>Información del status de la carga</h2>