feat: 增强规则资产管理与审计页面运行时调试
后端新增规则资产版本管理和规则文件 CRUD 接口,优化风险 规则生成模板执行和员工数据模型字段,知识库 RAG 增强本 地回退和文档提取能力,清理旧风险规则文件统一由生成引擎 管理,前端审计页面增加运行时调试面板和规则资产编辑交互, 补充单元测试覆盖。
This commit is contained in:
@@ -237,7 +237,7 @@
|
||||
color: #475569;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
text-align: left;
|
||||
text-align: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
@@ -260,11 +260,13 @@
|
||||
border-bottom: 1px solid #eef3f8;
|
||||
color: #0f172a;
|
||||
font-size: 13px;
|
||||
vertical-align: top;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
}
|
||||
|
||||
.summary-cell {
|
||||
min-width: 220px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.summary-cell strong,
|
||||
@@ -301,6 +303,7 @@
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
align-content: start;
|
||||
justify-items: center;
|
||||
}
|
||||
|
||||
.status-note {
|
||||
@@ -632,52 +635,60 @@
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-width: 56px;
|
||||
padding: 4px 9px;
|
||||
border-radius: 999px;
|
||||
padding: 3px 8px;
|
||||
border-radius: 6px;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
font-weight: 600;
|
||||
white-space: nowrap;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
|
||||
.status-pill.success {
|
||||
background: rgba(22, 163, 74, 0.12);
|
||||
border-color: rgba(22, 163, 74, 0.2);
|
||||
color: #166534;
|
||||
}
|
||||
|
||||
.status-pill.warning {
|
||||
background: rgba(245, 158, 11, 0.14);
|
||||
border-color: rgba(245, 158, 11, 0.25);
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.status-pill.danger {
|
||||
background: rgba(239, 68, 68, 0.14);
|
||||
border-color: rgba(239, 68, 68, 0.25);
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.status-pill.muted {
|
||||
background: rgba(148, 163, 184, 0.14);
|
||||
border-color: rgba(148, 163, 184, 0.25);
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
.status-pill.info,
|
||||
.level-pill.info {
|
||||
background: rgba(37, 99, 235, 0.12);
|
||||
border-color: rgba(37, 99, 235, 0.25);
|
||||
color: #1d4ed8;
|
||||
}
|
||||
|
||||
.level-pill.warning {
|
||||
background: rgba(245, 158, 11, 0.14);
|
||||
border-color: rgba(245, 158, 11, 0.25);
|
||||
color: #b45309;
|
||||
}
|
||||
|
||||
.level-pill.danger {
|
||||
background: rgba(239, 68, 68, 0.14);
|
||||
border-color: rgba(239, 68, 68, 0.25);
|
||||
color: #b91c1c;
|
||||
}
|
||||
|
||||
.level-pill.muted {
|
||||
background: rgba(148, 163, 184, 0.14);
|
||||
border-color: rgba(148, 163, 184, 0.25);
|
||||
color: #475569;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user