Commit bee4390a by 李伟康

```

feat(earlyWarningManager): 历史目标数据显示优化

历史目标组件中渗透率和转化率兜底目标字段增加空值处理,
避免显示undefined或null值,提升用户体验。
```
1 parent bae9d056
......@@ -91,33 +91,35 @@ export default {
label: "渗透率兜底目标",
minWidth: 80,
formatter: (row) => {
return row[
let val = row[
{
0: 'ewPenetrationRate',
1: 'ewAxbPenetrationRate',
2: 'batteryPenetrationRate',
3: 'ewLtPenetrationRate'
}[this.index]
] + '%'
]
return val ? val + '%' : '-'
}
},
{
label: "转化率兜底目标",
minWidth: 80,
formatter: (row) => {
return row[
let val = row[
{
0: 'ewConRate',
1: 'ewAxbConRate',
2: 'batteryConversionRate',
3: 'ewLtConRate'
}[this.index]
] + '%'
]
return val ? val + '%' : '-'
}
},
]
},
list:[]
list: []
}
},
methods: {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!