Platform batch show: add copy run_id button in spot-check

This commit is contained in:
萝卜
2026-03-18 09:25:21 +08:00
parent 96a686f71e
commit 7e6b77d1b6
2 changed files with 85 additions and 0 deletions

View File

@@ -127,6 +127,7 @@
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-link" data-role="copy-spot-check-link" data-label="{{ $spotCheck['label'] ?? '抽样复核' }}" data-href="{{ $spotCheck['url'] }}">复制链接</button>
@if(($spotCheck['order_id'] ?? 0) > 0)
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-text" data-role="copy-spot-check-order-id" data-copy-label="订单ID" data-copy-text="{{ $spotCheck['order_id'] }}">复制订单ID</button>
<button type="button" class="btn btn-secondary btn-xs" data-action="copy-text" data-role="copy-spot-check-run-id" data-copy-label="run_id" data-copy-text="{{ $runId }}">复制 run_id</button>
@endif
<span class="muted muted-xs">(从本批次成功集合抽一单,用于 spot-check</span>
@if(($spotCheck['order_id'] ?? 0) > 0)