feat(batch): add copy buttons for all/retry governance links on batch show
This commit is contained in:
@@ -120,6 +120,7 @@
|
||||
<div class="inline-links">
|
||||
@if(($governanceLinks['all'] ?? '') !== '')
|
||||
<a class="link" href="{{ $governanceLinks['all'] }}">本批次全部</a>
|
||||
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-link" data-role="copy-all-link" data-label="本批次全部" data-href="{{ $governanceLinks['all'] }}">复制链接</button>
|
||||
@endif
|
||||
@if(($governanceLinks['failed'] ?? '') !== '')
|
||||
<span class="muted">|</span>
|
||||
@@ -134,10 +135,12 @@
|
||||
@if(($governanceLinks['retry_syncable'] ?? '') !== '')
|
||||
<span class="muted">|</span>
|
||||
<a class="link" href="{{ $governanceLinks['retry_syncable'] }}">本批次可同步重试</a>
|
||||
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-link" data-role="copy-retry-syncable-link" data-label="本批次可同步重试" data-href="{{ $governanceLinks['retry_syncable'] }}">复制链接</button>
|
||||
@endif
|
||||
@if(($governanceLinks['retry_processable'] ?? '') !== '')
|
||||
<span class="muted">|</span>
|
||||
<a class="link" href="{{ $governanceLinks['retry_processable'] }}">本批次可再次尝试(可BMPA处理)</a>
|
||||
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-link" data-role="copy-retry-processable-link" data-label="本批次可再次尝试" data-href="{{ $governanceLinks['retry_processable'] }}">复制链接</button>
|
||||
@endif
|
||||
</div>
|
||||
<div class="muted muted-xs mt-6">说明:当前批次为“冗余写入到每条订单 meta.last_result”的模式;后续可演进为独立批次表。</div>
|
||||
|
||||
Reference in New Issue
Block a user