add event record calendar to record list

This commit is contained in:
Timi
2026-08-12 19:57:41 +08:00
parent 44a6153413
commit 6463abd93b
8 changed files with 140 additions and 11 deletions
@@ -7,6 +7,7 @@
:customer-name="customerName"
:loading="isCalendarLoading"
:records="records"
@list="value => emit('list', value)"
/>
</template>
@@ -14,7 +15,7 @@
import { Time } from "timi-web";
import CustomerChartAPI from "@/api/CustomerChartAPI";
import EventAPI from "@/api/EventAPI";
import EventRecordCalendar from "@/components/EventRecordCalendar.vue";
import EventRecordCalendar, { type EventRecordCalendarListPayload } from "@/components/EventRecordCalendar.vue";
import type { EventItem } from "@/types/EventItem";
import type { EventRecord } from "@/types/EventRecord";
import type { StoreEventRecordCalendarView } from "@/types/Store";
@@ -29,6 +30,7 @@ const props = defineProps<{
const emit = defineEmits<{
"update:modelValue": [value: Date];
"update:selectedEventIdList": [value: string[]];
list: [value: EventRecordCalendarListPayload];
}>();
const monthCursorProxy = computed({