From 84d7be872e96547becfbd1647ec77ed56f9f2dde Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期二, 22 九月 2026 10:02:11 +0800
Subject: [PATCH] 新疆-融邦环保 1.大屏展示数据修改 2.销售台账展示字段修改
---
src/views/reportAnalysis/PSIDataAnalysis/components/left-top.vue | 25 ++++++++++++++-----------
1 files changed, 14 insertions(+), 11 deletions(-)
diff --git a/src/views/reportAnalysis/PSIDataAnalysis/components/left-top.vue b/src/views/reportAnalysis/PSIDataAnalysis/components/left-top.vue
index f5dac31..ca95e82 100644
--- a/src/views/reportAnalysis/PSIDataAnalysis/components/left-top.vue
+++ b/src/views/reportAnalysis/PSIDataAnalysis/components/left-top.vue
@@ -13,7 +13,7 @@
:tooltip="pieTooltip"
:color="pieColors"
:options="pieOptions"
- style="height: 320px"
+ style="height: 100%"
/>
</div>
</div>
@@ -67,9 +67,9 @@
}))
return {
- orient: 'vertical',
- top: 'center',
- left: '52%',
+ orient: 'horizontal',
+ bottom: 0,
+ left: 'center',
itemGap: 30,
data: data,
formatter: function (name) {
@@ -116,7 +116,7 @@
name: '浜у搧閿�鍞噾棰濆垎鏋�',
type: 'pie',
radius: '60%',
- center: ['25%', '50%'],
+ center: ['50%', '45%'],
itemStyle: {
borderColor: '#0a1c3a',
borderWidth: 2,
@@ -145,8 +145,8 @@
const { init: initBackground, cleanup: cleanupBackground } = useChartBackground({
wrapperRef: pieWrapperRef,
backgroundRef: pieBackgroundRef,
- left: '25%', // 鍥捐〃涓績 X 鏄� 25%
- top: '50%', // 鍥捐〃涓績 Y 鏄� 50%
+ left: '50%', // 鍥捐〃涓績 X 鏄� 50%
+ top: '45%', // 鍥捐〃涓績 Y 鏄� 45%锛堜笅闈㈢暀鍑哄浘渚嬬殑浣嶇疆锛�
offsetX: '-51.5%', // X 杞村亸绉�
offsetY: '-50%', // Y 杞村亸绉�
watchData: pieDatas // 鐩戝惉鏁版嵁鍙樺寲锛岃嚜鍔ㄨ皟鏁翠綅缃�
@@ -199,21 +199,24 @@
gap: 20px;
}
+/* 宸︽爮鍙墿杩欎竴鍧楅潰鏉匡紝楂樺害鎾戞弧鏁存爮锛屽浘琛ㄨ窡鐫�鎶婂墿浣欑┖闂村崰鎺� */
.panel-item-customers {
border: 1px solid #1a58b0;
padding: 18px;
width: 100%;
- height: 449px;
+ flex: 1;
+ min-height: 0;
}
.pie-chart-wrapper {
position: relative;
width: 100%;
- height: 320px;
+ flex: 1;
+ min-height: 0;
}
.pie-background {
position: absolute;
- left: 25%;
- top: 50%;
+ left: 50%;
+ top: 45%;
transform: translate(-51.5%, -50%);
width: 310px;
height: 310px;
--
Gitblit v1.9.3