diff --git a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/adjustSalaryFile/content.js b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/adjustSalaryFile/content.js index 22d731af..77cc3cfb 100644 --- a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/adjustSalaryFile/content.js +++ b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/adjustSalaryFile/content.js @@ -94,13 +94,16 @@ class Content extends Component { name: pieName, data: data, type: "pie", - radius: "60%", + radius: "58%", avoidLabelOverlap: true, animation: false, + label: { + formatter: "{b}\n{d}%" + }, labelLine: { show: true, normal: { - length: 5, + length: 3, align: "center" } }, @@ -118,7 +121,7 @@ class Content extends Component { render() { const { columns, dataSource, chartsDataA, chartsDataB, loading, showLeft } = this.state; - return ( this.setState({ showLeft: v })} leftCom={
diff --git a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/salaryFile/content.js b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/salaryFile/content.js index 5f1258d5..96e4bc17 100644 --- a/pc4mobx/hrmSalary/pages/custom-pages/lingyue/salaryFile/content.js +++ b/pc4mobx/hrmSalary/pages/custom-pages/lingyue/salaryFile/content.js @@ -87,13 +87,16 @@ class Content extends Component { name: pieName, data: data, type: "pie", - radius: "60%", + radius: "58%", avoidLabelOverlap: true, animation: false, + label: { + formatter: "{b}\n{d}%" + }, labelLine: { show: true, normal: { - length: 5, + length: 3, align: "center" } },