yanghao vor 4 Tagen
Ursprung
Commit
78d9a52f4c
1 geänderte Dateien mit 10 neuen und 8 gelöschten Zeilen
  1. 10 8
      src/views/pms/qhse/kanban/index.vue

+ 10 - 8
src/views/pms/qhse/kanban/index.vue

@@ -84,7 +84,7 @@ const summaryCards: SummaryCard[] = [
     icon: Warning
   },
   {
-    title: '今日隐患(条)',
+    title: '本月隐患(条)',
     value: '29',
     note: 'Exp:2',
     accent: '#ff9f2f',
@@ -100,7 +100,7 @@ const summaryCards: SummaryCard[] = [
     icon: DataAnalysis
   },
   {
-    title: '在线作业许可',
+    title: '本月在线作业许可',
     value: '11',
     note: 'Active',
     accent: '#4f8dff',
@@ -118,9 +118,9 @@ const summaryCards: SummaryCard[] = [
 ]
 
 const hazardBars: MetricBar[] = [
+  { label: '总数', value: 657, color: '#4f8dff' },
   { label: '已整改', value: 628, color: '#43c7ca' },
-  { label: '未整改', value: 29, color: '#ff981f' },
-  { label: '超期', value: 2, color: '#ff4c49' }
+  { label: '未整改', value: 29, color: '#ff981f' }
 ]
 
 const incidentStats = [
@@ -179,7 +179,7 @@ const bottomCards: BottomCard[] = [
     icon: Flag,
     accent: '#28c98b',
     glow: 'rgba(40, 201, 139, 0.2)',
-    lines: ['液废处置量: 0.05T', '固废处置量: 0.05T']
+    lines: ['危险暂存合规', '三废处置100%达标']
   }
 ]
 
@@ -428,7 +428,9 @@ function destroyHazardChart() {
                   </div>
                   <div class="incident-metrics">
                     <div v-for="item in incidentStats" :key="item.label" class="incident-metric">
-                      <span>{{ item.label }}:</span>
+                      <span :style="{ color: item.label === '安全生产天数' ? '#259745' : '' }"
+                        >{{ item.label }}:</span
+                      >
                       <strong :style="{ color: item.accent }">{{ item.value }}</strong>
                     </div>
                   </div>
@@ -703,7 +705,7 @@ function destroyHazardChart() {
 }
 
 .risk-card {
-  min-height: 132px;
+  min-height: 182px;
   padding: 34px 24px;
   background: linear-gradient(180deg, rgb(255 255 255 / 42%) 0%, rgb(220 232 250 / 28%) 100%);
   border: 1px solid rgb(255 255 255 / 58%);
@@ -729,7 +731,7 @@ function destroyHazardChart() {
 }
 
 .risk-card__desc {
-  margin-top: 16px;
+  margin-top: 36px;
   font-size: 17px;
   font-weight: 600;
   color: #6f819a;