From 763c78bd7e248881a4e38a30dc1c7450977a6154 Mon Sep 17 00:00:00 2001 From: Nelson <1475262689@qq.com> Date: Fri, 31 Jul 2026 16:25:50 +0800 Subject: [PATCH] feat: expand user growth record view --- .../apps/user-client/src/App.vue | 25 ++++++++++++++++++- .../docs/qianwen_product_todo.md | 4 +++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/ai_knowledge_base_v2/apps/user-client/src/App.vue b/ai_knowledge_base_v2/apps/user-client/src/App.vue index 0fd4a4e..457c403 100644 --- a/ai_knowledge_base_v2/apps/user-client/src/App.vue +++ b/ai_knowledge_base_v2/apps/user-client/src/App.vue @@ -30,6 +30,8 @@ const helpCard = ref(null); const helpCardContent = ref(""); const shareDraft = ref(null); const shareDraftContent = ref(""); +const helpCardHistory = ref([]); +const shareDraftHistory = ref([]); const profileLoading = ref(false); const finishingTopic = ref(false); const generatingHelpCard = ref(false); @@ -292,7 +294,14 @@ async function openGrowthProfile() { profileDialogOpen.value = true; profileLoading.value = true; try { - growthProfile.value = await api.growthProfile(); + const [profileResult, helpCards, shareDrafts] = await Promise.all([ + api.growthProfile(), + api.helpCards(10), + api.shareDrafts(10), + ]); + growthProfile.value = profileResult; + helpCardHistory.value = helpCards; + shareDraftHistory.value = shareDrafts; } catch (error) { handleError(error, "成长档案加载失败"); } finally { @@ -482,6 +491,20 @@ async function copyText(text: string) {

{{ item.summary }}

+
+

最近老师求助卡

+
+ +

{{ item.content.slice(0, 140) }}{{ item.content.length > 140 ? '…' : '' }}

+
+
+
+

最近班级分享稿

+
+ +

{{ item.content.slice(0, 140) }}{{ item.content.length > 140 ? '…' : '' }}

+
+
diff --git a/ai_knowledge_base_v2/docs/qianwen_product_todo.md b/ai_knowledge_base_v2/docs/qianwen_product_todo.md index 56762e7..ca36a0c 100644 --- a/ai_knowledge_base_v2/docs/qianwen_product_todo.md +++ b/ai_knowledge_base_v2/docs/qianwen_product_todo.md @@ -686,6 +686,10 @@ AI 日志增加: - 用户能查看成长档案摘要; - 基础版和深度版展示边界不同。 +#### 开发进度 + +- 2026-07-31:用户端“我的档案”弹窗已扩展为实修记录视图,可查看成长档案摘要、最近主题沉淀、最近老师求助卡和最近班级分享稿;仍保持“我的实修记录”表达,不做后台画像式展示。 + --- ### 11. 后台用户详情升级