ui(platform-orders): show run_id badge and clear filter link

This commit is contained in:
萝卜
2026-03-17 13:15:20 +08:00
parent bb2cd8d2ea
commit 76b9b9ea3b
2 changed files with 50 additions and 0 deletions

View File

@@ -499,6 +499,22 @@
</div>
</details>
@php
$batchActivationRunId = trim((string) ($filters['batch_activation_run_id'] ?? ''));
@endphp
@if($batchActivationRunId !== '')
<div class="card mb-20 governance-block">
<div class="muted governance-block-title"><strong>当前批次筛选</strong></div>
<div class="muted governance-block-body">
<div>
当前 run_id<strong>{{ $batchActivationRunId }}</strong>
<span class="muted"></span>
<a class="btn btn-secondary btn-sm" href="{!! $safeFullUrlWithQuery(['batch_activation_run_id' => null, 'page' => null]) !!}">清除批次筛选</a>
</div>
</div>
</div>
@endif
<div class="grid-3 mb-20">
<div class="card">
<h3>平台订单总数</h3>