feat: 优化差旅报销预审流程与个人工作台 UI 体系

- 完善 user_agent_application 申请差旅报销预审槽位与消息组装
- 增强预算助理报告与风险建议卡片交互
- 重构登录页视觉样式与移动端响应式适配
- 优化个人工作台、文档中心、政策中心、员工管理等页面布局
- 拆分 travelRequestDetailPreReviewModel 为 advice/submit 模型
- 补充报销草稿、风险复核、Item Sync 与模板执行器测试覆盖
This commit is contained in:
caoxiaozhu
2026-06-02 14:01:51 +08:00
parent 92444e7eae
commit ca691f3ee0
107 changed files with 5663 additions and 1542 deletions

View File

@@ -445,12 +445,23 @@
}
@media (max-width: 760px) {
.budget-center-page {
height: auto;
min-height: 100%;
display: block;
overflow: visible;
}
.budget-list {
padding: 16px;
height: auto;
min-height: 100%;
display: block;
overflow: visible;
padding: 12px;
}
.budget-detail-page {
padding: 16px 16px 0;
padding: 12px 12px 0;
}
.budget-select-filter,
@@ -464,6 +475,121 @@
justify-content: space-between;
}
.budget-scope-tabs {
gap: 18px;
flex-wrap: nowrap;
overflow-x: auto;
scrollbar-width: thin;
}
.budget-scope-tabs button {
flex: 0 0 auto;
white-space: nowrap;
}
.budget-toolbar .document-actions {
width: 100%;
justify-content: stretch;
}
.budget-table-wrap {
min-height: 0;
max-height: none;
display: block;
overflow: visible;
border: 0;
border-radius: 0;
background: transparent;
}
.budget-list-table,
.budget-list-table thead,
.budget-list-table tbody,
.budget-list-table tr,
.budget-list-table th,
.budget-list-table td {
display: block;
}
.budget-list-table,
.budget-list-table.all,
.budget-list-table.review,
.budget-list-table.archive {
width: 100%;
min-width: 0;
border-collapse: separate;
}
.budget-list-table thead,
.budget-list-table colgroup {
display: none;
}
.budget-list-table tbody {
display: grid;
gap: 10px;
}
.budget-list-table tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
}
.budget-list-table td {
display: grid;
grid-template-columns: 86px minmax(0, 1fr);
align-items: center;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border-bottom: 1px dashed #edf2f7;
color: #273142;
font-size: 13px;
line-height: 1.45;
text-align: left;
white-space: normal;
overflow: visible;
text-overflow: clip;
}
.budget-list-table td:last-child {
border-bottom: 0;
}
.budget-list-table td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
line-height: 1.6;
}
.budget-list-table td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.budget-list-table td:first-child::before {
display: none;
}
.budget-rate {
max-width: none;
justify-content: flex-start;
}
.budget-detail-page :deep(.detail-scroll) {
overflow: visible;
padding-right: 0;
}
.budget-detail-page :deep(.detail-grid) {
display: block;
}
.budget-period-grid {
grid-template-columns: 1fr;
}
@@ -471,4 +597,71 @@
.budget-status-explain-list {
grid-template-columns: minmax(0, 1fr);
}
.budget-detail-table-wrap {
overflow: visible;
}
.budget-detail-table,
.budget-detail-table thead,
.budget-detail-table tbody,
.budget-detail-table tr,
.budget-detail-table th,
.budget-detail-table td {
display: block;
}
.budget-detail-table {
min-width: 0;
border-collapse: separate;
}
.budget-detail-table thead {
display: none;
}
.budget-detail-table tbody {
display: grid;
gap: 10px;
}
.budget-detail-table tr {
padding: 12px;
border: 1px solid #e2e8f0;
border-radius: 4px;
background: #fff;
}
.budget-detail-table td {
display: grid;
grid-template-columns: 82px minmax(0, 1fr);
align-items: center;
gap: 10px;
min-height: 30px;
padding: 7px 0;
border: 0;
border-bottom: 1px dashed #edf2f7;
text-align: left;
white-space: normal;
}
.budget-detail-table td:last-child {
border-bottom: 0;
}
.budget-detail-table td::before {
content: attr(data-label);
color: #64748b;
font-size: 12px;
font-weight: 800;
}
.budget-detail-table td:first-child {
grid-template-columns: 1fr;
padding-top: 0;
}
.budget-detail-table td:first-child::before {
display: none;
}
}