feat(batch): add success governance links and filters for batch run review
This commit is contained in:
@@ -93,7 +93,7 @@ class PlatformBatchController extends Controller
|
||||
];
|
||||
}
|
||||
|
||||
// 治理入口:全部/失败/按Top原因/可重试
|
||||
// 治理入口:全部/成功/失败/按Top原因/可重试
|
||||
$governanceLinks = [];
|
||||
|
||||
if ($type === 'bas') {
|
||||
@@ -101,6 +101,11 @@ class PlatformBatchController extends Controller
|
||||
'batch_activation_run_id' => $runId,
|
||||
]), $safeBackForLinks, 'filters');
|
||||
|
||||
$governanceLinks['success'] = BackUrl::withBackAndFragment('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'batch_activation_run_id' => $runId,
|
||||
'sync_status' => 'synced',
|
||||
]), $safeBackForLinks, 'filters');
|
||||
|
||||
$governanceLinks['failed'] = BackUrl::withBackAndFragment('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'batch_activation_run_id' => $runId,
|
||||
'sync_status' => 'failed',
|
||||
@@ -129,6 +134,11 @@ class PlatformBatchController extends Controller
|
||||
'batch_bmpa_run_id' => $runId,
|
||||
]), $safeBackForLinks, 'filters');
|
||||
|
||||
$governanceLinks['success'] = BackUrl::withBackAndFragment('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'batch_bmpa_run_id' => $runId,
|
||||
'bmpa_success_only' => '1',
|
||||
]), $safeBackForLinks, 'filters');
|
||||
|
||||
$governanceLinks['failed'] = BackUrl::withBackAndFragment('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'batch_bmpa_run_id' => $runId,
|
||||
'bmpa_failed_only' => '1',
|
||||
|
||||
Reference in New Issue
Block a user