feat(batch): 批次页增加一键复制run_id(轻量JS)

This commit is contained in:
萝卜
2026-03-17 16:21:58 +08:00
parent 8f409e2124
commit 38ac28ada2
3 changed files with 103 additions and 0 deletions

View File

@@ -39,6 +39,9 @@
</div>
<div class="actions gap-10">
<a class="btn btn-secondary btn-sm" href="{{ $backToListUrl }}">返回上一页</a>
@if($runId !== '')
<button type="button" class="btn btn-secondary btn-sm" data-action="copy-run-id" data-run-id="{{ $runId }}">复制 run_id</button>
@endif
<a class="btn btn-secondary btn-sm" href="/admin/platform-batches/show?type={{ $type }}&run_id={{ urlencode($runId) }}&back={{ urlencode($selfWithoutBack) }}">刷新</a>
</div>
</div>