add package

This commit is contained in:
Timi
2026-09-01 01:14:54 +08:00
parent 100d4c4c44
commit 2d94abfb32
39 changed files with 4425 additions and 59 deletions
+2 -1
View File
@@ -147,6 +147,7 @@ import type { EventRecord } from "@/types/EventRecord";
import type { PhotoItem } from "@/types/Photo";
import type { PointAction } from "@/types/Point";
import { getEventNumberValuePlaceholder, resolveEventNumberValue } from "@/utils/eventValue";
import { isPackagePurchaseEvent } from "@/utils/event";
import { resolveSelectedOptionGroupList, validateEventOptionSelection } from "@/utils/eventOption";
import { permissionCodes } from "@/utils/permission";
import { getEventRecordPhotoURL, hasPhotoAttachment } from "@/utils/eventRecord";
@@ -194,7 +195,7 @@ async function loadActions(): Promise<void> {
isEventLoading.value = true;
eventLoadFailed.value = false;
try {
eventList.value = await EventAPI.listValid();
eventList.value = (await EventAPI.listValid()).filter(item => !isPackagePurchaseEvent(item));
selectedEventIdList.value = buildInitialSelectedEventIdList();
syncStoredEventId();
} catch (error) {