feat: 优化差旅报销预审流程与个人工作台 UI 体系
- 完善 user_agent_application 申请差旅报销预审槽位与消息组装 - 增强预算助理报告与风险建议卡片交互 - 重构登录页视觉样式与移动端响应式适配 - 优化个人工作台、文档中心、政策中心、员工管理等页面布局 - 拆分 travelRequestDetailPreReviewModel 为 advice/submit 模型 - 补充报销草稿、风险复核、Item Sync 与模板执行器测试覆盖
This commit is contained in:
@@ -1163,6 +1163,46 @@ th {
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.knowledge-page {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.knowledge-grid,
|
||||
.knowledge-main,
|
||||
.library-panel,
|
||||
.library-body,
|
||||
.document-area {
|
||||
height: auto;
|
||||
min-height: 0;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.knowledge-grid,
|
||||
.library-panel,
|
||||
.library-body,
|
||||
.document-area {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.knowledge-grid,
|
||||
.knowledge-main,
|
||||
.library-panel,
|
||||
.library-body,
|
||||
.document-area,
|
||||
.doc-table-wrap,
|
||||
.folder-tree {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
min-width: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.library-panel {
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.panel-title,
|
||||
.preview-head,
|
||||
.llm-wiki-section-head,
|
||||
@@ -1177,10 +1217,134 @@ th {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.summary-grid,
|
||||
.list-foot {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
.library-body {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.folder-rail {
|
||||
display: block;
|
||||
padding: 0 0 10px;
|
||||
}
|
||||
|
||||
.folder-tree {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
padding-bottom: 2px;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.folder-tree button {
|
||||
flex: 0 0 auto;
|
||||
width: max-content;
|
||||
min-width: 132px;
|
||||
}
|
||||
|
||||
.upload-zone {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.doc-table-wrap {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.knowledge-document-table,
|
||||
.knowledge-document-table thead,
|
||||
.knowledge-document-table tbody,
|
||||
.knowledge-document-table tr,
|
||||
.knowledge-document-table th,
|
||||
.knowledge-document-table td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.knowledge-document-table {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.knowledge-document-table thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.knowledge-document-table tbody {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.knowledge-document-table tr {
|
||||
padding: 12px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
|
||||
}
|
||||
|
||||
.knowledge-document-table td,
|
||||
.knowledge-document-table th:not(:first-child),
|
||||
.knowledge-document-table td:not(:first-child),
|
||||
.knowledge-document-table td:first-child {
|
||||
display: grid;
|
||||
grid-template-columns: 78px 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;
|
||||
}
|
||||
|
||||
.knowledge-document-table td:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.knowledge-document-table td::before {
|
||||
content: attr(data-label);
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.knowledge-document-table td:first-child {
|
||||
grid-template-columns: 1fr;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.knowledge-document-table td:first-child::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.knowledge-document-table .empty-row {
|
||||
display: block;
|
||||
padding: 12px 0;
|
||||
border-bottom: 0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.knowledge-document-table .empty-row::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.file-name {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.state-cell {
|
||||
justify-items: start;
|
||||
}
|
||||
|
||||
.row-actions {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.summary-grid,
|
||||
.list-foot {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.list-foot {
|
||||
gap: 12px;
|
||||
|
||||
Reference in New Issue
Block a user