From 3ffb6f23b0fe2d025bbcbfe309f03eb7189e020c Mon Sep 17 00:00:00 2001 From: bruce Date: Thu, 4 Jun 2026 04:20:19 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E7=BB=9F=E4=B8=80=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E6=8C=87=E6=8C=A5=E5=8F=B0=E5=9B=9B=E5=85=A5=E5=8F=A3=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=8F=A3=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/platform_ui/command_center_v2.html | 8 ++++---- tests/test_platform_ui.py | 15 +++++++++++++++ 2 files changed, 19 insertions(+), 4 deletions(-) diff --git a/templates/platform_ui/command_center_v2.html b/templates/platform_ui/command_center_v2.html index 5a62efa..799b447 100644 --- a/templates/platform_ui/command_center_v2.html +++ b/templates/platform_ui/command_center_v2.html @@ -899,13 +899,13 @@ diff --git a/tests/test_platform_ui.py b/tests/test_platform_ui.py index 9bcb958..fb355cb 100644 --- a/tests/test_platform_ui.py +++ b/tests/test_platform_ui.py @@ -197,3 +197,18 @@ def test_command_center_v2_renders_and_links_to_chat_index(client): assert response.status_code == 200 assert "试剂盒临床注册文件准备与审核智能体平台" in content assert reverse("chat:index") in content + + +def test_command_center_v2_uses_unified_four_entry_labels(client): + response = client.get(reverse("platform_ui:command-center-v2")) + + content = response.content.decode("utf-8") + assert response.status_code == 200 + assert "审核智能体" in content + assert "资料包" in content + assert "知识库" in content + assert "处理历史" in content + assert "资料包管理" not in content + assert "法规库" not in content + assert "智能审核" not in content + assert "统计分析" not in content