feat: 优化差旅报销预审流程与个人工作台 UI 体系
- 完善 user_agent_application 申请差旅报销预审槽位与消息组装 - 增强预算助理报告与风险建议卡片交互 - 重构登录页视觉样式与移动端响应式适配 - 优化个人工作台、文档中心、政策中心、员工管理等页面布局 - 拆分 travelRequestDetailPreReviewModel 为 advice/submit 模型 - 补充报销草稿、风险复核、Item Sync 与模板执行器测试覆盖
This commit is contained in:
@@ -477,7 +477,18 @@ td small {
|
||||
@media (max-width: 760px) {
|
||||
.status-tabs {
|
||||
gap: 18px;
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.status-tabs button {
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.status-tabs button span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.filter-set,
|
||||
@@ -492,4 +503,111 @@ td small {
|
||||
display: grid;
|
||||
justify-items: stretch;
|
||||
}
|
||||
|
||||
.pager {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
justify-content: flex-start;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.pager button {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap {
|
||||
min-height: 0;
|
||||
max-height: none;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap table,
|
||||
.documents-list .table-wrap thead,
|
||||
.documents-list .table-wrap tbody,
|
||||
.documents-list .table-wrap tr,
|
||||
.documents-list .table-wrap th,
|
||||
.documents-list .table-wrap td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap table {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap thead,
|
||||
.documents-list .table-wrap colgroup {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap tbody {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap tr {
|
||||
padding: 12px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
|
||||
}
|
||||
|
||||
.documents-list .table-wrap tr:hover {
|
||||
background: #f8fbff;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap td {
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: 82px minmax(0, 1fr);
|
||||
align-items: start;
|
||||
gap: 10px;
|
||||
min-height: 30px;
|
||||
padding: 7px 0;
|
||||
border-bottom: 1px dashed #edf2f7;
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap td:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap td::before {
|
||||
content: attr(data-label);
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap td > * {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap td:first-child {
|
||||
grid-template-columns: 1fr;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap td:first-child::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap td[data-label="事项"] {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.documents-list .table-wrap td[data-label="事项"]::before {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user