diff --git a/resources/views/admin/platform_batches/show.blade.php b/resources/views/admin/platform_batches/show.blade.php index e437c2d..01b204f 100644 --- a/resources/views/admin/platform_batches/show.blade.php +++ b/resources/views/admin/platform_batches/show.blade.php @@ -131,6 +131,11 @@ 本批次成功 @endif + @if(($governanceLinks['success'] ?? '') !== '') + + 本批次成功 + + @endif @if(($governanceLinks['failed'] ?? '') !== '') 本批次失败 diff --git a/tests/Feature/AdminPlatformBatchShowPageCopyGovernanceLinksButtonsShouldRenderTest.php b/tests/Feature/AdminPlatformBatchShowPageCopyGovernanceLinksButtonsShouldRenderTest.php index 7e56152..93b7cce 100644 --- a/tests/Feature/AdminPlatformBatchShowPageCopyGovernanceLinksButtonsShouldRenderTest.php +++ b/tests/Feature/AdminPlatformBatchShowPageCopyGovernanceLinksButtonsShouldRenderTest.php @@ -40,6 +40,9 @@ class AdminPlatformBatchShowPageCopyGovernanceLinksButtonsShouldRenderTest exten // 新增:本批次全部 $this->assertStringContainsString('data-role="copy-all-link"', $html); + // 新增:本批次成功(BAS:sync_status=synced) + $this->assertStringContainsString('data-role="copy-success-link"', $html); + // 新增:本批次可同步重试(BAS) $this->assertStringContainsString('data-role="copy-retry-syncable-link"', $html); }