diff --git a/src/modules/appointment-calendar/AppointmentCalendarPanel.vue b/src/modules/appointment-calendar/AppointmentCalendarPanel.vue index ba3eeff9..6e88fc04 100644 --- a/src/modules/appointment-calendar/AppointmentCalendarPanel.vue +++ b/src/modules/appointment-calendar/AppointmentCalendarPanel.vue @@ -20,12 +20,13 @@ export interface CalendarEvent { } const props = withDefaults(defineProps<{ + notices?: string[] events: CalendarEvent[] loading?: boolean incomplete?: boolean canCreate?: boolean initialDate?: string -}>(), { loading: false, incomplete: false, canCreate: false, initialDate: '' }) +}>(), { notices: () => [], loading: false, incomplete: false, canCreate: false, initialDate: '' }) const emit = defineEmits<{ layers: [layers: { arrivals: boolean; trips: boolean }] range: [range: { from: string; to: string }] @@ -83,6 +84,7 @@ defineExpose({ selectedDate, mode }) 预约日历
+
数据提示 · {{ notices.length }}

{{ notice }}

+ 新增预约
@@ -134,6 +136,12 @@ defineExpose({ selectedDate, mode })