diff --git a/resources/views/admin/platform_orders/index.blade.php b/resources/views/admin/platform_orders/index.blade.php index 70c865f..4914e24 100644 --- a/resources/views/admin/platform_orders/index.blade.php +++ b/resources/views/admin/platform_orders/index.blade.php @@ -1394,10 +1394,13 @@ @php $batchMode = (string) (data_get($batchActivation, 'mode') ?? ''); $batchModeText = $batchMode === 'queue' ? '队列' : ($batchMode !== '' ? $batchMode : '同步'); + + $batchScope = (string) (data_get($batchActivation, 'scope') ?? ''); + $batchScopeText = $batchScope === 'all' ? '全量' : ($batchScope === 'filtered' ? '筛选' : ($batchScope !== '' ? $batchScope : '-')); @endphp
{{ $batchAt }}
管理员:{{ $batchAdminId ?: '-' }}
-
方式:{{ $batchModeText }}
+
范围:{{ $batchScopeText }};方式:{{ $batchModeText }}
@else - @endif diff --git a/tests/Feature/AdminPlatformOrderIndexBatchActivationModeShouldRenderTest.php b/tests/Feature/AdminPlatformOrderIndexBatchActivationModeShouldRenderTest.php index 19479bd..13a9730 100644 --- a/tests/Feature/AdminPlatformOrderIndexBatchActivationModeShouldRenderTest.php +++ b/tests/Feature/AdminPlatformOrderIndexBatchActivationModeShouldRenderTest.php @@ -66,6 +66,6 @@ class AdminPlatformOrderIndexBatchActivationModeShouldRenderTest extends TestCas $this->get('/admin/platform-orders') ->assertOk() - ->assertSee('方式:队列'); + ->assertSee('范围:筛选;方式:队列'); } }