feat(admin): 重复批量投递warning提供复制run_id按钮(复用copyToClipboard)
This commit is contained in:
@@ -1638,7 +1638,9 @@ class PlatformOrderController extends Controller
|
||||
if ($existing !== '' && str_starts_with($existing, 'BAS')) {
|
||||
$res = $res
|
||||
->with('warning_link_href', '/admin/platform-batches/show?type=bas&run_id=' . urlencode($existing))
|
||||
->with('warning_link_label', '进入上次批次复盘');
|
||||
->with('warning_link_label', '进入上次批次复盘')
|
||||
->with('warning_copy_text', $existing)
|
||||
->with('warning_copy_label', '复制run_id');
|
||||
}
|
||||
|
||||
return $res;
|
||||
@@ -1789,7 +1791,9 @@ class PlatformOrderController extends Controller
|
||||
if ($existing !== '' && str_starts_with($existing, 'BMPA')) {
|
||||
$res = $res
|
||||
->with('warning_link_href', '/admin/platform-batches/show?type=bmpa&run_id=' . urlencode($existing))
|
||||
->with('warning_link_label', '进入上次批次复盘');
|
||||
->with('warning_link_label', '进入上次批次复盘')
|
||||
->with('warning_copy_text', $existing)
|
||||
->with('warning_copy_label', '复制run_id');
|
||||
}
|
||||
|
||||
return $res;
|
||||
|
||||
Reference in New Issue
Block a user