From 3d535da44b9123ff1ddc4b473774085e0107fe17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=90=9D=E5=8D=9C?= Date: Wed, 11 Mar 2026 03:29:02 +0000 Subject: [PATCH] =?UTF-8?q?feat(admin):=20=E5=8F=AF=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E8=AE=A2=E5=8D=95=E8=B7=B3=E8=BD=AC=E5=A2=9E=E5=8A=A0=E9=94=9A?= =?UTF-8?q?=E7=82=B9=E5=AE=9A=E4=BD=8D=E6=89=B9=E9=87=8F=E5=90=8C=E6=AD=A5?= =?UTF-8?q?=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/platform_orders/show.blade.php | 2 +- resources/views/admin/site_subscriptions/show.blade.php | 2 +- tests/Feature/AdminPlatformOrderShowTest.php | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/resources/views/admin/platform_orders/show.blade.php b/resources/views/admin/platform_orders/show.blade.php index c242439..41e0675 100644 --- a/resources/views/admin/platform_orders/show.blade.php +++ b/resources/views/admin/platform_orders/show.blade.php @@ -136,7 +136,7 @@ $openSubSyncableUrl = '/admin/site-subscriptions/' . $order->siteSubscription->id . '?' . \Illuminate\Support\Arr::query([ 'back' => $subBack, 'order_sync_status' => 'syncable', - ]); + ]) . '#syncable-batch'; @endphp 查看可同步订单 diff --git a/resources/views/admin/site_subscriptions/show.blade.php b/resources/views/admin/site_subscriptions/show.blade.php index 7fc308b..1bcc87e 100644 --- a/resources/views/admin/site_subscriptions/show.blade.php +++ b/resources/views/admin/site_subscriptions/show.blade.php @@ -120,7 +120,7 @@ @endif -
+
@csrf diff --git a/tests/Feature/AdminPlatformOrderShowTest.php b/tests/Feature/AdminPlatformOrderShowTest.php index 2e3c60b..8ccc849 100644 --- a/tests/Feature/AdminPlatformOrderShowTest.php +++ b/tests/Feature/AdminPlatformOrderShowTest.php @@ -106,6 +106,7 @@ class AdminPlatformOrderShowTest extends TestCase ->assertSee('打开订阅详情') ->assertSee('/admin/site-subscriptions/' . $sub->id . '?back=' . urlencode('/admin/platform-orders/' . $order->id), false) ->assertSee('order_sync_status=syncable') + ->assertSee('#syncable-batch') ->assertSee('审计记录') ->assertSee('清除同步失败标记'); }