|
|
@@ -388,7 +388,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
}
|
|
|
},
|
|
|
label: {
|
|
|
- formatter: '{b}: {c}'
|
|
|
+ show: false
|
|
|
}
|
|
|
}]
|
|
|
}}
|
|
|
@@ -421,7 +421,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
radius: ['40%', '70%'],
|
|
|
center: ['35%', '50%'],
|
|
|
data: stats.map(item => ({
|
|
|
- name: item.key,
|
|
|
+ name: item.key === '已离职' ? '离职' : item.key,
|
|
|
value: Math.round(item.value || 0)
|
|
|
})),
|
|
|
emphasis: {
|
|
|
@@ -432,7 +432,7 @@ const Statistics: React.FC<StatisticsProps> = () => {
|
|
|
}
|
|
|
},
|
|
|
label: {
|
|
|
- formatter: '{b}: {c}'
|
|
|
+ show: false
|
|
|
}
|
|
|
}]
|
|
|
}}
|