diff --git a/apps/web-antd/src/views/ops/cleaning/work-order/dashboard/index.vue b/apps/web-antd/src/views/ops/cleaning/work-order/dashboard/index.vue
index 8ec28ccc3..4e57d8958 100644
--- a/apps/web-antd/src/views/ops/cleaning/work-order/dashboard/index.vue
+++ b/apps/web-antd/src/views/ops/cleaning/work-order/dashboard/index.vue
@@ -422,11 +422,20 @@ function getStatusDistributionChartOptions(): ECOption {
return `${marker}${params.name}
${params.value} 个 ${params.percent}%`;
},
},
- legend: { show: false },
+ legend: {
+ orient: 'vertical',
+ right: '4%',
+ top: 'center',
+ itemWidth: 10,
+ itemHeight: 10,
+ itemGap: 14,
+ icon: 'circle',
+ textStyle: { fontSize: 12, color: '#595959' },
+ },
graphic: [
{
type: 'text',
- left: 'center',
+ left: '23%',
top: '38%',
style: {
text: `${total}`,
@@ -438,7 +447,7 @@ function getStatusDistributionChartOptions(): ECOption {
},
{
type: 'text',
- left: 'center',
+ left: '23%',
top: '55%',
style: {
text: '近7天工单',
@@ -453,7 +462,7 @@ function getStatusDistributionChartOptions(): ECOption {
name: '工单状态分布',
type: 'pie',
radius: ['48%', '70%'],
- center: ['50%', '50%'],
+ center: ['25%', '50%'],
avoidLabelOverlap: false,
label: { show: false },
emphasis: {