huoyi il y a 2 jours
Parent
commit
f4b85e27c6
1 fichiers modifiés avec 424 ajouts et 262 suppressions
  1. 424 262
      src/pages/organProfile/index.vue

+ 424 - 262
src/pages/organProfile/index.vue

@@ -2,14 +2,19 @@
2 2
     <view class="organ-profile-page">
3 3
         <scroll-view scroll-y class="page-scroll">
4 4
             <!-- ====== 顶部统计卡片 ====== -->
5
-            <view class="summary-grid">
6
-                <view class="summary-card" v-for="(item, idx) in summaryCards" :key="idx"
7
-                    :style="{ background: item.bg }">
8
-                    <text class="summary-label">{{ item.label }}</text>
9
-                    <text class="summary-value">{{ item.value }}</text>
10
-                    <text class="summary-change" :class="item.change > 0 ? 'up' : 'down'">
11
-                        {{ item.change > 0 ? '↑' : '↓' }}{{ Math.abs(item.change) }}%
12
-                    </text>
5
+            <view class="metric-row">
6
+                <view class="metric-card" v-for="(m, i) in metricCards" :key="i" :style="{ background: m.bg }">
7
+                    <text class="metric-title">{{ m.title }}</text>
8
+                    <text class="metric-value" :style="{ color: m.color }">{{ m.value }}</text>
9
+                    <view class="metric-change-row" v-if="!m.side">
10
+                        <view class="metric-change-info">
11
+                            <text class="metric-change-label">环比</text>
12
+                            <text class="metric-change" :class="'change-' + m.changeType" :style="{ color: m.changeColor }">
13
+                                {{ m.change }}
14
+                            </text>
15
+                        </view>
16
+                        <div class="metric-chart" :ref="el => m._sparkRef = el"></div>
17
+                    </view>
13 18
                 </view>
14 19
             </view>
15 20
 
@@ -25,16 +30,22 @@
25 30
                 <view class="chart-box"><div ref="chartIssueType" class="chart-inner"></div></view>
26 31
             </view>
27 32
 
28
-            <!-- ====== 区域问题占比(监察) ====== -->
33
+            <!-- ====== 班组问题统计(监察) ====== -->
34
+            <view class="chart-card">
35
+                <view class="chart-title">班组问题统计(监察)</view>
36
+                <view class="chart-box"><div ref="chartTeamSupervise" class="chart-inner"></div></view>
37
+            </view>
38
+
39
+            <!-- ====== 区域问题占比(监察) ====== -->
29 40
             <view class="chart-card">
30 41
                 <view class="chart-title">区域问题占比(监察)</view>
31 42
                 <view class="chart-box"><div ref="chartRegionPie" class="chart-inner chart-pie"></div></view>
32 43
             </view>
33 44
 
34
-            <!-- ====== 各队问题数(监察) ====== -->
45
+            <!-- ====== 班组问题统计(实时) ====== -->
35 46
             <view class="chart-card">
36
-                <view class="chart-title">各队问题数(监察)</view>
37
-                <view class="chart-box"><div ref="chartTeamSupervise" class="chart-inner"></div></view>
47
+                <view class="chart-title">班组问题统计(实时)</view>
48
+                <view class="chart-box"><div ref="chartTeamQuality" class="chart-inner"></div></view>
38 49
             </view>
39 50
 
40 51
             <!-- ====== 实时质控拦截情况 ====== -->
@@ -43,12 +54,6 @@
43 54
                 <view class="chart-box"><div ref="chartIntercept" class="chart-inner"></div></view>
44 55
             </view>
45 56
 
46
-            <!-- ====== 各队问题数(实时质控) ====== -->
47
-            <view class="chart-card">
48
-                <view class="chart-title">各队问题数(实时质控)</view>
49
-                <view class="chart-box"><div ref="chartTeamQuality" class="chart-inner"></div></view>
50
-            </view>
51
-
52 57
             <!-- ====== 实时质控开机年龄分布 ====== -->
53 58
             <view class="chart-card">
54 59
                 <view class="chart-title">实时质控开机年龄分布</view>
@@ -61,71 +66,39 @@
61 66
                 <view class="chart-box"><div ref="chartFence" class="chart-inner"></div></view>
62 67
             </view>
63 68
 
64
-            <!-- ====== 实时拦截物品汇总 ====== -->
69
+            <!-- ====== 实时质控开机年限分布 ====== -->
65 70
             <view class="chart-card">
66
-                <view class="chart-title">实时拦截物品汇总</view>
67
-                <view class="chart-box"><div ref="chartItems" class="chart-inner"></div></view>
71
+                <view class="chart-title">实时质控开机年限分布</view>
72
+                <view class="chart-box"><div ref="chartYearLimit" class="chart-inner"></div></view>
68 73
             </view>
69 74
 
70
-            <!-- ====== 安检情况(合计) ====== -->
75
+            <!-- ====== 实时拦截物品汇总 ====== -->
71 76
             <view class="chart-card">
72
-                <view class="chart-title">安检情况(合计)</view>
73
-                <view class="security-summary">
74
-                    <view class="security-avatars">
75
-                        <view class="sec-avatar" v-for="(item, idx) in securityAvatars" :key="idx">
76
-                            <view class="sec-avatar-circle" :style="{ background: item.color }">
77
-                                <text>{{ item.name }}</text>
78
-                            </view>
79
-                            <text class="sec-avatar-score">{{ item.score }}</text>
80
-                        </view>
81
-                    </view>
82
-                    <view class="security-list">
83
-                        <view class="sec-item" v-for="(item, idx) in securityList" :key="idx">
84
-                            <text class="sec-rank">{{ idx + 1 }}</text>
85
-                            <text class="sec-name">{{ item.name }}</text>
86
-                            <text class="sec-score">{{ item.score }}</text>
87
-                        </view>
88
-                    </view>
89
-                </view>
77
+                <view class="chart-title">实时拦截物品汇总</view>
78
+                <view class="chart-box"><div ref="chartItems" class="chart-inner"></div></view>
90 79
             </view>
91 80
 
92
-            <!-- ====== 航班楼加分 ====== -->
81
+            <!-- ====== 服务巡查 ====== -->
93 82
             <view class="chart-card">
94
-                <view class="chart-title">航班楼加分</view>
95
-                <view class="security-summary">
96
-                    <view class="security-avatars">
97
-                        <view class="sec-avatar" v-for="(item, idx) in flightAvatars" :key="idx">
98
-                            <view class="sec-avatar-circle" :style="{ background: item.color }">
99
-                                <text>{{ item.name }}</text>
100
-                            </view>
101
-                            <text class="sec-avatar-score">{{ item.score }}</text>
102
-                        </view>
103
-                    </view>
104
-                    <view class="security-list">
105
-                        <view class="sec-item" v-for="(item, idx) in flightList" :key="idx">
106
-                            <text class="sec-rank">{{ idx + 1 }}</text>
107
-                            <text class="sec-name">{{ item.name }}</text>
108
-                            <text class="sec-score">{{ item.score }}</text>
109
-                        </view>
110
-                    </view>
111
-                </view>
83
+                <view class="chart-title">服务巡查</view>
84
+                <view class="chart-box"><div ref="chartServiceInspect" class="chart-inner"></div></view>
112 85
             </view>
113 86
 
114
-            <!-- ====== 服务巡 ====== -->
87
+            <!-- ====== 服务巡查趋势 ====== -->
115 88
             <view class="chart-card">
116
-                <view class="chart-title">服务巡</view>
117
-                <view class="chart-box"><div ref="chartServiceInspect" class="chart-inner"></div></view>
89
+                <view class="chart-title">服务巡查</view>
90
+                <view class="chart-box"><div ref="chartServiceLine" class="chart-inner"></div></view>
118 91
             </view>
119 92
 
120
-            <!-- ====== 投诉情况(部门) ====== -->
93
+            <!-- ====== 投诉涉及班组情况 ====== -->
121 94
             <view class="chart-card">
122
-                <view class="chart-title">投诉情况(部门)</view>
95
+                <view class="chart-title">投诉涉及班组情况</view>
123 96
                 <view class="chart-box"><div ref="chartComplaint" class="chart-inner"></div></view>
124 97
             </view>
125 98
 
126
-            <!-- ====== 不安全事件对比 ====== -->
99
+            <!-- ====== 不安全事件发生对比 ====== -->
127 100
             <view class="chart-card">
128
-                <view class="chart-title">不安全事件对比</view>
101
+                <view class="chart-title">不安全事件发生对比</view>
129 102
                 <view class="chart-box"><div ref="chartUnsafe" class="chart-inner"></div></view>
130 103
             </view>
131 104
 
@@ -135,35 +108,121 @@
135 108
                 <view class="chart-box"><div ref="chartSubHealthPie" class="chart-inner chart-pie"></div></view>
136 109
             </view>
137 110
 
138
-            <!-- ====== 健康人数与亚健康人数比例 ====== -->
111
+            <!-- ====== 各班组健康与亚健康比例 ====== -->
139 112
             <view class="chart-card">
140
-                <view class="chart-title">健康人数与亚健康人数比例</view>
113
+                <view class="chart-title">各班组健康与亚健康比例</view>
141 114
                 <view class="chart-box"><div ref="chartHealthStack" class="chart-inner"></div></view>
142 115
             </view>
143 116
 
144
-            <!-- ====== 值机人员年龄分布 ====== -->
117
+            <!-- ====== 旅检三部人员年龄分布表 ====== -->
145 118
             <view class="chart-card">
146
-                <view class="chart-title">值机人员年龄分布</view>
119
+                <view class="chart-title">旅检三部人员年龄分布表</view>
147 120
                 <view class="chart-box"><div ref="chartCheckinAge" class="chart-inner"></div></view>
148 121
             </view>
149 122
 
150
-            <!-- ====== 查获数量 ====== -->
123
+            <!-- ====== 监察问题(总)排行 ====== -->
124
+            <view class="chart-card">
125
+                <view class="chart-title">监察问题(总)</view>
126
+                <view class="rank-section">
127
+                    <view class="rank-avatars">
128
+                        <view class="rank-avatar-item" v-for="(item, idx) in superVisionTop3" :key="idx">
129
+                            <view class="rank-avatar-wrapper" :class="'rank-pos-' + (idx + 1)">
130
+                                <view class="rank-avatar-circle" :style="{ background: item.color }">
131
+                                    <text>{{ item.name.slice(-2) }}</text>
132
+                                </view>
133
+                                <text class="rank-badge">{{ idx + 1 }}</text>
134
+                            </view>
135
+                            <text class="rank-name">{{ item.name }}</text>
136
+                            <text class="rank-num">{{ item.num }}</text>
137
+                        </view>
138
+                    </view>
139
+                    <view class="rank-table">
140
+                        <view class="rank-tr rank-th">
141
+                            <text>排名</text><text>姓名</text><text>问题数</text>
142
+                        </view>
143
+                        <view class="rank-tr" v-for="(item, idx) in superVisionList" :key="idx">
144
+                            <text>{{ idx + 1 }}</text><text>{{ item.name }}</text><text>{{ item.num }}</text>
145
+                        </view>
146
+                    </view>
147
+                </view>
148
+            </view>
149
+
150
+            <!-- ====== 实时漏洞检情况(总)排行 ====== -->
151
+            <view class="chart-card">
152
+                <view class="chart-title">实时漏洞检情况(总)</view>
153
+                <view class="rank-section">
154
+                    <view class="rank-avatars">
155
+                        <view class="rank-avatar-item" v-for="(item, idx) in vulnTop3" :key="idx">
156
+                            <view class="rank-avatar-wrapper" :class="'rank-pos-' + (idx + 1)">
157
+                                <view class="rank-avatar-circle" :style="{ background: item.color }">
158
+                                    <text>{{ item.name.slice(-2) }}</text>
159
+                                </view>
160
+                                <text class="rank-badge">{{ idx + 1 }}</text>
161
+                            </view>
162
+                            <text class="rank-name">{{ item.name }}</text>
163
+                            <text class="rank-num">{{ item.num }}</text>
164
+                        </view>
165
+                    </view>
166
+                    <view class="rank-table">
167
+                        <view class="rank-tr rank-th">
168
+                            <text>排名</text><text>姓名</text><text>问题数</text>
169
+                        </view>
170
+                        <view class="rank-tr" v-for="(item, idx) in vulnList" :key="idx">
171
+                            <text>{{ idx + 1 }}</text><text>{{ item.name }}</text><text>{{ item.num }}</text>
172
+                        </view>
173
+                    </view>
174
+                </view>
175
+            </view>
176
+
177
+            <!-- ====== 航站楼加分排行 ====== -->
178
+            <view class="chart-card">
179
+                <view class="chart-title">航站楼加分</view>
180
+                <view class="rank-section">
181
+                    <view class="rank-avatars">
182
+                        <view class="rank-avatar-item" v-for="(item, idx) in bonusTop3" :key="idx">
183
+                            <view class="rank-avatar-wrapper" :class="'rank-pos-' + (idx + 1)">
184
+                                <view class="rank-avatar-circle" :style="{ background: item.color }">
185
+                                    <text>{{ item.name.slice(-2) }}</text>
186
+                                </view>
187
+                                <text class="rank-badge">{{ idx + 1 }}</text>
188
+                            </view>
189
+                            <text class="rank-name">{{ item.name }}</text>
190
+                            <text class="rank-num">{{ item.num }}</text>
191
+                        </view>
192
+                    </view>
193
+                    <view class="rank-table">
194
+                        <view class="rank-tr rank-th">
195
+                            <text>排名</text><text>姓名</text><text>加分</text>
196
+                        </view>
197
+                        <view class="rank-tr" v-for="(item, idx) in bonusList" :key="idx">
198
+                            <text>{{ idx + 1 }}</text><text>{{ item.name }}</text><text>{{ item.num }}</text>
199
+                        </view>
200
+                    </view>
201
+                </view>
202
+            </view>
203
+
204
+            <!-- ====== 查获数量排行 ====== -->
151 205
             <view class="chart-card">
152 206
                 <view class="chart-title">查获数量</view>
153
-                <view class="security-summary">
154
-                    <view class="security-avatars">
155
-                        <view class="sec-avatar" v-for="(item, idx) in seizeAvatars" :key="idx">
156
-                            <view class="sec-avatar-circle" :style="{ background: item.color }">
157
-                                <text>{{ item.name }}</text>
207
+                <view class="rank-section">
208
+                    <view class="rank-avatars">
209
+                        <view class="rank-avatar-item" v-for="(item, idx) in seizeTop3" :key="idx">
210
+                            <view class="rank-avatar-wrapper" :class="'rank-pos-' + (idx + 1)">
211
+                                <view class="rank-avatar-circle" :style="{ background: item.color }">
212
+                                    <text>{{ item.name.slice(-2) }}</text>
213
+                                </view>
214
+                                <text class="rank-badge">{{ idx + 1 }}</text>
158 215
                             </view>
159
-                            <text class="sec-avatar-score">{{ item.score }}</text>
216
+                            <text class="rank-name">{{ item.name }}</text>
217
+                            <text class="rank-num">{{ item.num }}</text>
160 218
                         </view>
161 219
                     </view>
162
-                    <view class="security-list">
163
-                        <view class="sec-item" v-for="(item, idx) in seizeList" :key="idx">
164
-                            <text class="sec-rank">{{ idx + 1 }}</text>
165
-                            <text class="sec-name">{{ item.name }}</text>
166
-                            <text class="sec-score">{{ item.score }}</text>
220
+                    <view class="rank-table">
221
+                        <view class="rank-tr rank-th">
222
+                            <text>排名</text><text>姓名</text><text>查获数</text>
223
+                        </view>
224
+                        <view class="rank-tr" v-for="(item, idx) in seizeList" :key="idx">
225
+                            <text>{{ idx + 1 }}</text><text>{{ item.name }}</text><text>{{ item.num }}</text>
167 226
                         </view>
168 227
                     </view>
169 228
                 </view>
@@ -173,68 +232,77 @@
173 232
 </template>
174 233
 <script>
175 234
 import * as echarts from 'echarts'
176
-
177 235
 export default {
178 236
     name: 'OrganProfile',
179 237
     data() {
180 238
         return {
181
-            summaryCards: [
182
-                { label: '监察问题数(月)', value: '11', change: -57.69, bg: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)' },
183
-                { label: '实时巡检数(月)', value: '21', change: 56.25, bg: 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)' },
184
-                { label: '服务巡检(月)', value: '4', change: 0, bg: 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)' },
185
-                { label: '投诉情况(月)', value: '1', change: -88.89, bg: 'linear-gradient(135deg, #43e97b 0%, #38f9d7 100%)' },
186
-                { label: '不安全事件(本年)', value: '3', change: -57.14, bg: 'linear-gradient(135deg, #fa709a 0%, #fee140 100%)' },
187
-                { label: '部门健康人数', value: '147', change: 0, bg: 'linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%)' }
239
+            metricCards: [
240
+                { title: '监察问题数(本月)', value: '11', change: '57.69%', changeType: 'down', changeColor: '#ef4444', color: '#f59e0b', bg: '#dbeafe', sparkColor: '#3b82f6', _sparkRef: null },
241
+                { title: '实时质控数(本月)', value: '21', change: '56.25%', changeType: 'down', changeColor: '#ef4444', color: '#22c55e', bg: '#dcfce7', sparkColor: '#22c55e', _sparkRef: null },
242
+                { title: '服务巡查(本月)', value: '4', change: '0%', changeType: 'flat', changeColor: '#6b7280', color: '#3b82f6', bg: '#dbeafe', sparkColor: '#3b82f6', _sparkRef: null },
243
+                { title: '投诉情况(本月)', value: '1', change: '88.89%', changeType: 'down', changeColor: '#ef4444', color: '#ef4444', bg: '#fce4ec', sparkColor: '#ef4444', _sparkRef: null },
244
+                { title: '不安全事件发生次数(今年)', value: '3', change: '57.14%', changeType: 'down', changeColor: '#ef4444', color: '#ffffff', bg: '#6b7280', sparkColor: '#9ca3af', _sparkRef: null },
245
+                { title: '锐甲安语—自愿报告系统', value: '3', color: '#fff', bg: 'linear-gradient(135deg, #f59e0b, #d97706)', side: true },
246
+                { title: '部门亚健康人员', value: '147', color: '#fff', bg: 'linear-gradient(135deg, #fbbf24, #f59e0b)', side: true }
188 247
             ],
189
-            securityAvatars: [
190
-                { name: '安检', score: '11', color: '#667eea' },
191
-                { name: '易舟', score: '9', color: '#f093fb' }
248
+            superVisionTop3: [
249
+                { name: '徐皓迪', num: 7, color: '#3b82f6' },
250
+                { name: '张悦', num: 7, color: '#22c55e' },
251
+                { name: '匡林', num: 5, color: '#f59e0b' }
192 252
             ],
193
-            securityList: [
194
-                { name: '薛烨轩', score: '11' },
195
-                { name: '黄俊涛', score: '11' },
196
-                { name: '李思思', score: '10' },
197
-                { name: '张明阳', score: '9' },
198
-                { name: '王丽华', score: '8' }
253
+            superVisionList: [
254
+                { name: '周雨浓', num: 4 }, { name: '蒲越', num: 5 }, { name: '傅建', num: 6 },
255
+                { name: '李明', num: 4 }, { name: '王芳', num: 3 }, { name: '赵强', num: 4 },
256
+                { name: '刘洋', num: 3 }, { name: '陈静', num: 5 }, { name: '杨磊', num: 4 }, { name: '吴倩', num: 3 }
199 257
             ],
200
-            flightAvatars: [
201
-                { name: '温', score: '24.5', color: '#4facfe' },
202
-                { name: '杨', score: '34.5', color: '#43e97b' },
203
-                { name: '何', score: '16', color: '#fa709a' }
258
+            vulnTop3: [
259
+                { name: '安俊', num: 11, color: '#ec4899' },
260
+                { name: '黄鑫', num: 11, color: '#a78bfa' },
261
+                { name: '廖艺森', num: 9, color: '#f97316' }
204 262
             ],
205
-            flightList: [
206
-                { name: '潘林', score: '15' },
207
-                { name: '马迪', score: '14.5' },
208
-                { name: '谢琳', score: '14' },
209
-                { name: '周杰', score: '13' },
210
-                { name: '吴芳', score: '12' }
263
+            vulnList: [
264
+                { name: '李敏', num: 4 }, { name: '林', num: 8 }, { name: '宇', num: 8 },
265
+                { name: '张华', num: 6 }, { name: '王丽', num: 5 }, { name: '赵明', num: 7 },
266
+                { name: '陈红', num: 4 }, { name: '刘伟', num: 6 }, { name: '杨婷', num: 5 }, { name: '吴刚', num: 4 }
211 267
             ],
212
-            seizeAvatars: [
213
-                { name: '郭', score: '113', color: '#667eea' },
214
-                { name: '黄', score: '90', color: '#f5576c' }
268
+            bonusTop3: [
269
+                { name: '文渊', num: 24.5, color: '#3b82f6' },
270
+                { name: '杨晨汐', num: 34.5, color: '#22c55e' },
271
+                { name: '何欧怡', num: 16, color: '#f59e0b' }
272
+            ],
273
+            bonusList: [
274
+                { name: '杨林', num: 4 }, { name: '马灿', num: 5 }, { name: '蒋灿', num: 6 },
275
+                { name: '谢涛', num: 3.5 }, { name: '韩雪', num: 4.5 }, { name: '唐亮', num: 5.5 },
276
+                { name: '曹琳', num: 3 }, { name: '邓超', num: 4 }, { name: '彭波', num: 6.5 }, { name: '冯娟', num: 3.5 }
277
+            ],
278
+            seizeTop3: [
279
+                { name: '苗苗', num: 113, color: '#ec4899' },
280
+                { name: '黄真', num: 90, color: '#a78bfa' },
281
+                { name: '王磊', num: 78, color: '#f97316' }
215 282
             ],
216 283
             seizeList: [
217
-                { name: '郭志远', score: '82' },
218
-                { name: '黄晓明', score: '76' },
219
-                { name: '叶伟', score: '75' },
220
-                { name: '陈静', score: '70' },
221
-                { name: '刘洋', score: '68' }
284
+                { name: '李兆厚', num: 4 }, { name: '黄元宏', num: 5 }, { name: '何跃智', num: 6 },
285
+                { name: '周文', num: 7 }, { name: '吴斌', num: 5 }, { name: '郑丽', num: 8 },
286
+                { name: '孙强', num: 4 }, { name: '朱敏', num: 6 }, { name: '沈涛', num: 5 }, { name: '贺军', num: 7 }
222 287
             ],
223 288
             chartInstances: {}
224 289
         }
225 290
     },
226 291
     mounted() {
227 292
         this.$nextTick(() => {
293
+            this.initSparkLines()
228 294
             this.initSuperviseTrend()
229 295
             this.initIssueType()
230
-            this.initRegionPie()
231 296
             this.initTeamSupervise()
232
-            this.initIntercept()
297
+            this.initRegionPie()
233 298
             this.initTeamQuality()
299
+            this.initIntercept()
234 300
             this.initAgeDist()
235 301
             this.initFence()
302
+            this.initYearLimit()
236 303
             this.initItems()
237 304
             this.initServiceInspect()
305
+            this.initServiceLine()
238 306
             this.initComplaint()
239 307
             this.initUnsafe()
240 308
             this.initSubHealthPie()
@@ -253,28 +321,59 @@ export default {
253 321
             inst.setOption(option)
254 322
             this.chartInstances[refName] = inst
255 323
         },
324
+        initSparkLines() {
325
+            this.metricCards.forEach(m => {
326
+                if (m._sparkRef) {
327
+                    const chart = echarts.init(m._sparkRef)
328
+                    chart.setOption({
329
+                        grid: { top: 0, bottom: 0, left: 0, right: 0 },
330
+                        xAxis: { show: false, type: 'category', data: ['','','','','','','','','',''] },
331
+                        yAxis: { show: false },
332
+                        series: [{ type: 'line', data: [3,5,2,8,4,7,3,6,4,5], smooth: true,
333
+                            lineStyle: { color: m.sparkColor, width: 2 },
334
+                            areaStyle: { color: { type: 'linear', x: 0, y: 0, x2: 0, y2: 1,
335
+                                colorStops: [{ offset: 0, color: m.sparkColor + '33' }, { offset: 1, color: m.sparkColor + '00' }] } },
336
+                            symbol: 'none' }]
337
+                    })
338
+                    this.chartInstances['spark_' + m.title] = chart
339
+                }
340
+            })
341
+        },
256 342
         initSuperviseTrend() {
257 343
             this._init('chartSuperviseTrend', {
258 344
                 tooltip: { trigger: 'axis' },
259 345
                 grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
260
-                xAxis: { type: 'category', data: ['03:00','04:00','05:00','06:00','07:00','08:00','09:00','10:00','11:00','12:00','13:00','14:00','15:00','16:00','17:00','18:00','19:00','20:00'],
261
-                    axisLabel: { rotate: 45, fontSize: 9, interval: 1 } },
262
-                yAxis: { type: 'value', max: 20 },
263
-                series: [{ type: 'line', data: [17,11,12,9,14,15,10,15,10,7,9,6,4,2,3,1,2,1],
264
-                    smooth: true, lineStyle: { color: '#667eea', width: 2 }, itemStyle: { color: '#667eea' },
265
-                    areaStyle: { color: 'rgba(102,126,234,0.15)' } }]
346
+                xAxis: { type: 'category', data: ['03:00','05:00','07:00','09:00','11:00','13:00','15:00','17:00','19:00','20:00'],
347
+                    axisLabel: { rotate: 45, fontSize: 9, interval: 0 } },
348
+                yAxis: { type: 'value' },
349
+                series: [{ type: 'line', data: [3,17,11,12,9,14,15,10,7,4],
350
+                    smooth: true, lineStyle: { color: '#3b82f6', width: 2 }, itemStyle: { color: '#3b82f6' },
351
+                    areaStyle: { color: 'rgba(59,130,246,0.15)' } }]
266 352
             })
267 353
         },
268 354
         initIssueType() {
269 355
             this._init('chartIssueType', {
270 356
                 tooltip: { trigger: 'axis' },
271
-                grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
272
-                xAxis: { type: 'category', data: ['岗位不端', '岗位操作'], axisLabel: { fontSize: 10 } },
273
-                yAxis: { type: 'value', max: 120 },
357
+                grid: { left: '3%', right: '8%', bottom: '10%', top: '8%', containLabel: true },
358
+                xAxis: { type: 'value' },
359
+                yAxis: { type: 'category', data: ['设备设施流程类', '岗位规范类', '岗位操作类'] },
274 360
                 series: [{ type: 'bar', data: [
275
-                    { value: 75, itemStyle: { color: '#667eea' } },
276
-                    { value: 101, itemStyle: { color: '#f5576c' } }
277
-                ], barWidth: '30%', label: { show: true, position: 'top', fontSize: 10 } }]
361
+                    { value: 2, itemStyle: { color: '#3b82f6' } },
362
+                    { value: 75, itemStyle: { color: '#3b82f6' } },
363
+                    { value: 101, itemStyle: { color: '#3b82f6' } }
364
+                ], barWidth: '40%', label: { show: true, position: 'right', fontSize: 10 } }]
365
+            })
366
+        },
367
+        initTeamSupervise() {
368
+            this._init('chartTeamSupervise', {
369
+                tooltip: { trigger: 'axis' },
370
+                grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
371
+                xAxis: { type: 'category', data: ['安平班组','安行班组','木兰班组','芮茜班组','拓新班组','屹动班组'],
372
+                    axisLabel: { rotate: 30, fontSize: 9 } },
373
+                yAxis: { type: 'value' },
374
+                series: [{ type: 'bar', data: [34,21,2,41,39,34],
375
+                    barWidth: '35%', itemStyle: { color: '#3b82f6' },
376
+                    label: { show: true, position: 'top', fontSize: 9 } }]
278 377
             })
279 378
         },
280 379
         initRegionPie() {
@@ -283,25 +382,24 @@ export default {
283 382
                 legend: { bottom: 0, left: 'center', textStyle: { fontSize: 9 } },
284 383
                 series: [{
285 384
                     type: 'pie', radius: ['30%', '55%'], center: ['50%', '40%'],
286
-                    label: { fontSize: 9, formatter: '{d}%' },
385
+                    label: { fontSize: 9, formatter: '{b}\n{c} ({d}%)' },
287 386
                     data: [
288
-                        { value: 39, name: 'T3国内', itemStyle: { color: '#667eea' } },
289
-                        { value: 5, name: 'T3国际', itemStyle: { color: '#f5576c' } },
290
-                        { value: 1, name: 'T3出港', itemStyle: { color: '#43e97b' } },
291
-                        { value: 1, name: 'T3中心实时', itemStyle: { color: '#a18cd1' } }
387
+                        { value: 128, name: 'T3国内出发', itemStyle: { color: '#a78bfa' } },
388
+                        { value: 39, name: 'T3国际国内', itemStyle: { color: '#22c55e' } },
389
+                        { value: 5, name: 'T3中心实时指控', itemStyle: { color: '#f59e0b' } }
292 390
                     ]
293 391
                 }]
294 392
             })
295 393
         },
296
-        initTeamSupervise() {
297
-            this._init('chartTeamSupervise', {
394
+        initTeamQuality() {
395
+            this._init('chartTeamQuality', {
298 396
                 tooltip: { trigger: 'axis' },
299 397
                 grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
300
-                xAxis: { type: 'category', data: ['安平组','安兴组','木兰组','翁西组','展新组','点云组'],
398
+                xAxis: { type: 'category', data: ['安平班组','安行班组','木兰班组','芮茜班组','拓新班组','屹动班组'],
301 399
                     axisLabel: { rotate: 30, fontSize: 9 } },
302
-                yAxis: { type: 'value', max: 50 },
303
-                series: [{ type: 'bar', data: [34,21,2,41,39,34],
304
-                    barWidth: '35%', itemStyle: { color: '#4facfe' },
400
+                yAxis: { type: 'value' },
401
+                series: [{ type: 'bar', data: [60,44,21,65,56,75],
402
+                    barWidth: '35%', itemStyle: { color: '#3b82f6' },
305 403
                     label: { show: true, position: 'top', fontSize: 9 } }]
306 404
             })
307 405
         },
@@ -309,98 +407,112 @@ export default {
309 407
             this._init('chartIntercept', {
310 408
                 tooltip: { trigger: 'axis' },
311 409
                 grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
312
-                xAxis: { type: 'category', data: ['04:00','06:00','08:00','10:00','12:00','14:00','16:00','18:00','20:00','22:00','23:00'],
410
+                xAxis: { type: 'category', data: ['04:00','06:00','08:00','10:00','12:00','14:00','16:00','18:00','20:00','22:00'],
313 411
                     axisLabel: { rotate: 45, fontSize: 9, interval: 1 } },
314
-                yAxis: { type: 'value', max: 80 },
315
-                series: [{ type: 'line', data: [5,31,60,44,26,21,65,56,75,30,15],
316
-                    smooth: true, lineStyle: { color: '#f5576c', width: 2 }, itemStyle: { color: '#f5576c' },
317
-                    areaStyle: { color: 'rgba(245,87,108,0.15)' } }]
318
-            })
319
-        },
320
-        initTeamQuality() {
321
-            this._init('chartTeamQuality', {
322
-                tooltip: { trigger: 'axis' },
323
-                grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
324
-                xAxis: { type: 'category', data: ['安平组','安兴组','木兰组','翁西组','展新组','点云组'],
325
-                    axisLabel: { rotate: 30, fontSize: 9 } },
326
-                yAxis: { type: 'value', max: 90 },
327
-                series: [{ type: 'bar', data: [60,44,21,65,56,75],
328
-                    barWidth: '35%', itemStyle: { color: '#fa709a' },
329
-                    label: { show: true, position: 'top', fontSize: 9 } }]
412
+                yAxis: { type: 'value' },
413
+                series: [{ type: 'line', data: [8,28,31,21,26,21,11,4,1,2],
414
+                    smooth: true, lineStyle: { color: '#3b82f6', width: 2 }, itemStyle: { color: '#3b82f6' },
415
+                    areaStyle: { color: 'rgba(59,130,246,0.15)' } }]
330 416
             })
331 417
         },
332 418
         initAgeDist() {
333 419
             this._init('chartAgeDist', {
334 420
                 tooltip: { trigger: 'axis' },
335 421
                 grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
336
-                xAxis: { type: 'category', data: ['1岁','2岁','3岁','4岁','5岁','6岁','7岁','8岁','9岁','10岁','11岁','12岁','13岁','14岁'],
337
-                    axisLabel: { fontSize: 8, interval: 1 } },
338
-                yAxis: { type: 'value', max: 70 },
339
-                series: [{ type: 'bar', data: [5,65,11,14,11,9,16,27,45,31,23,27,8,2],
340
-                    barWidth: '40%', itemStyle: { color: '#667eea' },
341
-                    label: { show: true, position: 'top', fontSize: 8 } }]
422
+                xAxis: { type: 'category',
423
+                    data: Array.from({ length: 42 }, (_, i) => String(i + 1)),
424
+                    axisLabel: { fontSize: 8, interval: 4 } },
425
+                yAxis: { type: 'value' },
426
+                series: [{ type: 'bar',
427
+                    data: Array.from({ length: 42 }, () => Math.floor(Math.random() * 40 + 10)),
428
+                    barWidth: '60%', itemStyle: { color: '#3b82f6' } }]
342 429
             })
343 430
         },
344 431
         initFence() {
345 432
             this._init('chartFence', {
346 433
                 tooltip: { trigger: 'axis' },
347 434
                 grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
348
-                xAxis: { type: 'category', data: ['0','1','2','3','4','5'], axisLabel: { fontSize: 10 } },
349
-                yAxis: { type: 'value', max: 160 },
435
+                xAxis: { type: 'category', data: ['0','1','2','3','4','5'], axisLabel: { fontSize: 10 } },
436
+                yAxis: { type: 'value' },
350 437
                 series: [{ type: 'bar', data: [2,145,70,92,16,1],
351
-                    barWidth: '35%', itemStyle: { color: '#43e97b' },
438
+                    barWidth: '35%', itemStyle: { color: '#3b82f6', borderRadius: [5, 5, 0, 0] },
352 439
                     label: { show: true, position: 'top', fontSize: 9 } }]
353 440
             })
354 441
         },
442
+        initYearLimit() {
443
+            this._init('chartYearLimit', {
444
+                tooltip: { trigger: 'axis' },
445
+                grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
446
+                xAxis: { type: 'category',
447
+                    data: Array.from({ length: 14 }, (_, i) => String(i + 1)),
448
+                    axisLabel: { fontSize: 9 } },
449
+                yAxis: { type: 'value' },
450
+                series: [{ type: 'bar', data: [5,32,65,11,14,11,9,16,27,45,31,23,27,8],
451
+                    barWidth: '40%', itemStyle: { color: '#3b82f6', borderRadius: [3, 3, 0, 0] },
452
+                    label: { show: true, position: 'top', fontSize: 8 } }]
453
+            })
454
+        },
355 455
         initItems() {
356 456
             this._init('chartItems', {
357 457
                 tooltip: { trigger: 'axis' },
358
-                grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
359
-                xAxis: { type: 'category', data: ['0','1','2','3','4','5+'], axisLabel: { fontSize: 10 } },
360
-                yAxis: { type: 'value', max: 150 },
361
-                series: [{ type: 'bar', data: [14,23,56,19,24,136],
362
-                    barWidth: '35%', itemStyle: { color: '#4facfe' },
363
-                    label: { show: true, position: 'top', fontSize: 9 } }]
458
+                grid: { left: '3%', right: '4%', bottom: '12%', top: '8%', containLabel: true },
459
+                xAxis: { type: 'category', data: ['打火机','香烟','刀具','充电宝','液体','剪刀','钥匙扣','其他'],
460
+                    axisLabel: { rotate: 30, fontSize: 9 } },
461
+                yAxis: { type: 'value' },
462
+                series: [{ type: 'bar', data: [136,98,45,67,23,34,12,56],
463
+                    barWidth: '40%', itemStyle: { color: '#3b82f6', borderRadius: [5, 5, 0, 0] },
464
+                    label: { show: true, position: 'top', fontSize: 8 } }]
364 465
             })
365 466
         },
366 467
         initServiceInspect() {
367 468
             this._init('chartServiceInspect', {
368 469
                 tooltip: { trigger: 'axis' },
369 470
                 grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
370
-                xAxis: { type: 'category', data: ['安平组','安兴组','木兰组','翁西组','展新组','点云组'],
471
+                xAxis: { type: 'category', data: ['安平班组','安行班组','木兰班组','芮茜班组','拓新班组','屹动班组'],
371 472
                     axisLabel: { rotate: 30, fontSize: 9 } },
372
-                yAxis: { type: 'value', max: 20 },
373
-                series: [{ type: 'bar', data: [16,7,1,15,14,11],
374
-                    barWidth: '35%', itemStyle: { color: '#43e97b' },
473
+                yAxis: { type: 'value' },
474
+                series: [{ type: 'bar', data: [3,16,7,15,14,11],
475
+                    barWidth: '35%', itemStyle: { color: '#3b82f6', borderRadius: [5, 5, 0, 0] },
476
+                    label: { show: true, position: 'top', fontSize: 9 } }]
477
+            })
478
+        },
479
+        initServiceLine() {
480
+            this._init('chartServiceLine', {
481
+                tooltip: { trigger: 'axis' },
482
+                legend: { data: ['计数'], textStyle: { fontSize: 10 }, top: 0 },
483
+                grid: { left: '3%', right: '4%', bottom: '12%', top: '12%', containLabel: true },
484
+                xAxis: { type: 'category',
485
+                    data: ['05:00','06:00','07:00','08:00','09:00','10:00','11:00','12:00','13:00','14:00','15:00','16:00','17:00','18:00','19:00','20:00','21:00','空值'],
486
+                    axisLabel: { rotate: 45, fontSize: 8 } },
487
+                yAxis: { type: 'value', min: 0, max: 7 },
488
+                series: [{ name: '计数', type: 'line', data: [2,5,5,5,3,4,3,2,6,5,5,3,7,3,2,3,3,1],
489
+                    lineStyle: { color: '#3b82f6', width: 2 }, itemStyle: { color: '#3b82f6' },
490
+                    symbol: 'circle', symbolSize: 6,
375 491
                     label: { show: true, position: 'top', fontSize: 9 } }]
376 492
             })
377 493
         },
378 494
         initComplaint() {
379 495
             this._init('chartComplaint', {
380 496
                 tooltip: { trigger: 'axis' },
381
-                grid: { left: '3%', right: '4%', bottom: '8%', top: '5%', containLabel: true },
382
-                xAxis: { type: 'value', max: 60 },
383
-                yAxis: { type: 'category', data: ['点云组','信武队','翁西组','木兰组','航空组','安平组'],
497
+                grid: { left: '3%', right: '8%', bottom: '8%', top: '5%', containLabel: true },
498
+                xAxis: { type: 'value' },
499
+                yAxis: { type: 'category',
500
+                    data: ['屹动班组','新训队','拓新班组','芮茜班组','木兰班组','空乘','安行班组','安平班组'],
384 501
                     axisLabel: { fontSize: 9 } },
385
-                series: [{ type: 'bar', data: [
386
-                    { value: 50, itemStyle: { color: '#f5576c' } },
387
-                    { value: 30, itemStyle: { color: '#fa709a' } },
388
-                    { value: 45, itemStyle: { color: '#667eea' } },
389
-                    { value: 19, itemStyle: { color: '#43e97b' } },
390
-                    { value: 19, itemStyle: { color: '#4facfe' } },
391
-                    { value: 37, itemStyle: { color: '#a18cd1' } }
392
-                ], barWidth: '50%', label: { show: true, position: 'right', fontSize: 9 } }]
502
+                series: [{ type: 'bar', data: [50,1,30,45,19,19,22,37],
503
+                    barWidth: '50%', itemStyle: { color: '#ef4444', borderRadius: [0, 5, 5, 0] },
504
+                    label: { show: true, position: 'right', fontSize: 9 } }]
393 505
             })
394 506
         },
395 507
         initUnsafe() {
396 508
             this._init('chartUnsafe', {
397 509
                 tooltip: { trigger: 'axis' },
398 510
                 grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
399
-                xAxis: { type: 'category', data: ['安平组','安兴组','木兰组','翁西组','展新组','点云组'],
511
+                xAxis: { type: 'category', data: ['安平班组','安行班组','木兰班组','芮茜班组','拓新班组','屹动班组'],
400 512
                     axisLabel: { rotate: 30, fontSize: 9 } },
401
-                yAxis: { type: 'value', max: 10 },
513
+                yAxis: { type: 'value' },
402 514
                 series: [{ type: 'bar', data: [3,4,4,8,3,2],
403
-                    barWidth: '35%', itemStyle: { color: '#fa709a' },
515
+                    barWidth: '35%', itemStyle: { color: '#3b82f6', borderRadius: [5, 5, 0, 0] },
404 516
                     label: { show: true, position: 'top', fontSize: 9 } }]
405 517
             })
406 518
         },
@@ -410,14 +522,14 @@ export default {
410 522
                 legend: { bottom: 0, left: 'center', textStyle: { fontSize: 9 } },
411 523
                 series: [{
412 524
                     type: 'pie', radius: ['30%', '55%'], center: ['50%', '40%'],
413
-                    label: { fontSize: 9, formatter: '{d}%' },
525
+                    label: { fontSize: 9, formatter: '{b}: {c} ({d}%)' },
414 526
                     data: [
415
-                        { value: 28, name: '点云组', itemStyle: { color: '#667eea' } },
416
-                        { value: 23, name: '安平组', itemStyle: { color: '#f5576c' } },
417
-                        { value: 25, name: '翁西组', itemStyle: { color: '#43e97b' } },
418
-                        { value: 20, name: '安兴组', itemStyle: { color: '#4facfe' } },
419
-                        { value: 18, name: '展新组', itemStyle: { color: '#fa709a' } },
420
-                        { value: 15, name: '木兰组', itemStyle: { color: '#a18cd1' } }
527
+                        { value: 25, name: '屹动班组', itemStyle: { color: '#06b6d4' } },
528
+                        { value: 23, name: '安平班组', itemStyle: { color: '#22c55e' } },
529
+                        { value: 28, name: '拓新班组', itemStyle: { color: '#f59e0b' } },
530
+                        { value: 27, name: '芮茜班组', itemStyle: { color: '#ec4899' } },
531
+                        { value: 13, name: '木兰班组', itemStyle: { color: '#a78bfa' } },
532
+                        { value: 31, name: '其他', itemStyle: { color: '#f97316' } }
421 533
                     ]
422 534
                 }]
423 535
             })
@@ -427,14 +539,14 @@ export default {
427 539
                 tooltip: { trigger: 'axis', axisPointer: { type: 'shadow' } },
428 540
                 legend: { bottom: 0, left: 'center', textStyle: { fontSize: 9 } },
429 541
                 grid: { left: '3%', right: '4%', bottom: '18%', top: '5%', containLabel: true },
430
-                xAxis: { type: 'category', data: ['安平组','安兴组','木兰组','翁西组','展新组','点云组'],
542
+                xAxis: { type: 'category', data: ['安平班组','安行班组','木兰班组','芮茜班组','拓新班组','屹动班组'],
431 543
                     axisLabel: { rotate: 30, fontSize: 8 } },
432
-                yAxis: { type: 'value', max: 60 },
544
+                yAxis: { type: 'value' },
433 545
                 series: [
434
-                    { name: '健康人', type: 'bar', stack: 'total', barWidth: '35%',
435
-                        itemStyle: { color: '#4facfe' }, data: [35,20,29,26,22,27] },
436
-                    { name: '亚健康人', type: 'bar', stack: 'total', barWidth: '35%',
437
-                        itemStyle: { color: '#f5576c' }, data: [23,29,13,27,28,25] }
546
+                    { name: '健康人', type: 'bar', stack: 'total', barWidth: '35%',
547
+                        itemStyle: { color: '#3b82f6' }, data: [35,20,29,26,22,27] },
548
+                    { name: '亚健康人', type: 'bar', stack: 'total', barWidth: '35%',
549
+                        itemStyle: { color: '#ef4444' }, data: [23,29,13,27,28,25] }
438 550
                 ]
439 551
             })
440 552
         },
@@ -442,87 +554,137 @@ export default {
442 554
             this._init('chartCheckinAge', {
443 555
                 tooltip: { trigger: 'axis' },
444 556
                 grid: { left: '3%', right: '4%', bottom: '10%', top: '8%', containLabel: true },
445
-                xAxis: { type: 'category', data: ['23','24','25','26','27','28','29','30','31','32','33','34','35','36','37','38','39','40','41','42','43','44','45'],
557
+                xAxis: { type: 'category',
558
+                    data: Array.from({ length: 23 }, (_, i) => String(i + 23)),
446 559
                     axisLabel: { fontSize: 8, interval: 2 } },
447
-                yAxis: { type: 'value', max: 45 },
448
-                series: [{ type: 'bar', data: [5,8,12,15,18,22,29,36,41,33,19,14,10,8,6,5,4,3,3,2,2,1,1],
449
-                    barWidth: '40%', itemStyle: { color: '#667eea' },
560
+                yAxis: { type: 'value' },
561
+                series: [{ type: 'bar',
562
+                    data: [8,12,18,24,30,36,41,36,33,28,22,18,14,10,8,6,4,3,2,2,1,1,1],
563
+                    barWidth: '40%', itemStyle: { color: '#3b82f6', borderRadius: [3, 3, 0, 0] },
450 564
                     label: { show: true, position: 'top', fontSize: 8 } }]
451 565
             })
452 566
         }
453 567
     }
454 568
 }
455 569
 </script>
456
-
457 570
 <style lang="scss" scoped>
458
-.organ-profile-page {
459
-    min-height: 100vh;
460
-    background: #f5f7fa;
461
-}
462
-.page-scroll {
463
-    height: 100vh;
464
-    padding: 16rpx 20rpx 40rpx;
465
-}
466
-.summary-grid {
571
+.organ-profile-page { min-height: 100vh; background: #f5f7fa; }
572
+.page-scroll { height: 100vh; padding: 16rpx 20rpx 40rpx; }
573
+// ─ 顶部指标卡片 ─
574
+.metric-row {
467 575
     display: grid;
468 576
     grid-template-columns: 1fr 1fr;
469 577
     gap: 12rpx;
470
-    margin-bottom: 16rpx;
578
+    margin-bottom: 20rpx;
579
+}
580
+.metric-card {
581
+    display: flex;
582
+    flex-direction: column;
583
+    justify-content: space-between;
584
+    border-radius: 20rpx;
585
+    padding: 20rpx 24rpx;
586
+    min-height: 180rpx;
587
+}
588
+.metric-title {
589
+    font-size: 24rpx;
590
+    color: #475569;
591
+    font-weight: 500;
592
+    margin-bottom: 8rpx;
593
+}
594
+.metric-value {
595
+    font-size: 60rpx;
596
+    font-weight: bold;
597
+    line-height: 1.2;
471 598
 }
472
-.summary-card {
473
-    border-radius: 16rpx;
474
-    padding: 20rpx 16rpx;
475
-    color: #fff;
599
+.side-value {
600
+    font-size: 44rpx;
601
+    color: #fff !important;
602
+}
603
+.metric-change-row {
604
+    display: flex;
605
+    align-items: flex-end;
606
+    justify-content: space-between;
607
+    margin-top: auto;
608
+}
609
+.metric-change-info {
476 610
     display: flex;
477 611
     flex-direction: column;
612
+    gap: 4rpx;
613
+}
614
+.metric-change-label {
615
+    font-size: 22rpx;
616
+    color: #64748b;
617
+}
618
+.metric-change {
619
+    font-size: 24rpx;
620
+    display: inline-flex;
621
+    align-items: center;
478 622
     gap: 6rpx;
623
+    font-weight: 500;
479 624
 }
480
-.summary-label { font-size: 22rpx; opacity: 0.9; }
481
-.summary-value { font-size: 44rpx; font-weight: bold; }
482
-.summary-change { font-size: 20rpx; }
483
-.summary-change.up { color: #43e97b; }
484
-.summary-change.down { color: #ffd666; }
485
-.chart-card {
486
-    background: #fff;
487
-    border-radius: 16rpx;
488
-    padding: 24rpx 20rpx;
489
-    margin-bottom: 16rpx;
490
-    box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
625
+.metric-change::before {
626
+    content: '';
627
+    display: inline-block;
628
+    width: 0;
629
+    height: 0;
630
+    vertical-align: middle;
491 631
 }
492
-.chart-title {
493
-    font-size: 28rpx;
494
-    font-weight: 600;
495
-    color: #333;
496
-    margin-bottom: 16rpx;
632
+.metric-change.change-down::before {
633
+    border-left: 8rpx solid transparent;
634
+    border-right: 8rpx solid transparent;
635
+    border-top: 12rpx solid currentColor;
497 636
 }
637
+.metric-change.change-up::before {
638
+    border-left: 8rpx solid transparent;
639
+    border-right: 8rpx solid transparent;
640
+    border-bottom: 12rpx solid currentColor;
641
+}
642
+.metric-change.change-flat::before {
643
+    width: 16rpx;
644
+    height: 0;
645
+    border-top: 4rpx solid currentColor;
646
+    border-radius: 2rpx;
647
+}
648
+.metric-chart {
649
+    height: 50rpx;
650
+    width: 130rpx;
651
+}
652
+.chart-card {
653
+    background: #fff; border-radius: 16rpx; padding: 24rpx 20rpx;
654
+    margin-bottom: 16rpx; box-shadow: 0 2rpx 12rpx rgba(0,0,0,0.06);
655
+}
656
+.chart-title { font-size: 28rpx; font-weight: 600; color: #333; margin-bottom: 16rpx; }
498 657
 .chart-box { width: 100%; }
499 658
 .chart-inner { width: 100%; height: 380rpx; }
500 659
 .chart-pie { height: 420rpx; }
501
-.security-summary { padding: 0 8rpx; }
502
-.security-avatars {
503
-    display: flex;
504
-    justify-content: center;
505
-    gap: 40rpx;
506
-    margin-bottom: 24rpx;
507
-}
508
-.sec-avatar { display: flex; flex-direction: column; align-items: center; gap: 8rpx; }
509
-.sec-avatar-circle {
660
+.rank-section { padding: 0 8rpx; }
661
+.rank-avatars { display: flex; justify-content: center; gap: 40rpx; margin-bottom: 24rpx; }
662
+.rank-avatar-item { display: flex; flex-direction: column; align-items: center; gap: 8rpx; }
663
+.rank-avatar-wrapper { position: relative; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
664
+.rank-avatar-wrapper.rank-pos-1 { border: 4rpx solid #94a3b8; }
665
+.rank-avatar-wrapper.rank-pos-2 { border: 4rpx solid #fbbf24; }
666
+.rank-avatar-wrapper.rank-pos-3 { border: 4rpx solid #fb923c; }
667
+.rank-avatar-circle {
510 668
     width: 80rpx; height: 80rpx; border-radius: 50%;
511 669
     display: flex; align-items: center; justify-content: center;
512 670
 }
513
-.sec-avatar-circle text { color: #fff; font-size: 26rpx; font-weight: bold; }
514
-.sec-avatar-score { font-size: 32rpx; font-weight: bold; color: #333; }
515
-.security-list { display: flex; flex-direction: column; gap: 0; }
516
-.sec-item {
517
-    display: flex; align-items: center; padding: 16rpx 0;
518
-    border-bottom: 1rpx solid #f5f5f5;
671
+.rank-avatar-circle text { color: #fff; font-size: 26rpx; font-weight: bold; }
672
+.rank-badge {
673
+    position: absolute; bottom: -12rpx; left: 50%; transform: translateX(-50%);
674
+    width: 28rpx; height: 28rpx; border-radius: 50%;
675
+    display: flex; align-items: center; justify-content: center;
676
+    font-size: 20rpx; font-weight: bold; color: #fff;
519 677
 }
520
-.sec-item:last-child { border-bottom: none; }
521
-.sec-rank {
522
-    width: 40rpx; height: 40rpx; border-radius: 50%;
523
-    background: #f0f0f0; display: flex; align-items: center; justify-content: center;
524
-    font-size: 22rpx; color: #666; margin-right: 20rpx;
678
+.rank-pos-1 .rank-badge { background: #94a3b8; }
679
+.rank-pos-2 .rank-badge { background: #fbbf24; }
680
+.rank-pos-3 .rank-badge { background: #fb923c; }
681
+.rank-name { font-size: 24rpx; color: #475569; }
682
+.rank-num { font-size: 32rpx; color: #1e293b; font-weight: bold; }
683
+.rank-table { display: flex; flex-direction: column; }
684
+.rank-tr {
685
+    display: flex; padding: 12rpx 0; font-size: 24rpx; color: #64748b;
686
+    border-bottom: 1rpx solid #e2e8f0;
525 687
 }
526
-.sec-name { flex: 1; font-size: 26rpx; color: #333; }
527
-.sec-score { font-size: 28rpx; font-weight: 600; color: #667eea; }
688
+.rank-tr text { flex: 1; text-align: center; }
689
+.rank-th { color: #1e293b; font-weight: bold; border-bottom: 2rpx solid #cbd5e1; }
528 690
 </style>