|
@@ -386,7 +386,7 @@ const SmartReport = () => {
|
|
|
<div
|
|
|
ref={eqDomRef}
|
|
|
style={{
|
|
|
- height: '4rem',
|
|
|
+ height: '8rem',
|
|
|
width: 'calc(100% - 1.2rem)',
|
|
|
margin: '0 0 0 0.8rem',
|
|
|
}}
|
|
@@ -413,7 +413,7 @@ const SmartReport = () => {
|
|
|
<div
|
|
|
ref={workScoreDomRef}
|
|
|
style={{
|
|
|
- height: '4rem',
|
|
|
+ height: '8rem',
|
|
|
width: 'calc(100% - 1.2rem)',
|
|
|
margin: '0 0 0 0.8rem',
|
|
|
}}
|
|
@@ -467,7 +467,7 @@ const SmartReport = () => {
|
|
|
<div
|
|
|
ref={taskDomRef}
|
|
|
style={{
|
|
|
- height: '4rem',
|
|
|
+ height: '8rem',
|
|
|
width: '100%',
|
|
|
marginTop: '0.2rem',
|
|
|
}}
|
|
@@ -478,7 +478,7 @@ const SmartReport = () => {
|
|
|
<div
|
|
|
ref={workDomRef}
|
|
|
style={{
|
|
|
- height: '4rem',
|
|
|
+ height: '8rem',
|
|
|
width: '100%',
|
|
|
marginTop: '0.2rem',
|
|
|
}}
|
|
@@ -526,9 +526,11 @@ const getPieOption = (chartData, legend = {}) => {
|
|
|
legend: {
|
|
|
orient: 'horizontal',
|
|
|
// left: 'left',
|
|
|
+ itemWidth: 10,
|
|
|
+ itemHeight: 8,
|
|
|
textStyle: {
|
|
|
color: '#000000',
|
|
|
- fontSize: 18,
|
|
|
+ fontSize: 12,
|
|
|
},
|
|
|
...legend,
|
|
|
},
|