This commit is contained in:
‘937886381’
2025-11-13 13:29:46 +08:00
parent bff6efbaa8
commit 5ddab768ef
33 changed files with 153 additions and 251 deletions

View File

@@ -81,8 +81,8 @@ export default {
const currentIndex = params[0].dataIndex;
// 使用处理后的 safeFlag避免越界
const currentFlag = safeFlag[currentIndex] || 0;
const statusText = currentFlag === 0 ? '达标' : '不达标';
let html = `${params[0].axisValue}${statusText}<br/>`;
// const statusText = currentFlag === 0 ? '达标' : '不达标';
let html = `${params[0].axisValue}<br/>`;
params.forEach(item => {
const unit = item.seriesName === '完成率' ? '%' : '万元';
html += `${item.marker} ${item.seriesName}: ${item.value}${unit}<br/>`;