fix: 订阅批量过期动作透传 ends_at 区间筛选
This commit is contained in:
@@ -383,6 +383,8 @@
|
||||
<input type="hidden" name="merchant_id" value="{{ $filters['merchant_id'] ?? '' }}">
|
||||
<input type="hidden" name="plan_id" value="{{ $filters['plan_id'] ?? '' }}">
|
||||
<input type="hidden" name="expiry" value="{{ $filters['expiry'] ?? '' }}">
|
||||
<input type="hidden" name="ends_from" value="{{ $filters['ends_from'] ?? '' }}">
|
||||
<input type="hidden" name="ends_to" value="{{ $filters['ends_to'] ?? '' }}">
|
||||
<input type="hidden" name="keyword" value="{{ $filters['keyword'] ?? '' }}">
|
||||
<button class="btn btn-secondary btn-sm" type="submit">导出 CSV</button>
|
||||
</form>
|
||||
@@ -411,6 +413,8 @@
|
||||
<input type="hidden" name="merchant_id" value="{{ $filters['merchant_id'] ?? '' }}">
|
||||
<input type="hidden" name="plan_id" value="{{ $filters['plan_id'] ?? '' }}">
|
||||
<input type="hidden" name="expiry" value="{{ $filters['expiry'] ?? '' }}">
|
||||
<input type="hidden" name="ends_from" value="{{ $filters['ends_from'] ?? '' }}">
|
||||
<input type="hidden" name="ends_to" value="{{ $filters['ends_to'] ?? '' }}">
|
||||
<input type="hidden" name="keyword" value="{{ $filters['keyword'] ?? '' }}">
|
||||
|
||||
<label class="muted form-inline-row">
|
||||
@@ -422,7 +426,16 @@
|
||||
<div>
|
||||
<button class="btn btn-danger btn-sm" type="submit" @disabled(! $batchMarkExpiredEnabled) title="{{ $batchMarkExpiredReason }}">批量标记已过期(当前集合)</button>
|
||||
@if(! $batchMarkExpiredEnabled)
|
||||
<div class="adm-tool-blocked-hint">提示:{{ $batchMarkExpiredReason }}</div>
|
||||
<div class="adm-tool-blocked-hint" data-role="batch-mark-expired-blocked-hint">
|
||||
<div>提示:{{ $batchMarkExpiredReason }}</div>
|
||||
@php
|
||||
// 提效:被阻断时给一键跳转到「已过期(expiry=expired)」集合,避免运营来回找入口。
|
||||
$goExpiredUrl = $buildQuickFilterUrl(['status' => null, 'expiry' => 'expired', 'page' => null]);
|
||||
@endphp
|
||||
<div class="mt-6 actions gap-10">
|
||||
<a class="btn btn-secondary btn-sm" href="{!! $goExpiredUrl !!}">切到已过期集合</a>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
</form>
|
||||
|
||||
Reference in New Issue
Block a user