fix: 修复Agent头像显示和结果弹窗问题
主要修复: - 恢复Agent真实头像显示(替换emoji为实际图片) - 删除自动跳转到ResultPageV2的逻辑 - 修改ResultModal支持动态内容显示 - 根据不同订单班显示对应的方案信息 优化内容: - 重构Agent系统,每个订单班独立管理Agent配置 - 删除不需要的ResultPageV2组件 - handleViewDetails改为在新标签页打开 影响模块: - web_frontend/exhibition-demo/src/components/ResultModal.tsx - web_frontend/exhibition-demo/src/pages/WorkflowPageV4.tsx - web_frontend/exhibition-demo/src/App.tsx - web_frontend/exhibition-demo/src/data/terminalSimulations/*.ts 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
60
web_frontend/exhibition-demo/src/data/agents/foodAgents.ts
Normal file
60
web_frontend/exhibition-demo/src/data/agents/foodAgents.ts
Normal file
@@ -0,0 +1,60 @@
|
||||
// 食品订单班专属Agent配置
|
||||
export interface FoodAgent {
|
||||
id: string;
|
||||
name: string;
|
||||
icon: string;
|
||||
avatar?: string;
|
||||
description: string;
|
||||
}
|
||||
|
||||
export const foodAgents: FoodAgent[] = [
|
||||
{
|
||||
id: 'market-research',
|
||||
name: '餐饮市场调研专家',
|
||||
icon: '🔍',
|
||||
avatar: '/data/订单班文档资料/食品/agent头像/餐饮市场调研专家.jpeg',
|
||||
description: '负责市场分析、竞品调研、消费者画像'
|
||||
},
|
||||
{
|
||||
id: 'brand-design',
|
||||
name: '餐饮品牌设计专家',
|
||||
icon: '🎨',
|
||||
avatar: '/data/订单班文档资料/食品/agent头像/餐饮品牌设计专家.jpeg',
|
||||
description: '负责品牌定位、视觉设计、空间设计'
|
||||
},
|
||||
{
|
||||
id: 'menu-development',
|
||||
name: '菜品研发专家',
|
||||
icon: '👨🍳',
|
||||
avatar: '/data/订单班文档资料/食品/agent头像/菜品研发专家.jpeg',
|
||||
description: '负责菜单设计、营养搭配、口味调试'
|
||||
},
|
||||
{
|
||||
id: 'location-design',
|
||||
name: '餐厅选址装修专家',
|
||||
icon: '🏪',
|
||||
avatar: '/data/订单班文档资料/食品/agent头像/餐厅选址装修专家.jpeg',
|
||||
description: '负责选址分析、装修设计、空间规划'
|
||||
},
|
||||
{
|
||||
id: 'team-management',
|
||||
name: '餐饮团队人员管理专家',
|
||||
icon: '👥',
|
||||
avatar: '/data/订单班文档资料/食品/agent头像/餐饮团队人员管理专家.jpeg',
|
||||
description: '负责团队组建、培训体系、绩效管理'
|
||||
},
|
||||
{
|
||||
id: 'budget',
|
||||
name: '财务预算专家',
|
||||
icon: '💰',
|
||||
avatar: '/data/订单班文档资料/食品/agent头像/财务预算专家.jpeg',
|
||||
description: '负责投资预算、成本核算、财务规划'
|
||||
},
|
||||
{
|
||||
id: 'operation',
|
||||
name: '轻食店经营管理专家',
|
||||
icon: '📊',
|
||||
avatar: '/data/订单班文档资料/食品/agent头像/轻食店经营管理专家.jpeg',
|
||||
description: '负责运营策略、流程优化、质量管理'
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user