feat: 添加mock 数据
This commit is contained in:
@@ -1,37 +1,45 @@
|
|||||||
// src/mocks/data/company.js
|
// src/mocks/data/company.js
|
||||||
// 公司相关的 Mock 数据
|
// 公司相关的 Mock 数据
|
||||||
|
// 字段名与后端 API 返回格式保持一致
|
||||||
|
|
||||||
// 平安银行 (000001) 的完整数据
|
// 平安银行 (000001) 的完整数据
|
||||||
export const PINGAN_BANK_DATA = {
|
export const PINGAN_BANK_DATA = {
|
||||||
stockCode: '000001',
|
stockCode: '000001',
|
||||||
stockName: '平安银行',
|
stockName: '平安银行',
|
||||||
|
|
||||||
// 基本信息
|
// 基本信息 - 字段名与后端 API 保持一致
|
||||||
basicInfo: {
|
basicInfo: {
|
||||||
code: '000001',
|
SECCODE: '000001',
|
||||||
name: '平安银行',
|
SECNAME: '平安银行',
|
||||||
|
ORGNAME: '平安银行股份有限公司',
|
||||||
english_name: 'Ping An Bank Co., Ltd.',
|
english_name: 'Ping An Bank Co., Ltd.',
|
||||||
registered_capital: 1940642.3, // 万元
|
reg_capital: 1940642.3, // 万元
|
||||||
registered_capital_unit: '万元',
|
|
||||||
legal_representative: '谢永林',
|
legal_representative: '谢永林',
|
||||||
general_manager: '谢永林',
|
chairman: '谢永林',
|
||||||
|
general_manager: '冀光恒',
|
||||||
secretary: '周强',
|
secretary: '周强',
|
||||||
registered_address: '深圳市深南东路5047号',
|
reg_address: '深圳市罗湖区深南东路5047号',
|
||||||
office_address: '深圳市深南东路5047号',
|
office_address: '深圳市福田区益田路5023号平安金融中心',
|
||||||
zipcode: '518001',
|
zipcode: '518001',
|
||||||
phone: '0755-82080387',
|
tel: '0755-82080387',
|
||||||
fax: '0755-82080386',
|
fax: '0755-82080386',
|
||||||
email: 'ir@bank.pingan.com',
|
email: 'ir@pingan.com.cn',
|
||||||
website: 'http://bank.pingan.com',
|
website: 'http://bank.pingan.com',
|
||||||
business_scope: '吸收公众存款;发放短期、中期和长期贷款;办理国内外结算;办理票据承兑与贴现;发行金融债券;代理发行、代理兑付、承销政府债券;买卖政府债券、金融债券;从事同业拆借;买卖、代理买卖外汇;从事银行卡业务;提供信用证服务及担保;代理收付款项及代理保险业务;提供保管箱服务;经有关监管机构批准的其他业务。',
|
sw_industry_l1: '金融',
|
||||||
employees: 36542,
|
sw_industry_l2: '银行',
|
||||||
introduction: '平安银行股份有限公司是中国平安保险(集团)股份有限公司控股的一家跨区域经营的股份制商业银行,为中国大陆12家全国性股份制商业银行之一。注册资本为人民币51.2335亿元,总资产近1.37万亿元,总部位于深圳。平安银行拥有全国性银行经营资质,主要经营商业银行业务。',
|
sw_industry_l3: '股份制银行',
|
||||||
list_date: '1991-04-03',
|
|
||||||
establish_date: '1987-12-22',
|
establish_date: '1987-12-22',
|
||||||
|
list_date: '1991-04-03',
|
||||||
province: '广东省',
|
province: '广东省',
|
||||||
city: '深圳市',
|
city: '深圳市',
|
||||||
industry: '银行',
|
credit_code: '914403001000010008',
|
||||||
main_business: '商业银行业务',
|
company_size: '大型企业(员工超3万人)',
|
||||||
|
accounting_firm: '普华永道中天会计师事务所(特殊普通合伙)',
|
||||||
|
law_firm: '北京市金杜律师事务所',
|
||||||
|
company_intro: '平安银行股份有限公司是中国平安保险(集团)股份有限公司控股的一家跨区域经营的股份制商业银行,为中国大陆12家全国性股份制商业银行之一。总部位于深圳,在全国设有超过90家分行、近1000家营业网点。平安银行致力于成为中国最卓越、全球领先的智能化零售银行,以科技引领业务发展,持续推进零售转型战略。',
|
||||||
|
main_business: '吸收公众存款、发放贷款、办理结算、票据贴现、资金拆借、银行卡业务、代理收付款项、外汇业务等商业银行业务',
|
||||||
|
business_scope: '吸收公众存款;发放短期、中期和长期贷款;办理国内外结算;办理票据承兑与贴现;发行金融债券;代理发行、代理兑付、承销政府债券;买卖政府债券、金融债券;从事同业拆借;买卖、代理买卖外汇;从事银行卡业务;提供信用证服务及担保;代理收付款项及代理保险业务;提供保管箱服务;经有关监管机构批准的其他业务。',
|
||||||
|
employees: 42099,
|
||||||
},
|
},
|
||||||
|
|
||||||
// 实际控制人信息
|
// 实际控制人信息
|
||||||
@@ -60,14 +68,27 @@ export const PINGAN_BANK_DATA = {
|
|||||||
management: [
|
management: [
|
||||||
{
|
{
|
||||||
name: '谢永林',
|
name: '谢永林',
|
||||||
position: '董事长、执行董事、行长',
|
position: '董事长',
|
||||||
gender: '男',
|
gender: '男',
|
||||||
age: 56,
|
age: 56,
|
||||||
education: '硕士',
|
education: '硕士',
|
||||||
appointment_date: '2019-01-01',
|
appointment_date: '2019-01-01',
|
||||||
annual_compensation: 723.8,
|
annual_compensation: 723.8,
|
||||||
shareholding: 0,
|
shareholding: 0,
|
||||||
background: '中国平安保险(集团)股份有限公司副总经理兼首席保险业务执行官'
|
background: '中国平安保险(集团)股份有限公司副总经理兼首席保险业务执行官',
|
||||||
|
status: 'active'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: '冀光恒',
|
||||||
|
position: '行长',
|
||||||
|
gender: '男',
|
||||||
|
age: 52,
|
||||||
|
education: '博士',
|
||||||
|
appointment_date: '2023-08-01',
|
||||||
|
annual_compensation: 650.5,
|
||||||
|
shareholding: 0,
|
||||||
|
background: '原中国工商银行总行部门总经理',
|
||||||
|
status: 'active'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '周强',
|
name: '周强',
|
||||||
@@ -78,7 +99,8 @@ export const PINGAN_BANK_DATA = {
|
|||||||
appointment_date: '2016-06-01',
|
appointment_date: '2016-06-01',
|
||||||
annual_compensation: 542.3,
|
annual_compensation: 542.3,
|
||||||
shareholding: 0.002,
|
shareholding: 0.002,
|
||||||
background: '历任平安银行深圳分行行长'
|
background: '历任平安银行深圳分行行长',
|
||||||
|
status: 'active'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '郭世邦',
|
name: '郭世邦',
|
||||||
@@ -89,18 +111,8 @@ export const PINGAN_BANK_DATA = {
|
|||||||
appointment_date: '2018-03-01',
|
appointment_date: '2018-03-01',
|
||||||
annual_compensation: 498.6,
|
annual_compensation: 498.6,
|
||||||
shareholding: 0.001,
|
shareholding: 0.001,
|
||||||
background: '历任中国平安集团财务负责人'
|
background: '历任中国平安集团财务负责人',
|
||||||
},
|
status: 'active'
|
||||||
{
|
|
||||||
name: '蔡新发',
|
|
||||||
position: '副行长、首席风险官',
|
|
||||||
gender: '男',
|
|
||||||
age: 51,
|
|
||||||
education: '硕士',
|
|
||||||
appointment_date: '2017-05-01',
|
|
||||||
annual_compensation: 467.2,
|
|
||||||
shareholding: 0.0008,
|
|
||||||
background: '历任平安银行风险管理部总经理'
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: '项有志',
|
name: '项有志',
|
||||||
@@ -111,7 +123,8 @@ export const PINGAN_BANK_DATA = {
|
|||||||
appointment_date: '2019-09-01',
|
appointment_date: '2019-09-01',
|
||||||
annual_compensation: 425.1,
|
annual_compensation: 425.1,
|
||||||
shareholding: 0,
|
shareholding: 0,
|
||||||
background: '历任中国平安科技公司总经理'
|
background: '历任中国平安科技公司总经理',
|
||||||
|
status: 'active'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -129,7 +142,7 @@ export const PINGAN_BANK_DATA = {
|
|||||||
{ shareholder_name: '挪威中央银行', shares: 87654300, ratio: 0.45, change: 5600000, shareholder_type: '境外法人' }
|
{ shareholder_name: '挪威中央银行', shares: 87654300, ratio: 0.45, change: 5600000, shareholder_type: '境外法人' }
|
||||||
],
|
],
|
||||||
|
|
||||||
// 十大股东(与流通股东相同,因为平安银行全流通)
|
// 十大股东
|
||||||
topShareholders: [
|
topShareholders: [
|
||||||
{ shareholder_name: '中国平安保险(集团)股份有限公司', shares: 10168542300, ratio: 52.38, change: 0, shareholder_type: '企业', is_restricted: false },
|
{ shareholder_name: '中国平安保险(集团)股份有限公司', shares: 10168542300, ratio: 52.38, change: 0, shareholder_type: '企业', is_restricted: false },
|
||||||
{ shareholder_name: '香港中央结算有限公司', shares: 542138600, ratio: 2.79, change: 12450000, shareholder_type: '境外法人', is_restricted: false },
|
{ shareholder_name: '香港中央结算有限公司', shares: 542138600, ratio: 2.79, change: 12450000, shareholder_type: '境外法人', is_restricted: false },
|
||||||
@@ -205,178 +218,270 @@ export const PINGAN_BANK_DATA = {
|
|||||||
{ report_type: '2024年第一季度报告', planned_date: '2024-04-30', status: '已披露' }
|
{ report_type: '2024年第一季度报告', planned_date: '2024-04-30', status: '已披露' }
|
||||||
],
|
],
|
||||||
|
|
||||||
// 综合分析
|
// 综合分析 - 结构与组件期望格式匹配
|
||||||
comprehensiveAnalysis: {
|
comprehensiveAnalysis: {
|
||||||
overview: {
|
qualitative_analysis: {
|
||||||
company_name: '平安银行股份有限公司',
|
core_positioning: {
|
||||||
stock_code: '000001',
|
one_line_intro: '中国领先的股份制商业银行,平安集团综合金融战略的核心载体',
|
||||||
industry: '银行',
|
investment_highlights: '1. 背靠平安集团,综合金融优势显著,交叉销售和客户资源共享带来持续增长动力;\n2. 零售转型成效显著,零售业务收入占比超50%,个人客户突破1.2亿户;\n3. 金融科技领先同业,AI、大数据、区块链等技术应用深化,运营效率持续提升;\n4. 风险管理体系完善,不良贷款率控制在较低水平,拨备覆盖率保持充足。',
|
||||||
established_date: '1987-12-22',
|
business_model_desc: '平安银行以零售银行业务为核心驱动,依托平安集团综合金融平台,构建"三位一体"(智能化银行、移动化银行、综合化银行)发展模式。通过科技赋能实现业务流程数字化,降本增效的同时提升客户体验。对公业务聚焦供应链金融和产业互联网,服务实体经济高质量发展。'
|
||||||
listing_date: '1991-04-03',
|
},
|
||||||
total_assets: 50245.6, // 亿元
|
strategy: '坚持"科技引领、零售突破、对公做精"战略方针,深化数字化转型,打造智能化零售银行标杆。持续推进组织架构扁平化和敏捷化改革,提升经营效率。强化风险管理,保持资产质量稳定。'
|
||||||
net_assets: 3256.8,
|
|
||||||
registered_capital: 194.06,
|
|
||||||
employee_count: 36542
|
|
||||||
},
|
},
|
||||||
financial_highlights: {
|
competitive_position: {
|
||||||
revenue: 1623.5,
|
ranking: {
|
||||||
revenue_growth: 8.5,
|
industry_rank: 6,
|
||||||
net_profit: 528.6,
|
total_companies: 42
|
||||||
profit_growth: 12.3,
|
},
|
||||||
roe: 16.23,
|
analysis: {
|
||||||
roa: 1.05,
|
main_competitors: '招商银行、兴业银行、中信银行、浦发银行、民生银行',
|
||||||
asset_quality_ratio: 1.02,
|
competitive_advantages: '1. 综合金融优势:依托平安集团综合金融平台,实现银行、保险、投资等业务协同\n2. 科技创新领先:金融科技投入占营收比重行业领先,AI、大数据应用成熟\n3. 零售客户基础雄厚:个人客户1.2亿+,财富管理AUM持续增长\n4. 品牌认知度高:平安品牌具有较强的公众认知度和信任度',
|
||||||
capital_adequacy_ratio: 13.45,
|
competitive_disadvantages: '1. 网点覆盖不如国有大行,在县域地区布局相对薄弱\n2. 对公业务规模与头部股份制银行存在差距\n3. 存款成本相对较高,息差空间受到一定压制'
|
||||||
core_tier1_ratio: 10.82
|
},
|
||||||
|
scores: {
|
||||||
|
market_position: 82,
|
||||||
|
technology: 90,
|
||||||
|
brand: 85,
|
||||||
|
operation: 83,
|
||||||
|
finance: 86,
|
||||||
|
innovation: 92,
|
||||||
|
risk: 84,
|
||||||
|
growth: 80
|
||||||
|
}
|
||||||
},
|
},
|
||||||
business_structure: [
|
business_structure: [
|
||||||
{ business: '对公业务', revenue: 685.4, ratio: 42.2, growth: 6.8 },
|
{ business_name: '零售金融', revenue: 81230, ratio: 50.1, growth: 11.2, report_period: '2024Q3' },
|
||||||
{ business: '零售业务', revenue: 812.3, ratio: 50.1, growth: 11.2 },
|
{ business_name: '对公金融', revenue: 68540, ratio: 42.2, growth: 6.8, report_period: '2024Q3' },
|
||||||
{ business: '金融市场业务', revenue: 125.8, ratio: 7.7, growth: 3.5 }
|
{ business_name: '资金同业', revenue: 12580, ratio: 7.7, growth: 3.5, report_period: '2024Q3' }
|
||||||
],
|
],
|
||||||
competitive_advantages: [
|
business_segments: [
|
||||||
'背靠中国平安集团,综合金融优势明显',
|
{
|
||||||
'零售业务转型成效显著,客户基础雄厚',
|
segment_name: '信用卡业务',
|
||||||
'金融科技创新能力强,数字化银行建设领先',
|
description: '国内领先的信用卡发卡银行,流通卡量超7000万张',
|
||||||
'风险管理体系完善,资产质量稳定',
|
key_metrics: { cards_issued: 7200, transaction_volume: 28500, market_share: 8.5 }
|
||||||
'管理团队经验丰富,执行力强'
|
},
|
||||||
],
|
{
|
||||||
risk_factors: [
|
segment_name: '财富管理',
|
||||||
'宏观经济下行压力影响信贷质量',
|
description: '私人银行及财富管理业务快速发展,AUM突破4万亿',
|
||||||
'利率市场化导致息差收窄',
|
key_metrics: { aum: 42000, private_banking_customers: 125000, wealth_customers: 1200000 }
|
||||||
'金融监管趋严,合规成本上升',
|
},
|
||||||
'同业竞争激烈,市场份额面临挑战',
|
{
|
||||||
'金融科技发展带来的技术和运营风险'
|
segment_name: '供应链金融',
|
||||||
],
|
description: '依托科技平台打造智慧供应链金融生态',
|
||||||
development_strategy: '坚持"科技引领、零售突破、对公做精"战略,加快数字化转型,提升综合金融服务能力',
|
key_metrics: { platform_customers: 35000, financing_balance: 5600, digitization_rate: 95 }
|
||||||
analyst_rating: {
|
}
|
||||||
buy: 18,
|
|
||||||
hold: 12,
|
|
||||||
sell: 2,
|
|
||||||
target_price: 15.8,
|
|
||||||
current_price: 13.2
|
|
||||||
}
|
|
||||||
},
|
|
||||||
|
|
||||||
// 价值链分析
|
|
||||||
valueChainAnalysis: {
|
|
||||||
upstream: [
|
|
||||||
{ name: '央行及监管机构', relationship: '政策与监管', importance: '高', description: '接受货币政策调控和监管指导' },
|
|
||||||
{ name: '同业资金市场', relationship: '资金来源', importance: '高', description: '开展同业拆借、债券回购等业务' },
|
|
||||||
{ name: '金融科技公司', relationship: '技术支持', importance: '中', description: '提供金融科技解决方案和技术服务' }
|
|
||||||
],
|
|
||||||
core_business: {
|
|
||||||
deposit_business: { scale: 33256.8, market_share: 2.8, growth_rate: 9.2 },
|
|
||||||
loan_business: { scale: 28945.3, market_share: 2.5, growth_rate: 12.5 },
|
|
||||||
intermediary_business: { scale: 425.6, market_share: 3.2, growth_rate: 15.8 },
|
|
||||||
digital_banking: { user_count: 11256, app_mau: 4235, growth_rate: 28.5 }
|
|
||||||
},
|
|
||||||
downstream: [
|
|
||||||
{ name: '个人客户', scale: '1.12亿户', contribution: '50.1%', description: '零售银行业务主体' },
|
|
||||||
{ name: '企业客户', scale: '85.6万户', contribution: '42.2%', description: '对公业务主体' },
|
|
||||||
{ name: '政府机构', scale: '2.3万户', contribution: '7.7%', description: '公共事业及政府业务' }
|
|
||||||
],
|
|
||||||
ecosystem_partners: [
|
|
||||||
{ name: '中国平安集团', type: '关联方', cooperation: '综合金融服务、客户共享' },
|
|
||||||
{ name: '平安科技', type: '科技支持', cooperation: '金融科技研发、系统建设' },
|
|
||||||
{ name: '平安普惠', type: '业务协同', cooperation: '普惠金融、小微贷款' },
|
|
||||||
{ name: '平安证券', type: '业务协同', cooperation: '投资银行、资产管理' }
|
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
||||||
// 关键因素时间线
|
// 价值链分析 - 结构与组件期望格式匹配
|
||||||
keyFactorsTimeline: [
|
valueChainAnalysis: {
|
||||||
{
|
value_chain_flows: [
|
||||||
date: '2024-10-28',
|
{ from: '中国人民银行', to: '平安银行', type: 'regulation', label: '货币政策调控' },
|
||||||
event: '发布2024年三季报',
|
{ from: '银保监会', to: '平安银行', type: 'regulation', label: '监管指导' },
|
||||||
type: '业绩公告',
|
{ from: '同业市场', to: '平安银行', type: 'funding', label: '资金拆借' },
|
||||||
importance: 'high',
|
{ from: '债券市场', to: '平安银行', type: 'funding', label: '债券发行' },
|
||||||
impact: '前三季度净利润同比增长12.5%,超市场预期',
|
{ from: '平安集团', to: '平安银行', type: 'support', label: '综合金融支持' },
|
||||||
change: '+5.2%'
|
{ from: '平安银行', to: '个人客户', type: 'service', label: '零售银行服务' },
|
||||||
|
{ from: '平安银行', to: '企业客户', type: 'service', label: '对公金融服务' },
|
||||||
|
{ from: '平安银行', to: '政府机构', type: 'service', label: '政务金融服务' },
|
||||||
|
{ from: '个人客户', to: '消费场景', type: 'consumption', label: '消费支付' },
|
||||||
|
{ from: '企业客户', to: '产业链', type: 'production', label: '生产经营' }
|
||||||
|
],
|
||||||
|
value_chain_structure: {
|
||||||
|
nodes_by_level: {
|
||||||
|
'level_-2': [
|
||||||
|
{ node_name: '中国人民银行', node_type: 'regulator', description: '制定货币政策,维护金融稳定' },
|
||||||
|
{ node_name: '银保监会', node_type: 'regulator', description: '银行业监督管理' }
|
||||||
|
],
|
||||||
|
'level_-1': [
|
||||||
|
{ node_name: '同业市场', node_type: 'supplier', description: '银行间资金拆借' },
|
||||||
|
{ node_name: '债券市场', node_type: 'supplier', description: '债券发行与交易' },
|
||||||
|
{ node_name: '平安集团', node_type: 'supplier', description: '综合金融平台支撑' },
|
||||||
|
{ node_name: '金融科技供应商', node_type: 'supplier', description: '技术服务支持' }
|
||||||
|
],
|
||||||
|
'level_0': [
|
||||||
|
{ node_name: '平安银行', node_type: 'company', description: '股份制商业银行', is_core: true }
|
||||||
|
],
|
||||||
|
'level_1': [
|
||||||
|
{ node_name: '个人客户', node_type: 'customer', description: '零售银行服务对象,超1.2亿户' },
|
||||||
|
{ node_name: '企业客户', node_type: 'customer', description: '对公金融服务对象,超90万户' },
|
||||||
|
{ node_name: '政府机构', node_type: 'customer', description: '政务金融服务对象' },
|
||||||
|
{ node_name: '金融同业', node_type: 'customer', description: '同业金融服务对象' }
|
||||||
|
],
|
||||||
|
'level_2': [
|
||||||
|
{ node_name: '消费场景', node_type: 'end_user', description: '个人消费支付场景' },
|
||||||
|
{ node_name: '产业链', node_type: 'end_user', description: '企业生产经营场景' },
|
||||||
|
{ node_name: '公共服务', node_type: 'end_user', description: '政务公共服务场景' }
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{
|
analysis_summary: {
|
||||||
date: '2024-09-15',
|
upstream_nodes: 6,
|
||||||
event: '推出AI智能客服系统',
|
company_nodes: 1,
|
||||||
type: '科技创新',
|
downstream_nodes: 7,
|
||||||
importance: 'medium',
|
total_nodes: 14,
|
||||||
impact: '提升客户服务效率,降低运营成本',
|
key_insights: '平安银行处于金融产业链核心位置,上游依托央行政策和集团资源,下游服务广泛的个人和企业客户群体'
|
||||||
change: '+2.1%'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: '2024-08-28',
|
|
||||||
event: '发布2024年中报',
|
|
||||||
type: '业绩公告',
|
|
||||||
importance: 'high',
|
|
||||||
impact: '上半年净利润增长11.2%,资产质量保持稳定',
|
|
||||||
change: '+3.8%'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: '2024-07-20',
|
|
||||||
event: '获批设立理财子公司',
|
|
||||||
type: '业务拓展',
|
|
||||||
importance: 'high',
|
|
||||||
impact: '完善财富管理业务布局,拓展收入来源',
|
|
||||||
change: '+4.5%'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: '2024-06-10',
|
|
||||||
event: '完成300亿元二级资本债发行',
|
|
||||||
type: '融资事件',
|
|
||||||
importance: 'medium',
|
|
||||||
impact: '补充资本实力,支持业务扩张',
|
|
||||||
change: '+1.8%'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: '2024-04-30',
|
|
||||||
event: '发布2024年一季报',
|
|
||||||
type: '业绩公告',
|
|
||||||
importance: 'high',
|
|
||||||
impact: '一季度净利润增长10.8%,开门红表现优异',
|
|
||||||
change: '+4.2%'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: '2024-03-15',
|
|
||||||
event: '零售客户突破1.1亿户',
|
|
||||||
type: '业务里程碑',
|
|
||||||
importance: 'medium',
|
|
||||||
impact: '零售转型成效显著,客户基础进一步夯实',
|
|
||||||
change: '+2.5%'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
date: '2024-01-20',
|
|
||||||
event: '获评"2023年度最佳零售银行"',
|
|
||||||
type: '荣誉奖项',
|
|
||||||
importance: 'low',
|
|
||||||
impact: '品牌影响力提升',
|
|
||||||
change: '+0.8%'
|
|
||||||
}
|
}
|
||||||
],
|
},
|
||||||
|
|
||||||
|
// 关键因素时间线 - 结构与组件期望格式匹配
|
||||||
|
keyFactorsTimeline: {
|
||||||
|
key_factors: {
|
||||||
|
total_factors: 5,
|
||||||
|
categories: [
|
||||||
|
{
|
||||||
|
category_name: '正面因素',
|
||||||
|
category_type: 'positive',
|
||||||
|
factors: [
|
||||||
|
{
|
||||||
|
factor_name: '零售转型深化',
|
||||||
|
impact_score: 9.2,
|
||||||
|
description: '零售业务收入占比持续提升,已超过50%,客户基础和AUM稳步增长',
|
||||||
|
trend: 'improving'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
factor_name: '金融科技领先',
|
||||||
|
impact_score: 8.8,
|
||||||
|
description: 'AI、大数据等技术应用深化,智能化转型成效显著',
|
||||||
|
trend: 'stable'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
factor_name: '资产质量稳定',
|
||||||
|
impact_score: 8.5,
|
||||||
|
description: '不良贷款率控制在较低水平,风险抵御能力强',
|
||||||
|
trend: 'stable'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
category_name: '负面因素',
|
||||||
|
category_type: 'negative',
|
||||||
|
factors: [
|
||||||
|
{
|
||||||
|
factor_name: '息差压力',
|
||||||
|
impact_score: 6.5,
|
||||||
|
description: '利率市场化持续推进,净息差面临收窄压力',
|
||||||
|
trend: 'declining'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
category_name: '中性因素',
|
||||||
|
category_type: 'neutral',
|
||||||
|
factors: [
|
||||||
|
{
|
||||||
|
factor_name: '监管趋严',
|
||||||
|
impact_score: 7.0,
|
||||||
|
description: '金融监管持续强化,合规成本有所上升',
|
||||||
|
trend: 'stable'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
development_timeline: {
|
||||||
|
statistics: {
|
||||||
|
positive_events: 6,
|
||||||
|
negative_events: 0,
|
||||||
|
neutral_events: 2
|
||||||
|
},
|
||||||
|
events: [
|
||||||
|
{
|
||||||
|
date: '2024-10-28',
|
||||||
|
event: '发布2024年三季报',
|
||||||
|
type: '业绩公告',
|
||||||
|
importance: 'high',
|
||||||
|
impact: '前三季度净利润同比增长12.5%,超市场预期',
|
||||||
|
change: '+5.2%',
|
||||||
|
sentiment: 'positive'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: '2024-09-15',
|
||||||
|
event: '推出AI智能客服系统3.0',
|
||||||
|
type: '科技创新',
|
||||||
|
importance: 'medium',
|
||||||
|
impact: '客服效率提升40%,客户满意度显著提高',
|
||||||
|
change: '+2.1%',
|
||||||
|
sentiment: 'positive'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: '2024-08-28',
|
||||||
|
event: '发布2024年中报',
|
||||||
|
type: '业绩公告',
|
||||||
|
importance: 'high',
|
||||||
|
impact: '上半年净利润增长11.2%,资产质量保持稳定',
|
||||||
|
change: '+3.8%',
|
||||||
|
sentiment: 'positive'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: '2024-07-20',
|
||||||
|
event: '平安理财获批新产品资质',
|
||||||
|
type: '业务拓展',
|
||||||
|
importance: 'high',
|
||||||
|
impact: '财富管理业务布局进一步完善',
|
||||||
|
change: '+4.5%',
|
||||||
|
sentiment: 'positive'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: '2024-06-10',
|
||||||
|
event: '完成300亿元二级资本债发行',
|
||||||
|
type: '融资事件',
|
||||||
|
importance: 'medium',
|
||||||
|
impact: '补充资本实力,支持业务扩张',
|
||||||
|
change: '+1.8%',
|
||||||
|
sentiment: 'neutral'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: '2024-04-30',
|
||||||
|
event: '发布2024年一季报',
|
||||||
|
type: '业绩公告',
|
||||||
|
importance: 'high',
|
||||||
|
impact: '一季度净利润增长10.8%,开门红表现优异',
|
||||||
|
change: '+4.2%',
|
||||||
|
sentiment: 'positive'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: '2024-03-15',
|
||||||
|
event: '零售客户突破1.2亿户',
|
||||||
|
type: '业务里程碑',
|
||||||
|
importance: 'medium',
|
||||||
|
impact: '零售转型成效显著,客户基础进一步夯实',
|
||||||
|
change: '+2.5%',
|
||||||
|
sentiment: 'positive'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
date: '2024-01-20',
|
||||||
|
event: '获评"2023年度最佳零售银行"',
|
||||||
|
type: '荣誉奖项',
|
||||||
|
importance: 'low',
|
||||||
|
impact: '品牌影响力提升',
|
||||||
|
change: '+0.8%',
|
||||||
|
sentiment: 'neutral'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
// 盈利预测报告
|
// 盈利预测报告
|
||||||
forecastReport: {
|
forecastReport: {
|
||||||
// 营收与利润趋势
|
|
||||||
income_profit_trend: {
|
income_profit_trend: {
|
||||||
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
income: [116524, 134632, 148956, 162350, 175280, 189450, 204120], // 营业总收入(百万元)
|
income: [116524, 134632, 148956, 162350, 175280, 189450, 204120],
|
||||||
profit: [34562, 39845, 43218, 52860, 58420, 64680, 71250] // 归母净利润(百万元)
|
profit: [34562, 39845, 43218, 52860, 58420, 64680, 71250]
|
||||||
},
|
},
|
||||||
// 增长率分析
|
|
||||||
growth_bars: {
|
growth_bars: {
|
||||||
years: ['2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
revenue_growth_pct: [15.5, 10.6, 8.9, 8.0, 8.1, 7.7] // 营收增长率(%)
|
revenue_growth_pct: [15.5, 10.6, 8.9, 8.0, 8.1, 7.7]
|
||||||
},
|
},
|
||||||
// EPS趋势
|
|
||||||
eps_trend: {
|
eps_trend: {
|
||||||
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
eps: [1.78, 2.05, 2.23, 2.72, 3.01, 3.33, 3.67] // EPS(稀释,元/股)
|
eps: [1.78, 2.05, 2.23, 2.72, 3.01, 3.33, 3.67]
|
||||||
},
|
},
|
||||||
// PE与PEG分析
|
|
||||||
pe_peg_axes: {
|
pe_peg_axes: {
|
||||||
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
pe: [7.4, 6.9, 7.2, 4.9, 4.4, 4.0, 3.6], // PE(倍)
|
pe: [7.4, 6.9, 7.2, 4.9, 4.4, 4.0, 3.6],
|
||||||
peg: [0.48, 0.65, 0.81, 0.55, 0.55, 0.49, 0.47] // PEG
|
peg: [0.48, 0.65, 0.81, 0.55, 0.55, 0.49, 0.47]
|
||||||
},
|
},
|
||||||
// 详细数据表格
|
|
||||||
detail_table: {
|
detail_table: {
|
||||||
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
rows: [
|
rows: [
|
||||||
@@ -397,137 +502,266 @@ export const PINGAN_BANK_DATA = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 生成通用公司数据的工具函数
|
// 生成通用公司数据的工具函数
|
||||||
export const generateCompanyData = (stockCode, stockName) => {
|
export const generateCompanyData = (stockCode, stockName = '示例公司') => {
|
||||||
// 如果是平安银行,直接返回详细数据
|
// 如果是平安银行,直接返回详细数据
|
||||||
if (stockCode === '000001') {
|
if (stockCode === '000001') {
|
||||||
return PINGAN_BANK_DATA;
|
return PINGAN_BANK_DATA;
|
||||||
}
|
}
|
||||||
|
|
||||||
// 否则生成通用数据
|
// 随机生成一些基础数值
|
||||||
|
const baseRevenue = Math.floor(Math.random() * 50000) + 10000;
|
||||||
|
const baseProfit = Math.floor(Math.random() * 5000) + 1000;
|
||||||
|
const employeeCount = Math.floor(Math.random() * 20000) + 1000;
|
||||||
|
|
||||||
|
// 生成通用数据,结构与组件期望格式匹配
|
||||||
return {
|
return {
|
||||||
stockCode,
|
stockCode,
|
||||||
stockName,
|
stockName,
|
||||||
basicInfo: {
|
basicInfo: {
|
||||||
code: stockCode,
|
SECCODE: stockCode,
|
||||||
name: stockName,
|
SECNAME: stockName,
|
||||||
registered_capital: Math.floor(Math.random() * 500000) + 10000,
|
ORGNAME: `${stockName}股份有限公司`,
|
||||||
registered_capital_unit: '万元',
|
english_name: `${stockName} Co., Ltd.`,
|
||||||
|
reg_capital: Math.floor(Math.random() * 500000) + 10000,
|
||||||
legal_representative: '张三',
|
legal_representative: '张三',
|
||||||
|
chairman: '张三',
|
||||||
general_manager: '李四',
|
general_manager: '李四',
|
||||||
secretary: '王五',
|
secretary: '王五',
|
||||||
registered_address: '中国某省某市某区某路123号',
|
reg_address: '中国某省某市某区某路123号',
|
||||||
office_address: '中国某省某市某区某路123号',
|
office_address: '中国某省某市某区某路456号',
|
||||||
phone: '021-12345678',
|
zipcode: '100000',
|
||||||
|
tel: '010-12345678',
|
||||||
|
fax: '010-12345679',
|
||||||
email: 'ir@company.com',
|
email: 'ir@company.com',
|
||||||
website: 'http://www.company.com',
|
website: 'http://www.company.com',
|
||||||
employees: Math.floor(Math.random() * 10000) + 1000,
|
sw_industry_l1: '制造业',
|
||||||
list_date: '2010-01-01',
|
sw_industry_l2: '电子设备',
|
||||||
industry: '制造业',
|
sw_industry_l3: '消费电子',
|
||||||
|
establish_date: '2005-01-01',
|
||||||
|
list_date: '2010-06-15',
|
||||||
|
province: '广东省',
|
||||||
|
city: '深圳市',
|
||||||
|
credit_code: '91440300XXXXXXXXXX',
|
||||||
|
company_size: '中型企业',
|
||||||
|
accounting_firm: '安永华明会计师事务所',
|
||||||
|
law_firm: '北京市君合律师事务所',
|
||||||
|
company_intro: `${stockName}股份有限公司是一家专注于XX领域的高科技企业,致力于为客户提供优质的产品和服务。公司拥有完善的研发体系和生产能力,在行业内具有较强的竞争力。`,
|
||||||
|
main_business: '电子产品的研发、生产和销售',
|
||||||
|
business_scope: '电子产品、通信设备、计算机软硬件的研发、生产、销售;技术咨询、技术服务;货物进出口、技术进出口。',
|
||||||
|
employees: employeeCount,
|
||||||
},
|
},
|
||||||
actualControl: {
|
actualControl: {
|
||||||
controller_name: '某控股集团有限公司',
|
controller_name: '某控股集团有限公司',
|
||||||
controller_type: '企业',
|
controller_type: '企业',
|
||||||
shareholding_ratio: 35.5,
|
shareholding_ratio: 35.5,
|
||||||
control_chain: '某控股集团有限公司 -> ' + stockName,
|
control_chain: `某控股集团有限公司 -> ${stockName}股份有限公司`,
|
||||||
|
is_listed: false,
|
||||||
|
change_date: '2023-12-31',
|
||||||
},
|
},
|
||||||
concentration: {
|
concentration: {
|
||||||
top1_ratio: 35.5,
|
top1_ratio: 35.5,
|
||||||
top3_ratio: 52.3,
|
top3_ratio: 52.3,
|
||||||
top5_ratio: 61.8,
|
top5_ratio: 61.8,
|
||||||
top10_ratio: 72.5,
|
top10_ratio: 72.5,
|
||||||
|
update_date: '2024-09-30',
|
||||||
concentration_level: '适度集中',
|
concentration_level: '适度集中',
|
||||||
|
herfindahl_index: 0.1856,
|
||||||
},
|
},
|
||||||
management: [
|
management: [
|
||||||
{ name: '张三', position: '董事长', gender: '男', age: 55, education: '硕士', annual_compensation: 320.5 },
|
{ name: '张三', position: '董事长', gender: '男', age: 55, education: '硕士', annual_compensation: 320.5, status: 'active' },
|
||||||
{ name: '李四', position: '总经理', gender: '男', age: 50, education: '硕士', annual_compensation: 280.3 },
|
{ name: '李四', position: '总经理', gender: '男', age: 50, education: '硕士', annual_compensation: 280.3, status: 'active' },
|
||||||
{ name: '王五', position: '董事会秘书', gender: '女', age: 45, education: '本科', annual_compensation: 180.2 },
|
{ name: '王五', position: '董事会秘书', gender: '女', age: 45, education: '本科', annual_compensation: 180.2, status: 'active' },
|
||||||
|
{ name: '赵六', position: '财务总监', gender: '男', age: 48, education: '硕士', annual_compensation: 200.5, status: 'active' },
|
||||||
|
{ name: '钱七', position: '技术总监', gender: '男', age: 42, education: '博士', annual_compensation: 250.8, status: 'active' },
|
||||||
],
|
],
|
||||||
topCirculationShareholders: Array(10).fill(null).map((_, i) => ({
|
topCirculationShareholders: Array(10).fill(null).map((_, i) => ({
|
||||||
shareholder_name: `股东${i + 1}`,
|
shareholder_name: `股东${i + 1}`,
|
||||||
shares: Math.floor(Math.random() * 100000000),
|
shares: Math.floor(Math.random() * 100000000),
|
||||||
ratio: (10 - i) * 0.8,
|
ratio: parseFloat(((10 - i) * 0.8 + Math.random() * 2).toFixed(2)),
|
||||||
change: Math.floor(Math.random() * 10000000) - 5000000,
|
change: Math.floor(Math.random() * 10000000) - 5000000,
|
||||||
shareholder_type: '企业'
|
shareholder_type: i < 3 ? '企业' : (i < 6 ? '个人' : '机构')
|
||||||
})),
|
})),
|
||||||
topShareholders: Array(10).fill(null).map((_, i) => ({
|
topShareholders: Array(10).fill(null).map((_, i) => ({
|
||||||
shareholder_name: `股东${i + 1}`,
|
shareholder_name: `股东${i + 1}`,
|
||||||
shares: Math.floor(Math.random() * 100000000),
|
shares: Math.floor(Math.random() * 100000000),
|
||||||
ratio: (10 - i) * 0.8,
|
ratio: parseFloat(((10 - i) * 0.8 + Math.random() * 2).toFixed(2)),
|
||||||
change: Math.floor(Math.random() * 10000000) - 5000000,
|
change: Math.floor(Math.random() * 10000000) - 5000000,
|
||||||
shareholder_type: '企业',
|
shareholder_type: i < 3 ? '企业' : (i < 6 ? '个人' : '机构'),
|
||||||
is_restricted: false
|
is_restricted: i < 2
|
||||||
})),
|
})),
|
||||||
branches: [
|
branches: [
|
||||||
{ name: '北京分公司', address: '北京市朝阳区某路123号', phone: '010-12345678', type: '分公司' },
|
{ name: '北京分公司', address: '北京市朝阳区某路123号', phone: '010-12345678', type: '分公司', establish_date: '2012-05-01' },
|
||||||
{ name: '上海分公司', address: '上海市浦东新区某路456号', phone: '021-12345678', type: '分公司' },
|
{ name: '上海分公司', address: '上海市浦东新区某路456号', phone: '021-12345678', type: '分公司', establish_date: '2013-08-15' },
|
||||||
|
{ name: '广州分公司', address: '广州市天河区某路789号', phone: '020-12345678', type: '分公司', establish_date: '2014-03-20' },
|
||||||
],
|
],
|
||||||
announcements: [
|
announcements: [
|
||||||
{ title: stockName + '2024年第三季度报告', publish_date: '2024-10-28', type: '定期报告', summary: '业绩稳步增长' },
|
{ title: `${stockName}2024年第三季度报告`, publish_date: '2024-10-28', type: '定期报告', summary: '业绩稳步增长', url: '#' },
|
||||||
{ title: stockName + '2024年半年度报告', publish_date: '2024-08-28', type: '定期报告', summary: '经营情况良好' },
|
{ title: `${stockName}2024年半年度报告`, publish_date: '2024-08-28', type: '定期报告', summary: '经营情况良好', url: '#' },
|
||||||
|
{ title: `关于重大合同签订的公告`, publish_date: '2024-07-15', type: '临时公告', summary: '签订重要销售合同', url: '#' },
|
||||||
],
|
],
|
||||||
disclosureSchedule: [
|
disclosureSchedule: [
|
||||||
{ report_type: '2024年年度报告', planned_date: '2025-04-30', status: '未披露' },
|
{ report_type: '2024年年度报告', planned_date: '2025-04-30', status: '未披露' },
|
||||||
{ report_type: '2024年第三季度报告', planned_date: '2024-10-31', status: '已披露' },
|
{ report_type: '2024年第三季度报告', planned_date: '2024-10-31', status: '已披露' },
|
||||||
|
{ report_type: '2024年半年度报告', planned_date: '2024-08-31', status: '已披露' },
|
||||||
],
|
],
|
||||||
comprehensiveAnalysis: {
|
comprehensiveAnalysis: {
|
||||||
overview: {
|
qualitative_analysis: {
|
||||||
company_name: stockName,
|
core_positioning: {
|
||||||
stock_code: stockCode,
|
one_line_intro: `${stockName}是XX行业的领先企业,专注于为客户提供创新解决方案`,
|
||||||
industry: '制造业',
|
investment_highlights: '1. 行业龙头地位,市场份额领先\n2. 技术研发实力强,专利储备丰富\n3. 客户资源优质,大客户粘性高\n4. 管理团队经验丰富,执行力强',
|
||||||
total_assets: Math.floor(Math.random() * 10000) + 100,
|
business_model_desc: `${stockName}采用"研发+生产+销售"一体化经营模式,通过持续的技术创新和产品迭代,为客户提供高性价比的产品和服务。`
|
||||||
|
},
|
||||||
|
strategy: '坚持技术创新驱动发展,深耕核心业务领域,积极拓展新兴市场,持续提升企业核心竞争力。'
|
||||||
},
|
},
|
||||||
financial_highlights: {
|
competitive_position: {
|
||||||
revenue: Math.floor(Math.random() * 1000) + 50,
|
ranking: {
|
||||||
revenue_growth: (Math.random() * 20 - 5).toFixed(2),
|
industry_rank: Math.floor(Math.random() * 20) + 1,
|
||||||
net_profit: Math.floor(Math.random() * 100) + 10,
|
total_companies: 150
|
||||||
profit_growth: (Math.random() * 20 - 5).toFixed(2),
|
},
|
||||||
|
analysis: {
|
||||||
|
main_competitors: '竞争对手A、竞争对手B、竞争对手C',
|
||||||
|
competitive_advantages: '技术领先、品牌优势、客户资源丰富、管理团队优秀',
|
||||||
|
competitive_disadvantages: '规模相对较小、区域布局有待完善'
|
||||||
|
},
|
||||||
|
scores: {
|
||||||
|
market_position: Math.floor(Math.random() * 20) + 70,
|
||||||
|
technology: Math.floor(Math.random() * 20) + 70,
|
||||||
|
brand: Math.floor(Math.random() * 20) + 65,
|
||||||
|
operation: Math.floor(Math.random() * 20) + 70,
|
||||||
|
finance: Math.floor(Math.random() * 20) + 70,
|
||||||
|
innovation: Math.floor(Math.random() * 20) + 70,
|
||||||
|
risk: Math.floor(Math.random() * 20) + 70,
|
||||||
|
growth: Math.floor(Math.random() * 20) + 70
|
||||||
|
}
|
||||||
},
|
},
|
||||||
competitive_advantages: ['技术领先', '品牌优势', '管理团队优秀'],
|
business_structure: [
|
||||||
risk_factors: ['市场竞争激烈', '原材料价格波动'],
|
{ business_name: '核心产品', revenue: baseRevenue * 0.6, ratio: 60, growth: 12.5, report_period: '2024Q3' },
|
||||||
|
{ business_name: '增值服务', revenue: baseRevenue * 0.25, ratio: 25, growth: 18.2, report_period: '2024Q3' },
|
||||||
|
{ business_name: '其他业务', revenue: baseRevenue * 0.15, ratio: 15, growth: 5.8, report_period: '2024Q3' }
|
||||||
|
],
|
||||||
|
business_segments: []
|
||||||
},
|
},
|
||||||
valueChainAnalysis: {
|
valueChainAnalysis: {
|
||||||
upstream: [
|
value_chain_flows: [
|
||||||
{ name: '原材料供应商A', relationship: '供应商', importance: '高' },
|
{ from: '原材料供应商', to: stockName, type: 'supply', label: '原材料采购' },
|
||||||
{ name: '原材料供应商B', relationship: '供应商', importance: '中' },
|
{ from: '设备供应商', to: stockName, type: 'supply', label: '设备采购' },
|
||||||
],
|
{ from: stockName, to: '直销客户', type: 'sales', label: '直销' },
|
||||||
downstream: [
|
{ from: stockName, to: '经销商', type: 'sales', label: '分销' },
|
||||||
{ name: '经销商网络', scale: '1000家', contribution: '60%' },
|
{ from: '经销商', to: '终端用户', type: 'distribution', label: '零售' }
|
||||||
{ name: '直营渠道', scale: '100家', contribution: '40%' },
|
|
||||||
],
|
],
|
||||||
|
value_chain_structure: {
|
||||||
|
nodes_by_level: {
|
||||||
|
'level_-2': [
|
||||||
|
{ node_name: '原材料供应商', node_type: 'supplier', description: '提供生产所需原材料' }
|
||||||
|
],
|
||||||
|
'level_-1': [
|
||||||
|
{ node_name: '设备供应商', node_type: 'supplier', description: '提供生产设备' },
|
||||||
|
{ node_name: '技术服务商', node_type: 'supplier', description: '提供技术支持' }
|
||||||
|
],
|
||||||
|
'level_0': [
|
||||||
|
{ node_name: stockName, node_type: 'company', description: '核心企业', is_core: true }
|
||||||
|
],
|
||||||
|
'level_1': [
|
||||||
|
{ node_name: '直销客户', node_type: 'customer', description: '大客户直销' },
|
||||||
|
{ node_name: '经销商', node_type: 'customer', description: '渠道分销' }
|
||||||
|
],
|
||||||
|
'level_2': [
|
||||||
|
{ node_name: '终端用户', node_type: 'end_user', description: '最终消费者' }
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
analysis_summary: {
|
||||||
|
upstream_nodes: 3,
|
||||||
|
company_nodes: 1,
|
||||||
|
downstream_nodes: 3,
|
||||||
|
total_nodes: 7,
|
||||||
|
key_insights: `${stockName}在产业链中处于核心位置,上下游关系稳定`
|
||||||
|
}
|
||||||
|
},
|
||||||
|
keyFactorsTimeline: {
|
||||||
|
key_factors: {
|
||||||
|
total_factors: 3,
|
||||||
|
categories: [
|
||||||
|
{
|
||||||
|
category_name: '正面因素',
|
||||||
|
category_type: 'positive',
|
||||||
|
factors: [
|
||||||
|
{
|
||||||
|
factor_name: '业绩增长',
|
||||||
|
impact_score: 8.5,
|
||||||
|
description: '营收和利润保持稳定增长态势',
|
||||||
|
trend: 'improving'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
category_name: '负面因素',
|
||||||
|
category_type: 'negative',
|
||||||
|
factors: [
|
||||||
|
{
|
||||||
|
factor_name: '原材料成本',
|
||||||
|
impact_score: 6.0,
|
||||||
|
description: '原材料价格波动影响毛利率',
|
||||||
|
trend: 'declining'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
category_name: '中性因素',
|
||||||
|
category_type: 'neutral',
|
||||||
|
factors: [
|
||||||
|
{
|
||||||
|
factor_name: '市场竞争',
|
||||||
|
impact_score: 7.0,
|
||||||
|
description: '行业竞争加剧,需持续提升竞争力',
|
||||||
|
trend: 'stable'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
development_timeline: {
|
||||||
|
statistics: {
|
||||||
|
positive_events: 4,
|
||||||
|
negative_events: 0,
|
||||||
|
neutral_events: 0
|
||||||
|
},
|
||||||
|
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' }
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
keyFactorsTimeline: [
|
|
||||||
{ date: '2024-10-28', event: '发布三季报', type: '业绩公告', importance: 'high', impact: '业绩超预期' },
|
|
||||||
{ date: '2024-08-28', event: '发布中报', type: '业绩公告', importance: 'high', impact: '业绩稳定增长' },
|
|
||||||
],
|
|
||||||
// 通用预测报告数据
|
|
||||||
forecastReport: {
|
forecastReport: {
|
||||||
income_profit_trend: {
|
income_profit_trend: {
|
||||||
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
income: [5000, 5800, 6500, 7200, 7900, 8600, 9400],
|
income: [baseRevenue * 0.6, baseRevenue * 0.7, baseRevenue * 0.8, baseRevenue * 0.9, baseRevenue, baseRevenue * 1.1, baseRevenue * 1.2],
|
||||||
profit: [450, 520, 580, 650, 720, 800, 890]
|
profit: [baseProfit * 0.6, baseProfit * 0.7, baseProfit * 0.8, baseProfit * 0.9, baseProfit, baseProfit * 1.1, baseProfit * 1.2]
|
||||||
},
|
},
|
||||||
growth_bars: {
|
growth_bars: {
|
||||||
years: ['2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
revenue_growth_pct: [16.0, 12.1, 10.8, 9.7, 8.9, 9.3]
|
revenue_growth_pct: [16.7, 14.3, 12.5, 11.1, 10.0, 9.1]
|
||||||
},
|
},
|
||||||
eps_trend: {
|
eps_trend: {
|
||||||
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
eps: [0.45, 0.52, 0.58, 0.65, 0.72, 0.80, 0.89]
|
eps: [0.45, 0.52, 0.60, 0.68, 0.76, 0.84, 0.92]
|
||||||
},
|
},
|
||||||
pe_peg_axes: {
|
pe_peg_axes: {
|
||||||
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
pe: [22.2, 19.2, 17.2, 15.4, 13.9, 12.5, 11.2],
|
pe: [22.2, 19.2, 16.7, 14.7, 13.2, 11.9, 10.9],
|
||||||
peg: [1.39, 1.59, 1.59, 1.42, 1.43, 1.40, 1.20]
|
peg: [1.33, 1.34, 1.34, 1.32, 1.32, 1.31, 1.20]
|
||||||
},
|
},
|
||||||
detail_table: {
|
detail_table: {
|
||||||
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
years: ['2020', '2021', '2022', '2023', '2024E', '2025E', '2026E'],
|
||||||
rows: [
|
rows: [
|
||||||
{ '指标': '营业总收入(百万元)', '2020': 5000, '2021': 5800, '2022': 6500, '2023': 7200, '2024E': 7900, '2025E': 8600, '2026E': 9400 },
|
{ '指标': '营业总收入(百万元)', '2020': baseRevenue * 0.6, '2021': baseRevenue * 0.7, '2022': baseRevenue * 0.8, '2023': baseRevenue * 0.9, '2024E': baseRevenue, '2025E': baseRevenue * 1.1, '2026E': baseRevenue * 1.2 },
|
||||||
{ '指标': '营收增长率(%)', '2020': '-', '2021': 16.0, '2022': 12.1, '2023': 10.8, '2024E': 9.7, '2025E': 8.9, '2026E': 9.3 },
|
{ '指标': '营收增长率(%)', '2020': '-', '2021': 16.7, '2022': 14.3, '2023': 12.5, '2024E': 11.1, '2025E': 10.0, '2026E': 9.1 },
|
||||||
{ '指标': '归母净利润(百万元)', '2020': 450, '2021': 520, '2022': 580, '2023': 650, '2024E': 720, '2025E': 800, '2026E': 890 },
|
{ '指标': '归母净利润(百万元)', '2020': baseProfit * 0.6, '2021': baseProfit * 0.7, '2022': baseProfit * 0.8, '2023': baseProfit * 0.9, '2024E': baseProfit, '2025E': baseProfit * 1.1, '2026E': baseProfit * 1.2 },
|
||||||
{ '指标': 'EPS(稀释,元)', '2020': 0.45, '2021': 0.52, '2022': 0.58, '2023': 0.65, '2024E': 0.72, '2025E': 0.80, '2026E': 0.89 },
|
{ '指标': 'EPS(稀释,元)', '2020': 0.45, '2021': 0.52, '2022': 0.60, '2023': 0.68, '2024E': 0.76, '2025E': 0.84, '2026E': 0.92 },
|
||||||
{ '指标': 'ROE(%)', '2020': 12.5, '2021': 13.2, '2022': 13.8, '2023': 14.2, '2024E': 14.5, '2025E': 14.8, '2026E': 15.0 },
|
{ '指标': 'ROE(%)', '2020': 12.5, '2021': 13.2, '2022': 13.8, '2023': 14.2, '2024E': 14.5, '2025E': 14.8, '2026E': 15.0 },
|
||||||
{ '指标': 'PE(倍)', '2020': 22.2, '2021': 19.2, '2022': 17.2, '2023': 15.4, '2024E': 13.9, '2025E': 12.5, '2026E': 11.2 }
|
{ '指标': 'PE(倍)', '2020': 22.2, '2021': 19.2, '2022': 16.7, '2023': 14.7, '2024E': 13.2, '2025E': 11.9, '2026E': 10.9 }
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,12 +43,10 @@ export const companyHandlers = [
|
|||||||
const { stockCode } = params;
|
const { stockCode } = params;
|
||||||
const data = getCompanyData(stockCode);
|
const data = getCompanyData(stockCode);
|
||||||
|
|
||||||
|
// 直接返回 keyFactorsTimeline 对象(包含 key_factors 和 development_timeline)
|
||||||
return HttpResponse.json({
|
return HttpResponse.json({
|
||||||
success: true,
|
success: true,
|
||||||
data: {
|
data: data.keyFactorsTimeline
|
||||||
timeline: data.keyFactorsTimeline,
|
|
||||||
total: data.keyFactorsTimeline.length
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user