refactor: 整合 CompanyHeaderCard 到 StockQuoteCard,优化布局对齐

- 将公司基本信息整合到 StockQuoteCard 内部
- 采用 1:2 Flex 布局确保上下竖线对齐
- 删除废弃的 CompanyHeaderCard 组件
- 清理 types.ts 中的 CompanyHeaderCardProps

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
zdl
2025-12-10 19:54:51 +08:00
parent 6d5594556b
commit 6ce913d79b
7 changed files with 365 additions and 292 deletions

View File

@@ -70,66 +70,219 @@ export const PINGAN_BANK_DATA = {
{ stat_item: '前10大股东', holding_ratio: 62.93, ratio_change: -0.22, end_date: '2024-06-30' },
],
// 高管信息
// 高管信息(包含高管、董事、监事、其他)
management: [
// === 高管 ===
{
name: '谢永林',
position: '董事长',
position_name: '董事长',
position_category: '高管',
gender: '男',
age: 56,
birth_year: '1968',
education: '硕士',
appointment_date: '2019-01-01',
annual_compensation: 723.8,
shareholding: 0,
background: '中国平安保险(集团)股份有限公司副总经理兼首席保险业务执行官',
nationality: '中国',
start_date: '2019-01-01',
status: 'active'
},
{
name: '冀光恒',
position: '行长',
position_name: '行长',
position_category: '高管',
gender: '男',
age: 52,
birth_year: '1972',
education: '博士',
appointment_date: '2023-08-01',
annual_compensation: 650.5,
shareholding: 0,
background: '原中国工商银行总行部门总经理',
nationality: '中国',
start_date: '2023-08-01',
status: 'active'
},
{
name: '周强',
position: '执行董事、副行长、董事会秘书',
position_name: '副行长、董事会秘书',
position_category: '高管',
gender: '男',
age: 54,
birth_year: '1970',
education: '硕士',
appointment_date: '2016-06-01',
annual_compensation: 542.3,
shareholding: 0.002,
background: '历任平安银行深圳分行行长',
nationality: '中国',
start_date: '2016-06-01',
status: 'active'
},
{
name: '郭世邦',
position: '执行董事、副行长、首席财务官',
position_name: '副行长、首席财务官',
position_category: '高管',
gender: '男',
age: 52,
birth_year: '1972',
education: '博士',
appointment_date: '2018-03-01',
annual_compensation: 498.6,
shareholding: 0.001,
background: '历任中国平安集团财务负责人',
nationality: '中国',
start_date: '2018-03-01',
status: 'active'
},
{
name: '项有志',
position: '副行长、首席信息官',
position_name: '副行长、首席信息官',
position_category: '高管',
gender: '男',
age: 49,
birth_year: '1975',
education: '硕士',
appointment_date: '2019-09-01',
annual_compensation: 425.1,
shareholding: 0,
background: '历任中国平安科技公司总经理',
nationality: '中国',
start_date: '2019-09-01',
status: 'active'
},
{
name: '张小璐',
position_name: '副行长、首席风险官',
position_category: '高管',
gender: '女',
birth_year: '1973',
education: '硕士',
nationality: '中国',
start_date: '2020-03-15',
status: 'active'
},
// === 董事 ===
{
name: '马明哲',
position_name: '非执行董事',
position_category: '董事',
gender: '男',
birth_year: '1955',
education: '博士',
nationality: '中国',
start_date: '2012-06-15',
status: 'active'
},
{
name: '孙建一',
position_name: '非执行董事',
position_category: '董事',
gender: '男',
birth_year: '1960',
education: '硕士',
nationality: '中国',
start_date: '2016-08-20',
status: 'active'
},
{
name: '陈心颖',
position_name: '非执行董事',
position_category: '董事',
gender: '女',
birth_year: '1977',
education: '硕士',
nationality: '新加坡',
start_date: '2018-06-01',
status: 'active'
},
{
name: '黄宝新',
position_name: '独立非执行董事',
position_category: '董事',
gender: '男',
birth_year: '1962',
education: '博士',
nationality: '中国',
start_date: '2019-06-20',
status: 'active'
},
{
name: '王志良',
position_name: '独立非执行董事',
position_category: '董事',
gender: '男',
birth_year: '1958',
education: '博士',
nationality: '美国',
start_date: '2020-06-18',
status: 'active'
},
{
name: '李曙光',
position_name: '独立非执行董事',
position_category: '董事',
gender: '男',
birth_year: '1963',
education: '博士',
nationality: '中国',
start_date: '2021-06-25',
status: 'active'
},
// === 监事 ===
{
name: '王选庆',
position_name: '监事会主席',
position_category: '监事',
gender: '男',
birth_year: '1965',
education: '硕士',
nationality: '中国',
start_date: '2017-06-15',
status: 'active'
},
{
name: '杨峻',
position_name: '职工监事',
position_category: '监事',
gender: '男',
birth_year: '1970',
education: '本科',
nationality: '中国',
start_date: '2019-06-20',
status: 'active'
},
{
name: '刘春华',
position_name: '外部监事',
position_category: '监事',
gender: '女',
birth_year: '1968',
education: '硕士',
nationality: '中国',
start_date: '2020-06-18',
status: 'active'
},
{
name: '张伟民',
position_name: '外部监事',
position_category: '监事',
gender: '男',
birth_year: '1966',
education: '博士',
nationality: '中国',
start_date: '2021-06-25',
status: 'active'
},
// === 其他 ===
{
name: '陈敏',
position_name: '合规总监',
position_category: '其他',
gender: '女',
birth_year: '1975',
education: '硕士',
nationality: '中国',
start_date: '2018-09-01',
status: 'active'
},
{
name: '李明',
position_name: '审计部总经理',
position_category: '其他',
gender: '男',
birth_year: '1978',
education: '硕士',
nationality: '中国',
start_date: '2019-03-15',
status: 'active'
},
{
name: '王建国',
position_name: '法务部总经理',
position_category: '其他',
gender: '男',
birth_year: '1972',
education: '博士',
nationality: '中国',
start_date: '2017-06-01',
status: 'active'
}
],
@@ -1033,11 +1186,24 @@ export const generateCompanyData = (stockCode, stockName = '示例公司') => {
{ stat_item: '前10大股东', holding_ratio: 72.18, ratio_change: -0.20, end_date: '2024-06-30' },
],
management: [
{ name: '张三', position: '董事长', gender: '男', age: 55, education: '硕士', annual_compensation: 320.5, status: 'active' },
{ name: '李四', position: '总经理', gender: '男', age: 50, education: '硕士', annual_compensation: 280.3, status: 'active' },
{ 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' },
// 高管
{ name: '张三', position_name: '董事长', position_category: '高管', gender: '男', birth_year: '1969', education: '硕士', nationality: '中国', start_date: '2018-06-01', status: 'active' },
{ name: '李四', position_name: '总经理', position_category: '高管', gender: '', birth_year: '1974', education: '硕士', nationality: '中国', start_date: '2019-03-15', status: 'active' },
{ name: '王五', position_name: '董事会秘书', position_category: '高管', gender: '', birth_year: '1979', education: '本科', nationality: '中国', start_date: '2020-01-10', status: 'active' },
{ name: '赵六', position_name: '财务总监', position_category: '高管', gender: '男', birth_year: '1976', education: '士', nationality: '中国', start_date: '2017-09-01', status: 'active' },
{ name: '钱七', position_name: '技术总监', position_category: '高管', gender: '男', birth_year: '1982', education: '博士', nationality: '中国', start_date: '2021-06-01', status: 'active' },
// 董事
{ name: '孙八', position_name: '非执行董事', position_category: '董事', gender: '男', birth_year: '1965', education: '博士', nationality: '中国', start_date: '2016-06-15', status: 'active' },
{ name: '周九', position_name: '非执行董事', position_category: '董事', gender: '男', birth_year: '1968', education: '硕士', nationality: '中国', start_date: '2018-06-20', status: 'active' },
{ name: '吴十', position_name: '独立董事', position_category: '董事', gender: '女', birth_year: '1972', education: '博士', nationality: '美国', start_date: '2019-06-18', status: 'active' },
{ name: '郑十一', position_name: '独立董事', position_category: '董事', gender: '男', birth_year: '1970', education: '博士', nationality: '中国', start_date: '2020-06-25', status: 'active' },
// 监事
{ name: '冯十二', position_name: '监事会主席', position_category: '监事', gender: '男', birth_year: '1967', education: '硕士', nationality: '中国', start_date: '2017-06-15', status: 'active' },
{ name: '陈十三', position_name: '职工监事', position_category: '监事', gender: '女', birth_year: '1975', education: '本科', nationality: '中国', start_date: '2019-06-20', status: 'active' },
{ name: '楚十四', position_name: '外部监事', position_category: '监事', gender: '男', birth_year: '1971', education: '硕士', nationality: '中国', start_date: '2020-06-18', status: 'active' },
// 其他
{ name: '卫十五', position_name: '合规负责人', position_category: '其他', gender: '男', birth_year: '1978', education: '硕士', nationality: '中国', start_date: '2018-09-01', status: 'active' },
{ name: '蒋十六', position_name: '内审部负责人', position_category: '其他', gender: '女', birth_year: '1980', education: '硕士', nationality: '中国', start_date: '2019-03-15', status: 'active' },
],
topCirculationShareholders: [
{ shareholder_rank: 1, shareholder_name: '某控股集团有限公司', holding_shares: 560000000, circulation_share_ratio: 35.50, shareholder_type: '法人', end_date: '2024-09-30' },