feat: 报销审批流重构与管家计划全链路贯通

- 重构报销状态注册表、审批流路由与平台风险标记
- 完善管家意图规划器与模型计划构建器全链路
- 新增 OCR Worker 脚本、数据库会话管理与通知状态
- 优化文档中心、日志视图、预算中心与员工管理交互
- 增强工作台摘要、图标资源与全局主题样式
- 补充审批路由、状态注册、OCR 服务与管家规划器测试覆盖
This commit is contained in:
caoxiaozhu
2026-06-06 17:19:07 +08:00
parent f60cebadb8
commit e124e4bbcb
162 changed files with 9161 additions and 1941 deletions

View File

@@ -619,10 +619,13 @@
.assistant-layout {
min-height: 0;
flex: 1;
height: 100%;
max-height: 100%;
display: flex;
padding: clamp(12px, 1.5vw, 16px);
align-items: stretch;
gap: clamp(12px, 1.5vw, 16px);
overflow: hidden;
}
.dialog-panel,
@@ -641,8 +644,11 @@
.dialog-panel {
flex: 1 1 auto;
display: grid;
grid-template-rows: auto minmax(0, 1fr) auto;
display: flex;
flex-direction: column;
height: 100%;
max-height: 100%;
min-height: 0;
overflow: hidden;
background: #ffffff;
transition:
@@ -671,6 +677,7 @@
}
.dialog-toolbar {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 10px;
@@ -766,12 +773,15 @@
}
.message-list {
flex: 1 1 0;
min-height: 0;
max-height: 100%;
display: grid;
align-content: start;
gap: 14px;
padding: 18px;
overflow-y: auto;
overscroll-behavior: contain;
}
.message-row.user .message-avatar {
@@ -1918,6 +1928,13 @@
padding: 0 18px 18px;
display: grid;
gap: 12px;
position: sticky;
bottom: 0;
z-index: 20;
flex: 0 0 auto;
flex-shrink: 0;
background: #ffffff;
box-shadow: 0 -10px 22px rgba(248, 250, 252, 0.92);
}
.hidden-file-input {
@@ -1994,3 +2011,37 @@
font-size: 13px;
font-weight: 900;
}
.message-row-reveal-enter-active {
transition: opacity 300ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.message-row-reveal-enter-from {
opacity: 0;
transform: translateY(16px) scale(0.98);
}
.message-row-reveal-enter-to {
opacity: 1;
transform: translateY(0) scale(1);
}
.message-row-reveal-leave-active {
transition: opacity 200ms ease, transform 200ms ease;
position: absolute;
width: 100%;
}
.message-row-reveal-leave-from {
opacity: 1;
transform: translateY(0) scale(1);
}
.message-row-reveal-leave-to {
opacity: 0;
transform: translateY(-10px) scale(0.98);
}
.message-row-reveal-move {
transition: transform 350ms cubic-bezier(0.2, 0.8, 0.2, 1);
}