diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index b9ec5dd..8004777 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -522,16 +522,24 @@ 'page' => null, ]); @endphp + @php + $runGoAllUrl = $buildQuickFilterUrl([ + 'batch_activation_run_id' => $batchActivationRunId, + 'page' => null, + ]); + @endphp
-
当前批次筛选
+
当前 BAS 批次筛选
- 当前 run_id:{{ $batchActivationRunId }} + 当前 BAS run_id:{{ $batchActivationRunId }} - 清除批次筛选 + 清除 BAS 批次筛选
快速查看: + 本批次全部 + 本批次失败 本批次未同步 diff --git a/tests/Feature/AdminPlatformOrderIndexBatchActivationRunIdBadgeQuickLinksShouldRenderTest.php b/tests/Feature/AdminPlatformOrderIndexBatchActivationRunIdBadgeQuickLinksShouldRenderTest.php index 8db2e47..a04d8f4 100644 --- a/tests/Feature/AdminPlatformOrderIndexBatchActivationRunIdBadgeQuickLinksShouldRenderTest.php +++ b/tests/Feature/AdminPlatformOrderIndexBatchActivationRunIdBadgeQuickLinksShouldRenderTest.php @@ -28,10 +28,12 @@ class AdminPlatformOrderIndexBatchActivationRunIdBadgeQuickLinksShouldRenderTest ->assertOk() ->getContent(); - $this->assertStringContainsString('当前 run_id:' . $runId . '', $html); + $this->assertStringContainsString('当前 BAS run_id:' . $runId . '', $html); + + // 本批次全部 + $this->assertStringContainsString('batch_activation_run_id=' . $runId, $html); // 本批次失败 - $this->assertStringContainsString('batch_activation_run_id=' . $runId, $html); $this->assertStringContainsString('sync_status=failed', $html); // 本批次可同步重试(unsynced + syncable_only=1) diff --git a/tests/Feature/AdminPlatformOrderIndexBatchActivationRunIdBadgeShouldRenderTest.php b/tests/Feature/AdminPlatformOrderIndexBatchActivationRunIdBadgeShouldRenderTest.php index 0f39a96..a9a9d67 100644 --- a/tests/Feature/AdminPlatformOrderIndexBatchActivationRunIdBadgeShouldRenderTest.php +++ b/tests/Feature/AdminPlatformOrderIndexBatchActivationRunIdBadgeShouldRenderTest.php @@ -26,9 +26,9 @@ class AdminPlatformOrderIndexBatchActivationRunIdBadgeShouldRenderTest extends T $res = $this->get('/admin/platform-orders?batch_activation_run_id=BAS_BADGE_0001'); $res->assertOk(); - $res->assertSee('当前批次筛选'); + $res->assertSee('当前 BAS 批次筛选'); $res->assertSee('BAS_BADGE_0001'); - $res->assertSee('清除批次筛选'); + $res->assertSee('清除 BAS 批次筛选'); $res->assertSee('/admin/platform-orders?batch_activation_run_id=', false); } }