feat: 新增风险图谱算法与系统仪表盘及操作反馈体系
后端新增风险图谱算法模块、风险观察与反馈服务、规则 DSL 校验器和可解释性引擎,完善系统仪表盘和财务仪表盘统计, 优化 agent 运行和编排执行链路,清理旧开发文档,前端新增 系统趋势、负载热力图等多种仪表盘图表组件,完善操作反馈 对话框和工作台日期选择器,优化报销创建和审批详情交互, 补充单元测试覆盖。
This commit is contained in:
@@ -0,0 +1,191 @@
|
||||
.application-preview-date-chip {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 24px;
|
||||
padding: 0 8px;
|
||||
border-radius: 999px;
|
||||
background: rgba(var(--theme-primary-rgb, 58, 124, 165), 0.1);
|
||||
color: var(--theme-primary-active, #255b7d);
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.application-draft-preview {
|
||||
width: min(100%, 620px);
|
||||
max-width: 620px;
|
||||
gap: 12px;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.application-draft-preview .application-draft-head {
|
||||
display: grid;
|
||||
grid-template-columns: 36px minmax(0, 1fr) auto;
|
||||
align-items: start;
|
||||
justify-content: initial;
|
||||
gap: 10px;
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #e6edf5;
|
||||
}
|
||||
|
||||
.application-draft-icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
display: inline-grid;
|
||||
place-items: center;
|
||||
border: 1px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.22);
|
||||
border-radius: 4px;
|
||||
background: #f4f9fc;
|
||||
color: var(--theme-primary-active, #255b7d);
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.application-draft-title {
|
||||
min-width: 0;
|
||||
display: grid;
|
||||
gap: 3px;
|
||||
}
|
||||
|
||||
.application-draft-title strong {
|
||||
color: #102033;
|
||||
font-size: 14px;
|
||||
font-weight: 850;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.application-draft-title small {
|
||||
color: #667085;
|
||||
font-size: 12px;
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.application-draft-status {
|
||||
min-height: 22px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
padding: 0 8px;
|
||||
border: 1px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.24);
|
||||
border-radius: 4px;
|
||||
background: #f7fbff;
|
||||
color: var(--theme-primary-active, #255b7d);
|
||||
font-size: 11px;
|
||||
font-weight: 850;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.application-draft-brief {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0;
|
||||
border: 1px solid #d7e4f2;
|
||||
border-radius: 4px;
|
||||
overflow: hidden;
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.application-draft-brief-item {
|
||||
display: grid;
|
||||
grid-template-columns: 42px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
min-height: 42px;
|
||||
padding: 8px 12px;
|
||||
border-top: 1px solid #edf2f7;
|
||||
border-left: 1px solid #edf2f7;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.application-draft-brief-item:nth-child(even) {
|
||||
border-left: 0;
|
||||
}
|
||||
|
||||
.application-draft-brief-item.is-primary {
|
||||
grid-column: 1 / -1;
|
||||
grid-template-columns: 42px minmax(0, 1fr);
|
||||
min-height: 48px;
|
||||
border-top: 0;
|
||||
border-left: 0;
|
||||
background: #f8fbff;
|
||||
}
|
||||
|
||||
.application-draft-brief-item span {
|
||||
color: #64748b;
|
||||
font-weight: 760;
|
||||
}
|
||||
|
||||
.application-draft-brief-item strong {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
color: #0f172a;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.application-draft-brief-item.is-primary strong {
|
||||
color: #102033;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.application-draft-footer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.application-draft-footer p {
|
||||
margin: 0;
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.application-draft-detail-link {
|
||||
display: inline;
|
||||
margin: 0 1px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 2px;
|
||||
background: transparent;
|
||||
color: var(--theme-primary-active, #255b7d);
|
||||
font: inherit;
|
||||
font-weight: 850;
|
||||
line-height: inherit;
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 3px;
|
||||
cursor: pointer;
|
||||
transition: color 0.18s ease, outline-color 0.18s ease;
|
||||
}
|
||||
|
||||
.application-draft-detail-link:hover:not(:disabled) {
|
||||
color: var(--theme-primary, #3a7ca5);
|
||||
}
|
||||
|
||||
.application-draft-detail-link:focus-visible {
|
||||
outline: 2px solid rgba(var(--theme-primary-rgb, 58, 124, 165), 0.24);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.application-draft-detail-link:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.58;
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.application-draft-preview .application-draft-head {
|
||||
grid-template-columns: 34px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.application-draft-status {
|
||||
grid-column: 2;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.application-draft-brief {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.application-draft-brief-item {
|
||||
border-left: 0;
|
||||
border-top: 1px solid #edf2f7;
|
||||
}
|
||||
|
||||
.application-draft-brief-item.is-primary {
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user