重构: 收口失败原因治理文案链接组件
This commit is contained in:
@@ -921,14 +921,23 @@
|
|||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
<span class="muted">原因过长,请复制到筛选框</span>
|
<span class="muted">原因过长,请复制到筛选框</span>
|
||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
<a class="link" href="{!! $safeFullUrlWithQuery(['sync_status' => 'failed', 'page' => null]) !!}">进入同步失败集合</a>
|
@include('admin.platform_orders._summary_text_link', [
|
||||||
|
'href' => $safeFullUrlWithQuery(['sync_status' => 'failed', 'page' => null]),
|
||||||
|
'label' => '进入同步失败集合',
|
||||||
|
])
|
||||||
@else
|
@else
|
||||||
<a class="link" title="{{ $reason }}" href="{!! $safeFullUrlWithQuery(['sync_error_keyword' => $reason, 'sync_status' => 'failed', 'page' => null]) !!}">{{ $reasonText }}</a>
|
<a class="link" title="{{ $reason }}" href="{!! $safeFullUrlWithQuery(['sync_error_keyword' => $reason, 'sync_status' => 'failed', 'page' => null]) !!}">{{ $reasonText }}</a>
|
||||||
<span class="muted">({{ $count }})</span>
|
<span class="muted">({{ $count }})</span>
|
||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
<a class="link" href="{!! $safeFullUrlWithQuery(['sync_error_keyword' => $reason, 'sync_status' => 'unsynced', 'syncable_only' => '1', 'fail_only' => null, 'page' => null]) !!}">切到可同步重试</a>
|
@include('admin.platform_orders._summary_text_link', [
|
||||||
|
'href' => $safeFullUrlWithQuery(['sync_error_keyword' => $reason, 'sync_status' => 'unsynced', 'syncable_only' => '1', 'fail_only' => null, 'page' => null]),
|
||||||
|
'label' => '切到可同步重试',
|
||||||
|
])
|
||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
<a class="link" href="{!! $safeFullUrlWithQuery(['sync_error_keyword' => $reason, 'sync_status' => 'failed', 'page' => null]) !!}">进入失败集合</a>
|
@include('admin.platform_orders._summary_text_link', [
|
||||||
|
'href' => $safeFullUrlWithQuery(['sync_error_keyword' => $reason, 'sync_status' => 'failed', 'page' => null]),
|
||||||
|
'label' => '进入失败集合',
|
||||||
|
])
|
||||||
@endif
|
@endif
|
||||||
@else
|
@else
|
||||||
<span class="muted">(空原因)</span>
|
<span class="muted">(空原因)</span>
|
||||||
@@ -965,14 +974,23 @@
|
|||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
<span class="muted">原因过长,请复制到筛选框</span>
|
<span class="muted">原因过长,请复制到筛选框</span>
|
||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
<a class="link" href="{!! $safeFullUrlWithQuery(['bmpa_failed_only' => '1', 'bmpa_error_keyword' => null, 'page' => null]) !!}">进入失败集合</a>
|
@include('admin.platform_orders._summary_text_link', [
|
||||||
|
'href' => $safeFullUrlWithQuery(['bmpa_failed_only' => '1', 'bmpa_error_keyword' => null, 'page' => null]),
|
||||||
|
'label' => '进入失败集合',
|
||||||
|
])
|
||||||
@else
|
@else
|
||||||
<a class="link" title="{{ $reason }}" href="{!! $safeFullUrlWithQuery(['bmpa_failed_only' => '1', 'bmpa_error_keyword' => $reason, 'page' => null]) !!}">{{ $reasonText }}</a>
|
<a class="link" title="{{ $reason }}" href="{!! $safeFullUrlWithQuery(['bmpa_failed_only' => '1', 'bmpa_error_keyword' => $reason, 'page' => null]) !!}">{{ $reasonText }}</a>
|
||||||
<span class="muted">({{ $count }})</span>
|
<span class="muted">({{ $count }})</span>
|
||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
<a class="link" href="{!! $safeFullUrlWithQuery(['bmpa_error_keyword' => $reason, 'bmpa_processable_only' => '1', 'bmpa_failed_only' => null, 'page' => null]) !!}">切到可处理集合重试</a>
|
@include('admin.platform_orders._summary_text_link', [
|
||||||
|
'href' => $safeFullUrlWithQuery(['bmpa_error_keyword' => $reason, 'bmpa_processable_only' => '1', 'bmpa_failed_only' => null, 'page' => null]),
|
||||||
|
'label' => '切到可处理集合重试',
|
||||||
|
])
|
||||||
<span class="muted">|</span>
|
<span class="muted">|</span>
|
||||||
<a class="link" href="{!! $safeFullUrlWithQuery(['bmpa_failed_only' => '1', 'bmpa_error_keyword' => $reason, 'page' => null]) !!}">进入失败集合</a>
|
@include('admin.platform_orders._summary_text_link', [
|
||||||
|
'href' => $safeFullUrlWithQuery(['bmpa_failed_only' => '1', 'bmpa_error_keyword' => $reason, 'page' => null]),
|
||||||
|
'label' => '进入失败集合',
|
||||||
|
])
|
||||||
@endif
|
@endif
|
||||||
@else
|
@else
|
||||||
<span class="muted">(空原因)</span>
|
<span class="muted">(空原因)</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user