重构: 收口工具治理提示链接组件

This commit is contained in:
萝卜
2026-03-18 19:41:58 +08:00
parent 5d377d16c3
commit 370a9a58e5

View File

@@ -1027,13 +1027,19 @@
<div class="muted governance-block-body"> <div class="muted governance-block-body">
当前筛选包含 当前筛选包含
@if($hasReconcileMismatchFilter) @if($hasReconcileMismatchFilter)
<a class="link" href="{!! $safeFullUrlWithQuery(['reconcile_mismatch' => '1', 'page' => null]) !!}">对账不一致</a> @include('admin.platform_orders._summary_text_link', [
'href' => $safeFullUrlWithQuery(['reconcile_mismatch' => '1', 'page' => null]),
'label' => '对账不一致',
])
@endif @endif
@if($hasReconcileMismatchFilter && $hasRefundInconsistentFilter) @if($hasReconcileMismatchFilter && $hasRefundInconsistentFilter)
<span class="muted"></span> <span class="muted"></span>
@endif @endif
@if($hasRefundInconsistentFilter) @if($hasRefundInconsistentFilter)
<a class="link" href="{!! $safeFullUrlWithQuery(['refund_inconsistent' => '1', 'page' => null]) !!}">退款不一致</a> @include('admin.platform_orders._summary_text_link', [
'href' => $safeFullUrlWithQuery(['refund_inconsistent' => '1', 'page' => null]),
'label' => '退款不一致',
])
@endif @endif
。建议先完成金额/状态治理(补回执/核对退款/修正状态)后,再执行批量同步订阅等工具动作。 。建议先完成金额/状态治理(补回执/核对退款/修正状态)后,再执行批量同步订阅等工具动作。
<div class="mt-6 actions gap-10"> <div class="mt-6 actions gap-10">
@@ -1080,7 +1086,9 @@
<a class="btn btn-secondary btn-sm" href="#batch-activate-subscriptions">定位到批量同步订阅工具</a> <a class="btn btn-secondary btn-sm" href="#batch-activate-subscriptions">定位到批量同步订阅工具</a>
</div> </div>
<div class="mt-6 actions gap-10"> <div class="mt-6 actions gap-10">
<a class="btn btn-secondary btn-sm" href="{!! $safeFullUrlWithQuery([ @include('admin.platform_orders._summary_text_link', [
'class' => 'btn btn-secondary btn-sm',
'href' => $safeFullUrlWithQuery([
'sync_status' => 'failed', 'sync_status' => 'failed',
// 进入失败集合:不应残留“只看可同步”等互斥开关 // 进入失败集合:不应残留“只看可同步”等互斥开关
'syncable_only' => null, 'syncable_only' => null,
@@ -1090,8 +1098,14 @@
'bmpa_failed_only' => null, 'bmpa_failed_only' => null,
'bmpa_error_keyword' => null, 'bmpa_error_keyword' => null,
'page' => null, 'page' => null,
]) !!}">进入同步失败集合</a> ]),
<a class="btn btn-secondary btn-sm" href="{!! $safeFullUrlWithQuery(['syncable_only' => '1', 'sync_status' => 'unsynced', 'fail_only' => null, 'page' => null]) !!}">切到只看可同步(用于批量重试同步)</a> 'label' => '进入同步失败集合',
])
@include('admin.platform_orders._summary_text_link', [
'class' => 'btn btn-secondary btn-sm',
'href' => $safeFullUrlWithQuery(['syncable_only' => '1', 'sync_status' => 'unsynced', 'fail_only' => null, 'page' => null]),
'label' => '切到只看可同步(用于批量重试同步)',
])
</div> </div>
</div> </div>
</div> </div>