feat(mock): 完善关键因素 mock 数据,匹配组件类型定义
- 更新平安银行关键因素数据:4个分类(财务指标/业务发展/风险因素/战略布局)8个因素 - 更新通用股票关键因素数据:3个分类(财务指标/业务发展/风险因素)6个因素 - 字段对齐组件类型定义:factor_name, factor_value, factor_unit, factor_desc, impact_direction, impact_weight, year_on_year, report_period - 同步更新 development_timeline 事件格式 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -843,53 +843,105 @@ export const PINGAN_BANK_DATA = {
|
||||
// 关键因素时间线 - 结构与组件期望格式匹配
|
||||
keyFactorsTimeline: {
|
||||
key_factors: {
|
||||
total_factors: 5,
|
||||
total_factors: 8,
|
||||
categories: [
|
||||
{
|
||||
category_name: '正面因素',
|
||||
category_type: 'positive',
|
||||
category_name: '财务指标',
|
||||
factors: [
|
||||
{
|
||||
factor_name: '零售转型深化',
|
||||
impact_score: 9.2,
|
||||
description: '零售业务收入占比持续提升,已超过50%,客户基础和AUM稳步增长',
|
||||
trend: 'improving'
|
||||
factor_name: '净息差',
|
||||
factor_value: 2.45,
|
||||
factor_unit: '%',
|
||||
factor_desc: '利率市场化推进下,净息差较上年同期收窄12bp,但仍处于行业中上水平',
|
||||
impact_direction: 'negative',
|
||||
impact_weight: 85,
|
||||
year_on_year: -4.7,
|
||||
report_period: '2024Q3'
|
||||
},
|
||||
{
|
||||
factor_name: '金融科技领先',
|
||||
impact_score: 8.8,
|
||||
description: 'AI、大数据等技术应用深化,智能化转型成效显著',
|
||||
trend: 'stable'
|
||||
factor_name: '不良贷款率',
|
||||
factor_value: 1.05,
|
||||
factor_unit: '%',
|
||||
factor_desc: '资产质量稳中向好,不良贷款率环比下降3bp,拨备覆盖率保持在280%以上',
|
||||
impact_direction: 'positive',
|
||||
impact_weight: 90,
|
||||
year_on_year: -2.8,
|
||||
report_period: '2024Q3'
|
||||
},
|
||||
{
|
||||
factor_name: '资产质量稳定',
|
||||
impact_score: 8.5,
|
||||
description: '不良贷款率控制在较低水平,风险抵御能力强',
|
||||
trend: 'stable'
|
||||
factor_name: '零售AUM',
|
||||
factor_value: 4.2,
|
||||
factor_unit: '万亿',
|
||||
factor_desc: '零售客户资产管理规模持续增长,同比增长15.3%,财富管理转型成效显著',
|
||||
impact_direction: 'positive',
|
||||
impact_weight: 88,
|
||||
year_on_year: 15.3,
|
||||
report_period: '2024Q3'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
category_name: '负面因素',
|
||||
category_type: 'negative',
|
||||
category_name: '业务发展',
|
||||
factors: [
|
||||
{
|
||||
factor_name: '息差压力',
|
||||
impact_score: 6.5,
|
||||
description: '利率市场化持续推进,净息差面临收窄压力',
|
||||
trend: 'declining'
|
||||
factor_name: '零售营收占比',
|
||||
factor_value: 58.3,
|
||||
factor_unit: '%',
|
||||
factor_desc: '零售银行转型深化,零售业务收入占比持续提升,成为最主要的盈利来源',
|
||||
impact_direction: 'positive',
|
||||
impact_weight: 92,
|
||||
year_on_year: 3.2,
|
||||
report_period: '2024Q3'
|
||||
},
|
||||
{
|
||||
factor_name: '对公贷款增速',
|
||||
factor_value: 8.5,
|
||||
factor_unit: '%',
|
||||
factor_desc: '对公业务稳步发展,聚焦制造业、绿色金融等重点领域',
|
||||
impact_direction: 'neutral',
|
||||
impact_weight: 70,
|
||||
year_on_year: -1.2,
|
||||
report_period: '2024Q3'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
category_name: '中性因素',
|
||||
category_type: 'neutral',
|
||||
category_name: '风险因素',
|
||||
factors: [
|
||||
{
|
||||
factor_name: '监管趋严',
|
||||
impact_score: 7.0,
|
||||
description: '金融监管持续强化,合规成本有所上升',
|
||||
trend: 'stable'
|
||||
factor_name: '房地产敞口',
|
||||
factor_value: 3200,
|
||||
factor_unit: '亿元',
|
||||
factor_desc: '房地产相关贷款余额约3200亿,占比8.5%,需持续关注行业风险演变',
|
||||
impact_direction: 'negative',
|
||||
impact_weight: 75,
|
||||
year_on_year: -5.2,
|
||||
report_period: '2024Q3'
|
||||
},
|
||||
{
|
||||
factor_name: '信用成本',
|
||||
factor_value: 1.32,
|
||||
factor_unit: '%',
|
||||
factor_desc: '信用成本率保持相对稳定,风险抵补能力充足',
|
||||
impact_direction: 'neutral',
|
||||
impact_weight: 72,
|
||||
year_on_year: 0.05,
|
||||
report_period: '2024Q3'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
category_name: '战略布局',
|
||||
factors: [
|
||||
{
|
||||
factor_name: '科技投入',
|
||||
factor_value: 120,
|
||||
factor_unit: '亿元',
|
||||
factor_desc: '持续加大金融科技投入,AI、大数据应用深化,数字化转型领先同业',
|
||||
impact_direction: 'positive',
|
||||
impact_weight: 85,
|
||||
year_on_year: 18.5,
|
||||
report_period: '2024'
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1422,41 +1474,80 @@ export const generateCompanyData = (stockCode, stockName = '示例公司') => {
|
||||
},
|
||||
keyFactorsTimeline: {
|
||||
key_factors: {
|
||||
total_factors: 3,
|
||||
total_factors: 6,
|
||||
categories: [
|
||||
{
|
||||
category_name: '正面因素',
|
||||
category_type: 'positive',
|
||||
category_name: '财务指标',
|
||||
factors: [
|
||||
{
|
||||
factor_name: '业绩增长',
|
||||
impact_score: 8.5,
|
||||
description: '营收和利润保持稳定增长态势',
|
||||
trend: 'improving'
|
||||
factor_name: '营收增速',
|
||||
factor_value: 12.5,
|
||||
factor_unit: '%',
|
||||
factor_desc: '营业收入保持稳定增长,主营业务发展良好',
|
||||
impact_direction: 'positive',
|
||||
impact_weight: 85,
|
||||
year_on_year: 2.3,
|
||||
report_period: '2024Q3'
|
||||
},
|
||||
{
|
||||
factor_name: '毛利率',
|
||||
factor_value: 35.2,
|
||||
factor_unit: '%',
|
||||
factor_desc: '毛利率水平稳定,成本控制能力较强',
|
||||
impact_direction: 'neutral',
|
||||
impact_weight: 75,
|
||||
year_on_year: -0.8,
|
||||
report_period: '2024Q3'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
category_name: '负面因素',
|
||||
category_type: 'negative',
|
||||
category_name: '业务发展',
|
||||
factors: [
|
||||
{
|
||||
factor_name: '市场份额',
|
||||
factor_value: 15.8,
|
||||
factor_unit: '%',
|
||||
factor_desc: '市场份额稳步提升,竞争优势逐步巩固',
|
||||
impact_direction: 'positive',
|
||||
impact_weight: 82,
|
||||
year_on_year: 1.5,
|
||||
report_period: '2024Q3'
|
||||
},
|
||||
{
|
||||
factor_name: '新产品贡献',
|
||||
factor_value: 22.3,
|
||||
factor_unit: '%',
|
||||
factor_desc: '新产品收入占比提升,创新驱动成效明显',
|
||||
impact_direction: 'positive',
|
||||
impact_weight: 78,
|
||||
year_on_year: 5.2,
|
||||
report_period: '2024Q3'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
category_name: '风险因素',
|
||||
factors: [
|
||||
{
|
||||
factor_name: '原材料成本',
|
||||
impact_score: 6.0,
|
||||
description: '原材料价格波动影响毛利率',
|
||||
trend: 'declining'
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
category_name: '中性因素',
|
||||
category_type: 'neutral',
|
||||
factors: [
|
||||
factor_value: 28.5,
|
||||
factor_unit: '%',
|
||||
factor_desc: '原材料成本占比上升,需关注价格波动影响',
|
||||
impact_direction: 'negative',
|
||||
impact_weight: 70,
|
||||
year_on_year: 3.2,
|
||||
report_period: '2024Q3'
|
||||
},
|
||||
{
|
||||
factor_name: '市场竞争',
|
||||
impact_score: 7.0,
|
||||
description: '行业竞争加剧,需持续提升竞争力',
|
||||
trend: 'stable'
|
||||
factor_name: '应收账款周转',
|
||||
factor_value: 85,
|
||||
factor_unit: '天',
|
||||
factor_desc: '应收账款周转天数有所增加,需加强回款管理',
|
||||
impact_direction: 'negative',
|
||||
impact_weight: 65,
|
||||
year_on_year: 8,
|
||||
report_period: '2024Q3'
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1465,14 +1556,50 @@ export const generateCompanyData = (stockCode, stockName = '示例公司') => {
|
||||
development_timeline: {
|
||||
statistics: {
|
||||
positive_events: 4,
|
||||
negative_events: 0,
|
||||
neutral_events: 0
|
||||
negative_events: 1,
|
||||
neutral_events: 1
|
||||
},
|
||||
events: [
|
||||
{ date: '2024-10-28', event: '发布三季报', type: '业绩公告', importance: 'high', impact: '业绩超预期', change: '+3.5%', sentiment: 'positive' },
|
||||
{ date: '2024-08-28', event: '发布中报', type: '业绩公告', importance: 'high', impact: '业绩稳定增长', change: '+2.8%', sentiment: 'positive' },
|
||||
{ date: '2024-06-15', event: '新产品发布', type: '产品发布', importance: 'medium', impact: '丰富产品线', change: '+1.5%', sentiment: 'positive' },
|
||||
{ date: '2024-04-28', event: '发布一季报', type: '业绩公告', importance: 'high', impact: '开门红', change: '+2.2%', sentiment: 'positive' }
|
||||
{
|
||||
event_date: '2024-10-28',
|
||||
event_title: '发布2024年三季报',
|
||||
event_type: '业绩公告',
|
||||
event_desc: '前三季度业绩稳健增长,营收和净利润均实现双位数增长',
|
||||
impact_metrics: { impact_score: 82, is_positive: true },
|
||||
related_info: { financial_impact: '股价当日上涨3.5%' }
|
||||
},
|
||||
{
|
||||
event_date: '2024-08-28',
|
||||
event_title: '发布2024年中报',
|
||||
event_type: '业绩公告',
|
||||
event_desc: '上半年业绩稳定增长,各项经营指标符合预期',
|
||||
impact_metrics: { impact_score: 75, is_positive: true },
|
||||
related_info: { financial_impact: '股价累计上涨2.8%' }
|
||||
},
|
||||
{
|
||||
event_date: '2024-06-15',
|
||||
event_title: '新产品发布会',
|
||||
event_type: '产品发布',
|
||||
event_desc: '发布新一代产品系列,技术升级明显,市场反响良好',
|
||||
impact_metrics: { impact_score: 70, is_positive: true },
|
||||
related_info: { financial_impact: '预计贡献增量收入10-15%' }
|
||||
},
|
||||
{
|
||||
event_date: '2024-05-20',
|
||||
event_title: '原材料价格上涨',
|
||||
event_type: '成本压力',
|
||||
event_desc: '主要原材料价格上涨约8%,对毛利率形成一定压力',
|
||||
impact_metrics: { impact_score: 55, is_positive: false },
|
||||
related_info: { financial_impact: '预计影响毛利率0.5-1个百分点' }
|
||||
},
|
||||
{
|
||||
event_date: '2024-04-28',
|
||||
event_title: '发布2024年一季报',
|
||||
event_type: '业绩公告',
|
||||
event_desc: '一季度业绩实现开门红,主要指标好于市场预期',
|
||||
impact_metrics: { impact_score: 78, is_positive: true },
|
||||
related_info: { financial_impact: '股价上涨2.2%' }
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user