feat(governance): 批次页跳转列表自动定位到筛选区(anchor)
This commit is contained in:
@@ -124,18 +124,18 @@
|
||||
$reasonGovUrl = '';
|
||||
if (! $reasonTooLong && $reason !== '') {
|
||||
if ($type === 'bas') {
|
||||
$reasonGovUrl = \App\Support\BackUrl::withBack('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
$reasonGovUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'batch_activation_run_id' => $runId,
|
||||
'sync_status' => 'failed',
|
||||
'sync_error_keyword' => $reason,
|
||||
]), $safeBackForLinks);
|
||||
]), $safeBackForLinks, 'filters');
|
||||
}
|
||||
if ($type === 'bmpa') {
|
||||
$reasonGovUrl = \App\Support\BackUrl::withBack('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
$reasonGovUrl = \App\Support\BackUrl::withBackAndFragment('/admin/platform-orders?' . \Illuminate\Support\Arr::query([
|
||||
'batch_bmpa_run_id' => $runId,
|
||||
'bmpa_failed_only' => '1',
|
||||
'bmpa_error_keyword' => $reason,
|
||||
]), $safeBackForLinks);
|
||||
]), $safeBackForLinks, 'filters');
|
||||
}
|
||||
}
|
||||
@endphp
|
||||
|
||||
Reference in New Issue
Block a user