Files
vf_react/src/views/Company/components/FinancialPanorama/hooks/index.ts
zdl d7ae2e9519 feat(FinancialPanorama): 新增归母净利润趋势图组件
- 新增 NetProfitTrendChart 组件,展示归母净利润季度/年度趋势
- 新增 PeriodFilterDropdown 组件,支持季度/年度筛选
- 新增 useNetProfitData Hook,处理净利润数据和同比计算
- 新增 getNetProfitTrendChartOption 图表配置
- useFinancialData 初始加载时同时获取利润表数据
- 修复 mock 数据 profit 字段单位(添加 *10000)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-29 15:00:50 +08:00

11 lines
353 B
TypeScript

/**
* Hooks 统一导出
*/
export { useFinancialData } from './useFinancialData';
export type { DataTypeKey } from './useFinancialData';
export type { default as UseFinancialDataReturn } from './useFinancialData';
export { useNetProfitData } from './useNetProfitData';
export type { ReportPeriodType, NetProfitDataItem } from './useNetProfitData';