ui(platform-orders): add governance links for bmpa last_result
This commit is contained in:
@@ -1591,6 +1591,31 @@
|
||||
|
||||
@if($blrRunId !== '')
|
||||
<div class="muted muted-xs">结果:成功{{ $blrSuccess }} / 失败{{ $blrFailed }}</div>
|
||||
@php
|
||||
// 本批次一键治理入口:快速跳转到“同批次 BMPA 失败集合/按原因筛选”
|
||||
$blrGoFailedUrl = $buildQuickFilterUrl([
|
||||
'batch_bmpa_run_id' => $blrRunId,
|
||||
'bmpa_failed_only' => '1',
|
||||
'page' => null,
|
||||
]);
|
||||
|
||||
$blrGoTopReasonUrl = '';
|
||||
if ($blrTopReason !== '' && mb_strlen($blrTopReason) <= $SYNC_ERROR_KEYWORD_LINK_MAX_LEN) {
|
||||
$blrGoTopReasonUrl = $buildQuickFilterUrl([
|
||||
'batch_bmpa_run_id' => $blrRunId,
|
||||
'bmpa_failed_only' => '1',
|
||||
'bmpa_error_keyword' => $blrTopReason,
|
||||
'page' => null,
|
||||
]);
|
||||
}
|
||||
@endphp
|
||||
<div class="muted muted-xs">治理:
|
||||
<a class="link" href="{!! $blrGoFailedUrl !!}">本批次失败</a>
|
||||
@if($blrGoTopReasonUrl !== '')
|
||||
<span class="muted">|</span>
|
||||
<a class="link" href="{!! $blrGoTopReasonUrl !!}">按Top原因</a>
|
||||
@endif
|
||||
</div>
|
||||
@if($blrTopReason !== '')
|
||||
<div class="muted muted-xs">Top:{{ mb_substr($blrTopReason, 0, 40) }}({{ $blrTopReasonCount }})</div>
|
||||
@endif
|
||||
|
||||
Reference in New Issue
Block a user