feat: 新增预算费控模型与报销审批流引擎
后端新增预算费控服务和报销单审批流模块,引入申请人费用画像 算法,优化知识库 RAG 运行时和同步逻辑,完善报销单工作流常 量和明细同步,更新差旅报销规则电子表格,前端新增预算分析 组件和数字员工模型,完善审批对话框和洞察面板交互,优化侧 边栏和顶栏样式,补充单元测试。
This commit is contained in:
@@ -36,12 +36,12 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.panel-title {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
.panel-title {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.panel-title h2,
|
||||
.preview-head h2 {
|
||||
@@ -86,9 +86,17 @@
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.file-search input:focus {
|
||||
outline: none;
|
||||
}
|
||||
.file-search input:focus {
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.panel-tools {
|
||||
min-width: min(470px, 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.library-body {
|
||||
min-height: 0;
|
||||
@@ -101,11 +109,11 @@
|
||||
.folder-rail {
|
||||
min-height: 0;
|
||||
display: grid;
|
||||
grid-template-rows: minmax(0, 1fr) auto;
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
border-right: 1px solid #edf2f7;
|
||||
padding-right: 12px;
|
||||
}
|
||||
border-right: 1px solid #edf2f7;
|
||||
padding-right: 12px;
|
||||
}
|
||||
|
||||
.folder-tree {
|
||||
min-height: 0;
|
||||
@@ -148,45 +156,38 @@
|
||||
font-size: 11px;
|
||||
}
|
||||
|
||||
.folder-sync-block {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.new-folder-btn {
|
||||
.knowledge-sync-btn {
|
||||
min-height: 36px;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
border: 1px solid rgba(var(--theme-primary-rgb), .28);
|
||||
border-radius: 8px;
|
||||
background: var(--theme-primary-light-9);
|
||||
color: var(--theme-primary-active);
|
||||
font-size: 13px;
|
||||
font-weight: 850;
|
||||
}
|
||||
|
||||
.new-folder-btn.fixed {
|
||||
border-color: rgba(148, 163, 184, 0.3);
|
||||
background: #f8fafc;
|
||||
color: #64748b;
|
||||
}
|
||||
|
||||
.knowledge-sync-btn:not(:disabled) {
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 7px;
|
||||
padding: 0 14px;
|
||||
border: 1px solid #1d4ed8;
|
||||
border-radius: 8px;
|
||||
background: #2563eb;
|
||||
color: #fff;
|
||||
font-size: 13px;
|
||||
font-weight: 850;
|
||||
white-space: nowrap;
|
||||
box-shadow: 0 8px 18px rgba(37, 99, 235, 0.18);
|
||||
cursor: pointer;
|
||||
transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
|
||||
}
|
||||
|
||||
.knowledge-sync-btn:not(:disabled):hover {
|
||||
border-color: rgba(var(--theme-primary-rgb), 0.38);
|
||||
background: var(--theme-primary-light-9);
|
||||
color: var(--theme-primary-active);
|
||||
.knowledge-sync-btn:hover:not(:disabled) {
|
||||
border-color: #1e40af;
|
||||
background: #1d4ed8;
|
||||
box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.folder-sync-meta {
|
||||
.knowledge-sync-btn:disabled {
|
||||
cursor: not-allowed;
|
||||
border-color: #cbd5e1;
|
||||
background: #e2e8f0;
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
line-height: 1.6;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.document-area {
|
||||
@@ -1179,6 +1180,12 @@ th {
|
||||
align-items: stretch;
|
||||
}
|
||||
|
||||
.panel-tools,
|
||||
.file-search,
|
||||
.knowledge-sync-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.summary-grid,
|
||||
.list-foot {
|
||||
grid-template-columns: 1fr;
|
||||
|
||||
Reference in New Issue
Block a user