From 0f989f4c95060158072c76750b06db90580867ce Mon Sep 17 00:00:00 2001 From: bruce Date: Thu, 4 Jun 2026 03:09:13 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A1=A5=E9=BD=90=E9=A3=8E=E9=99=A9?= =?UTF-8?q?=E5=8D=A1=E8=B4=A3=E4=BB=BB=E4=BA=BA=E9=A3=9E=E4=B9=A6=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=B1=95=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/chat/index.html | 10 +++++++++- tests/test_chat.py | 7 ++++++- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/templates/chat/index.html b/templates/chat/index.html index ed9a7a4..a460280 100644 --- a/templates/chat/index.html +++ b/templates/chat/index.html @@ -249,6 +249,10 @@ department chapter_scope risk_scope + feishu_user_id + feishu_open_id + feishu_name + notify_enabled @@ -259,9 +263,13 @@ {{ item.department }} {{ item.chapter_scope }} {{ item.risk_scope }} + {{ item.feishu_user_id }} + {{ item.feishu_open_id }} + {{ item.feishu_name }} + {{ item.notify_enabled|yesno:"True,False" }} {% empty %} - 当前无责任角色。 + 当前无责任角色。 {% endfor %} diff --git a/tests/test_chat.py b/tests/test_chat.py index a16b4b9..abd1af4 100644 --- a/tests/test_chat.py +++ b/tests/test_chat.py @@ -706,11 +706,16 @@ def test_chat_page_shows_risk_and_notification_cards_from_conversation_summary(c assert "总风险等级" in content assert "high" in content assert "注册资料负责人" in content + assert "注册事务部" in content + assert "字段冲突" in content + assert "ou_demo_1" in content + assert "on_demo_1" in content + assert "张三" in content + assert "True" in content assert "CH1.11.5 沟通记录缺失" in content assert "飞书通知能力卡" in content assert "task_completed" in content assert "sent" in content - assert "ou_demo_1" in content def test_chat_upload_keeps_existing_conversation_binding_and_adds_documents(client, db):