feat(batch): 复制治理链接补齐label并复制绝对URL

This commit is contained in:
萝卜
2026-03-17 16:55:34 +08:00
parent d219712567
commit da085a239f
3 changed files with 61 additions and 6 deletions

View File

@@ -124,12 +124,12 @@
@if(($governanceLinks['failed'] ?? '') !== '')
<span class="muted"></span>
<a class="link" href="{{ $governanceLinks['failed'] }}">本批次失败</a>
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-link" data-role="copy-failed-link" data-href="{{ $governanceLinks['failed'] }}">复制链接</button>
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-link" data-role="copy-failed-link" data-label="本批次失败" data-href="{{ $governanceLinks['failed'] }}">复制链接</button>
@endif
@if(($governanceLinks['top_reason'] ?? '') !== '')
<span class="muted"></span>
<a class="link" href="{{ $governanceLinks['top_reason'] }}">按Top原因</a>
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-link" data-role="copy-top-reason-link" data-href="{{ $governanceLinks['top_reason'] }}">复制链接</button>
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-link" data-role="copy-top-reason-link" data-label="按Top原因" data-href="{{ $governanceLinks['top_reason'] }}">复制链接</button>
@endif
@if(($governanceLinks['retry_syncable'] ?? '') !== '')
<span class="muted"></span>