新增页面
This commit is contained in:
@@ -104,10 +104,10 @@ export default {
|
||||
transformData(rawData) {
|
||||
// 定义指标映射关系,包括名称、对应的数据键和路由
|
||||
const Mapping = [
|
||||
{ key: 'operatingRevenue', name: '营业收入·万元', route: 'operatingRevenue' },
|
||||
{ key: 'operatingIncome', name: '经营性利润·万元', route: 'profitAnalysis' },
|
||||
{ key: 'totalProfit', name: '利润总额·万元', route: 'profitAnalysis' },
|
||||
{ key: 'grossMargin', name: '毛利率·%', route: 'profitAnalysis' }
|
||||
{ key: 'operatingRevenue', name: '营业收入·万元', route: '/operatingRevenue/operatingRevenueIndex' },
|
||||
{ key: 'operatingIncome', name: '经营性利润·万元', route: '/operatingProfit/operatingProfit' },
|
||||
{ key: 'totalProfit', name: '利润总额·万元', route: '/totalProfit/totalProfit' },
|
||||
{ key: 'grossMargin', name: '毛利率·%', route: '/grossMargin/grossMargin' }
|
||||
];
|
||||
|
||||
// 遍历映射关系,转换数据
|
||||
|
||||
Reference in New Issue
Block a user