From adb79299e86660a7f205466cf1ea48c6b25b1398 Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期四, 18 六月 2026 13:14:37 +0800
Subject: [PATCH] 1.计量器具台账上传附件报错 2.质量拉的数据不对(未明确) 3.计量器具台账逾期的做标红提醒 4.设备保养定时任务和记录要加上具体的保养内容 5.质量要区分质检规则抽检还是全检,抽检的话是抽多少百分比 6.供应商管理东西太少了,没有资质文件啊这些东西(是不是可以参考pro) 7.采购审批把人从李莹莹改成龙红星

---
 src/views/reportAnalysis/dataDashboard/components/basic/center-bottom.vue |   95 +++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 83 insertions(+), 12 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..f3cf759 100644
--- a/src/views/reportAnalysis/dataDashboard/components/basic/center-bottom.vue
+++ b/src/views/reportAnalysis/dataDashboard/components/basic/center-bottom.vue
@@ -2,25 +2,29 @@
   <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>
 
 <script setup>
-import { ref, onMounted, computed } from 'vue'
+import { ref, onMounted, computed, inject, watch } from 'vue'
 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
@@ -144,6 +148,13 @@
   })
 }
 
+const dataDashboardRefreshTick = inject('dataDashboardRefreshTick', null)
+if (dataDashboardRefreshTick) {
+  watch(dataDashboardRefreshTick, () => {
+    getDeptStaffDistribution()
+  })
+}
+
 onMounted(() => {
   getDeptStaffDistribution()
 })
@@ -161,5 +172,65 @@
   padding: 18px;
   width: 100%;
   height: 370px;
+  position: relative;
+  overflow: hidden;
+}
+
+/* 闈㈡澘瑙掕惤瑁呴グ */
+.panel-item-customers::before,
+.panel-item-customers::after {
+  content: '';
+  position: absolute;
+  width: 15px;
+  height: 15px;
+  border-color: rgba(0, 212, 255, 0.5);
+  border-style: solid;
+  pointer-events: none;
+}
+
+.panel-item-customers::before {
+  top: -1px;
+  left: -1px;
+  border-width: 2px 0 0 2px;
+}
+
+.panel-item-customers::after {
+  bottom: -1px;
+  right: -1px;
+  border-width: 0 2px 2px 0;
+}
+
+.pie-chart-wrapper {
+  position: relative;
+  width: 100%;
+  height: 320px;
+  background: transparent;
+  animation: pieFloat 4s ease-in-out infinite;
+}
+
+@keyframes pieFloat {
+  0%, 100% { transform: translateY(0); }
+  50% { transform: translateY(-3px); }
+}
+
+
+.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;
+  animation: pieBgRotate 30s linear infinite;
+}
+
+@keyframes pieBgRotate {
+  from { transform: translate(-113%, -50%) rotate(0deg); }
+  to { transform: translate(-113%, -50%) rotate(360deg); }
 }
 </style>

--
Gitblit v1.9.3