From e404fe10496bce285bd84b87d5048c1a0b7e2f48 Mon Sep 17 00:00:00 2001 From: ouyangxq <775153912@qq.com> Date: Sat, 10 Oct 2026 16:08:25 +0800 Subject: [PATCH] fix(appointments): prioritize calendar and collapse data notices --- .../AppointmentCalendarPanel.vue | 10 ++++++- .../AppointmentCalendarView.test.ts | 27 ++++++++++-------- .../AppointmentCalendarView.vue | 28 +++++++++---------- .../appointment-calendar/PROTOTYPE_MATRIX.md | 4 +++ 4 files changed, 41 insertions(+), 28 deletions(-) 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 }) 预约日历
{{ notice }}