移除风险仪表盘操作按钮

This commit is contained in:
wkc
2026-03-19 11:09:14 +08:00
parent 42847ffdba
commit 8f3108d1cd
4 changed files with 28 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
<div class="section-title">{{ summary.title || "风险仪表盘" }}</div>
<div class="section-subtitle">{{ summary.subtitle || "风险总体数据概览" }}</div>
</div>
<div class="section-actions">
<div v-if="summary.actions && summary.actions.length" class="section-actions">
<el-button
v-for="action in summary.actions || []"
:key="action.key"

View File

@@ -2,10 +2,7 @@ export const mockOverviewData = {
summary: {
title: "风险仪表盘",
subtitle: "风险仪表盘数据概览",
actions: [
{ key: "download", label: "批量导出", type: "primary", plain: false },
{ key: "state", label: "切换视图", type: "primary", plain: true },
],
actions: [],
stats: [
{ key: "people", label: "总人数", value: 500, icon: "el-icon-user", tone: "blue" },
{ key: "riskPeople", label: "风险人数", value: 10, icon: "el-icon-warning-outline", tone: "red" },