-
工单列表(占位)
-
下一步将接入:筛选(scope/状态/优先级/关联对象)、创建工单、指派、SLA、升级链路与审计。
+
+
+
+
+
+
+ | ID |
+ 范围 |
+ 标题 |
+ 优先级 |
+ 状态 |
+ 关联对象 |
+ 创建时间 |
+
+
+
+
+ | 暂无工单(占位:后续接入数据模型后展示) |
+
+
+
+
@endsection
diff --git a/tests/Feature/AdminSupportTicketsIndexShouldUsePageHeaderAndListCardTest.php b/tests/Feature/AdminSupportTicketsIndexShouldUsePageHeaderAndListCardTest.php
new file mode 100644
index 0000000..a3a3a35
--- /dev/null
+++ b/tests/Feature/AdminSupportTicketsIndexShouldUsePageHeaderAndListCardTest.php
@@ -0,0 +1,43 @@
+seed();
+
+ $this->post('/admin/login', [
+ 'email' => 'platform.admin@demo.local',
+ 'password' => 'Platform@123456',
+ ])->assertRedirect('/admin');
+ }
+
+ public function test_admin_support_tickets_index_should_use_page_header_and_list_card(): void
+ {
+ $this->loginAsPlatformAdmin();
+
+ $response = $this->get('/admin/support-tickets');
+ $response->assertOk();
+
+ // 护栏:占位页也要走统一的 PageHeader + ListCard 骨架,后续加功能不返工。
+ $response->assertSee('page-header', false);
+ $response->assertSee('page-header-title', false);
+ $response->assertSee('page-header-subtitle', false);
+ $response->assertSee('page-header-actions', false);
+ $response->assertSee('page-header-meta', false);
+
+ $response->assertSee('list-card', false);
+ $response->assertSee('list-card-header', false);
+ $response->assertSee('list-card-body', false);
+ $response->assertSee('list-card-table', false);
+
+ $response->assertSee('table-empty', false);
+ }
+}