|
|
|
|
@ -121,6 +121,7 @@ function activityRegistrationsQueryParams(): Record<string, unknown> {
|
|
|
|
|
keyword: keyword.value || undefined,
|
|
|
|
|
start_date: dateRange.value?.[0] || undefined,
|
|
|
|
|
end_date: dateRange.value?.[1] || undefined,
|
|
|
|
|
date_field: 'activity_day',
|
|
|
|
|
}
|
|
|
|
|
if (isSuperAdmin() && filterVenueId.value != null && filterVenueId.value > 0) {
|
|
|
|
|
params.venue_id = filterVenueId.value
|
|
|
|
|
@ -255,6 +256,7 @@ function onPageChange(p: number) {
|
|
|
|
|
<a-option v-for="opt in activityOptions" :key="opt.value" :value="opt.value">{{ opt.label }}</a-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
<a-input v-model="keyword" placeholder="姓名/手机/token" allow-clear style="width: 220px" />
|
|
|
|
|
<span class="registrations-filter-label">场次日期</span>
|
|
|
|
|
<a-range-picker v-model="dateRange" style="width: 260px" />
|
|
|
|
|
<a-button type="primary" @click="onSearch">查询</a-button>
|
|
|
|
|
<a-button :loading="exportLoading" @click="exportRegistrationsXlsx">导出</a-button>
|
|
|
|
|
|