admin: dashboard scanline sync success links to synced list

This commit is contained in:
萝卜
2026-03-18 05:43:35 +08:00
parent 8e77a18e5c
commit e8d7d194f4
2 changed files with 80 additions and 0 deletions

View File

@@ -850,6 +850,9 @@
$bmpaErrMsg = (string) (data_get($po->meta, 'batch_mark_paid_and_activate_error.message') ?? '');
$syncFailedListUrl = $platformOrdersQuickLinks['sync_failed'];
$syncedListUrl = \App\Support\BackUrl::withBack('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
'sync_status' => 'synced',
]), $selfWithoutBack);
$bmpaFailedListUrl = $platformOrdersQuickLinks['bmpa_failed'];
// 扫描行:直达治理锚点(与下方提示块的链接口径保持一致)
@@ -969,6 +972,8 @@
同步:
@if($syncStatusText === '失败')
<a class="link" href="{!! $scanGoSyncFailedUrl !!}"><strong>{{ $syncStatusText }}</strong></a>
@elseif($syncStatusText === '成功')
<a class="link" href="{!! $syncedListUrl !!}"><strong>{{ $syncStatusText }}</strong></a>
@else
<strong>{{ $syncStatusText }}</strong>
@endif