feat: 新增风险规则生成引擎与知识图谱可视化

后端新增风险规则自动生成和模板执行服务,支持从规则资产
批量生成并持久化风险规则文件;知识库入库日志增强图谱
查询和本地 RAG 回退,前端审计页面增加风险规则模型和流
程图组件,知识入库面板拆分为图谱可视化子组件,报销创
建页面增加引导式流程模型,更新知识库索引数据。
This commit is contained in:
caoxiaozhu
2026-05-23 19:54:42 +08:00
parent 5b388d08c0
commit 575f093c74
63 changed files with 35497 additions and 1517 deletions

View File

@@ -687,6 +687,13 @@
z-index: 1;
}
.insight-body.document-review-body {
display: flex;
flex-direction: column;
align-content: stretch;
overflow: hidden;
}
.review-side-card {
display: grid;
gap: 10px;
@@ -1186,6 +1193,10 @@
.review-ticket-drawer {
min-height: 0;
grid-template-rows: auto minmax(0, 1fr);
height: 100%;
flex: 1 1 auto;
overflow: hidden;
}
.review-document-switch-head {
@@ -1226,6 +1237,7 @@
.review-document-stage {
display: grid;
grid-template-rows: auto auto minmax(0, 1fr);
gap: 12px;
min-height: 0;
}
@@ -1292,7 +1304,8 @@
.review-document-scroll {
display: grid;
gap: 12px;
max-height: 430px;
max-height: none;
min-height: 0;
overflow-y: auto;
padding-right: 4px;
}
@@ -1320,8 +1333,15 @@
.review-document-preview-card.image img {
display: block;
width: 100%;
height: 188px;
object-fit: cover;
height: auto;
max-height: 260px;
object-fit: contain;
}
.review-document-preview-card.image {
display: grid;
place-items: center;
min-height: 220px;
}
.review-document-preview-placeholder {