From 13b020a2a57f2bff06a10abf47ceb2fdc70ccbc0 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期三, 28 一月 2026 13:37:04 +0800
Subject: [PATCH] fix: 完成进销存分析大屏前端页面

---
 src/views/reportAnalysis/dataDashboard/components/basic/center-bottom.vue |   48 +++++++++++++++++++++++++++++++++++++-----------
 1 files changed, 37 insertions(+), 11 deletions(-)

diff --git a/src/views/reportAnalysis/dataDashboard/components/basic/center-bottom.vue b/src/views/reportAnalysis/dataDashboard/components/basic/center-bottom.vue
index 72ba5ba..a4824a2 100644
--- a/src/views/reportAnalysis/dataDashboard/components/basic/center-bottom.vue
+++ b/src/views/reportAnalysis/dataDashboard/components/basic/center-bottom.vue
@@ -2,16 +2,19 @@
   <div>
     <PanelHeader title="浜哄憳鍒嗗竷" />
     <div class="main-panel panel-item-customers">
-      <Echarts
-        ref="echartsRef"
-        :chartStyle="chartStyle"
-        :legend="pieLegend"
-        :series="pieSeries"
-        :tooltip="pieTooltip"
-        :color="pieColors"
-        :options="pieOptions"
-        style="height: 320px"
-      />
+      <div class="pie-chart-wrapper">
+        <div class="pie-background" :style="{ backgroundImage: `url(${roseBorderImg})` }"></div>
+        <Echarts
+          ref="echartsRef"
+          :chartStyle="chartStyle"
+          :legend="pieLegend"
+          :series="pieSeries"
+          :tooltip="pieTooltip"
+          :color="pieColors"
+          :options="pieOptions"
+          style="height: 320px"
+        />
+      </div>
     </div>
   </div>
 </template>
@@ -21,6 +24,7 @@
 import { deptStaffDistribution } from '@/api/viewIndex.js'
 import PanelHeader from '../PanelHeader.vue'
 import Echarts from '@/components/Echarts/echarts.vue'
+import roseBorderImg from '@/assets/BI/鐜懓鍥捐竟妗�.png'
 
 /**
  * @introduction 鎶婃暟缁勪腑key鍊肩浉鍚岀殑閭d竴椤规彁鍙栧嚭鏉ワ紝缁勬垚涓�涓璞�
@@ -110,7 +114,7 @@
     center: ['20%', '50%'],
     itemStyle: {
       borderColor: '#0a1c3a',
-      borderWidth: 2,
+      borderWidth:5,
     },
     label: {
       show: false
@@ -162,4 +166,26 @@
   width: 100%;
   height: 370px;
 }
+
+.pie-chart-wrapper {
+  position: relative;
+  width: 100%;
+  height: 320px;
+  background: transparent;
+}
+
+
+.pie-background {
+  position: absolute;
+  left: 50%;
+  top: 50%;
+  transform: translate(-113%, -50%);
+  width: 360px;
+  height: 360px;
+  background-size: contain;
+  background-position: center;
+  background-repeat: no-repeat;
+  z-index: 1;
+  pointer-events: none;
+}
 </style>

--
Gitblit v1.9.3