feat(process): 添加5W1H记忆辅助信息并优化页面布局

- 在Process接口中添加5W1H可选字段
- 为所有过程添加5W1H记忆辅助信息
- 优化知识领域、过程组和过程详情页面的紧凑布局
- 在过程详情页添加5W1H记忆卡片展示
- 调整动画效果和间距提升用户体验
This commit is contained in:
史悦
2026-02-03 10:14:24 +08:00
parent f0823fad30
commit 8651747c12
5 changed files with 679 additions and 392 deletions

View File

@@ -26,6 +26,16 @@ export interface ProcessGroup {
processCount: number; // 包含的过程数量
}
// 5W1H记忆辅助信息
export interface Process5W1H {
who: string; // 谁负责执行
what: string; // 做什么(核心目的)
when: string; // 什么时候执行
where: string; // 在哪里/什么场景执行
why: string; // 为什么要执行(价值意义)
how: string; // 如何执行(关键方法)
}
// 过程
export interface Process {
id: string; // 如 "P4.1"
@@ -38,6 +48,7 @@ export interface Process {
inputs: string[]; // 输入工件ID列表
tools: string[]; // 工具与技术ID列表
outputs: string[]; // 输出工件ID列表
w5h1?: Process5W1H; // 5W1H记忆辅助信息
}
// 工件类别