feat: 优化差旅报销预审流程与个人工作台 UI 体系
- 完善 user_agent_application 申请差旅报销预审槽位与消息组装 - 增强预算助理报告与风险建议卡片交互 - 重构登录页视觉样式与移动端响应式适配 - 优化个人工作台、文档中心、政策中心、员工管理等页面布局 - 拆分 travelRequestDetailPreReviewModel 为 advice/submit 模型 - 补充报销草稿、风险复核、Item Sync 与模板执行器测试覆盖
This commit is contained in:
@@ -1271,6 +1271,11 @@
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.skill-center {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.skill-list,
|
||||
.detail-card,
|
||||
.side-card,
|
||||
@@ -1278,6 +1283,25 @@
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.skill-list {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.skill-list .status-tabs {
|
||||
flex-wrap: nowrap;
|
||||
padding-bottom: 10px;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.skill-list .status-tabs button {
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.list-toolbar,
|
||||
.card-head,
|
||||
.detail-actions,
|
||||
@@ -1306,6 +1330,102 @@
|
||||
width: min(100vw - 64px, 320px);
|
||||
}
|
||||
|
||||
.skill-list .table-wrap {
|
||||
min-height: 0;
|
||||
max-height: none;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.skill-list .table-wrap table,
|
||||
.skill-list .table-wrap thead,
|
||||
.skill-list .table-wrap tbody,
|
||||
.skill-list .table-wrap tr,
|
||||
.skill-list .table-wrap th,
|
||||
.skill-list .table-wrap td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.skill-list .table-wrap table {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.skill-list .table-wrap thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.skill-list .table-wrap tbody {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.skill-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);
|
||||
}
|
||||
|
||||
.skill-list .table-wrap td,
|
||||
.audit-asset-table td:first-child,
|
||||
.audit-asset-table td:not(:first-child) {
|
||||
display: grid;
|
||||
grid-template-columns: 82px 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;
|
||||
}
|
||||
|
||||
.skill-list .table-wrap td:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.skill-list .table-wrap td::before {
|
||||
content: attr(data-label);
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.skill-list .table-wrap td:first-child {
|
||||
grid-template-columns: 1fr;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.skill-list .table-wrap td:first-child::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.skill-name-cell {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.skill-name-cell span:last-child {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
.list-foot {
|
||||
justify-content: stretch;
|
||||
}
|
||||
|
||||
.hero-stats,
|
||||
.form-grid,
|
||||
.contract-grid {
|
||||
@@ -1618,3 +1738,91 @@
|
||||
grid-column: span 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.skill-center :deep(.skill-list .table-wrap) {
|
||||
min-height: 0;
|
||||
max-height: none;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap table),
|
||||
.skill-center :deep(.skill-list .table-wrap thead),
|
||||
.skill-center :deep(.skill-list .table-wrap tbody),
|
||||
.skill-center :deep(.skill-list .table-wrap tr),
|
||||
.skill-center :deep(.skill-list .table-wrap th),
|
||||
.skill-center :deep(.skill-list .table-wrap td) {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap table) {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap thead) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap tbody) {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-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);
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap td) {
|
||||
display: grid;
|
||||
grid-template-columns: 82px 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;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap td:last-child) {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap td::before) {
|
||||
content: attr(data-label);
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap td:first-child) {
|
||||
grid-template-columns: 1fr;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-list .table-wrap td:first-child::before) {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.skill-center :deep(.skill-name-cell span:last-child) {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -500,3 +500,49 @@
|
||||
padding: 8px 16px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.budget-dialog-backdrop {
|
||||
align-items: stretch;
|
||||
justify-content: stretch;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.budget-edit-dialog {
|
||||
width: 100vw;
|
||||
height: 100dvh;
|
||||
max-height: 100dvh;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.budget-edit-head {
|
||||
min-height: 52px;
|
||||
padding: 0 14px;
|
||||
}
|
||||
|
||||
.budget-edit-body {
|
||||
padding: 14px;
|
||||
overflow-y: auto;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
}
|
||||
|
||||
.budget-edit-section + .budget-edit-section {
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.budget-edit-table-wrap {
|
||||
flex: 0 0 auto;
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
.budget-edit-total {
|
||||
height: auto;
|
||||
min-height: 42px;
|
||||
justify-content: space-between;
|
||||
padding: 8px 12px;
|
||||
}
|
||||
|
||||
.budget-edit-foot {
|
||||
padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -168,3 +168,137 @@
|
||||
justify-content: center;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.digital-employees-list {
|
||||
padding: 12px 0;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.digital-employees-list > .status-tabs {
|
||||
gap: 18px;
|
||||
margin-top: 10px;
|
||||
padding: 0 12px 1px;
|
||||
}
|
||||
|
||||
.digital-employee-list-panel .table-wrap {
|
||||
flex: 0 0 auto;
|
||||
min-height: 0;
|
||||
margin-top: 12px;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.digital-employee-list-panel .list-foot {
|
||||
flex: 0 0 auto;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.digital-employees-table,
|
||||
.digital-employees-table tbody,
|
||||
.digital-employees-table tr,
|
||||
.digital-employees-table td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.digital-employees-table {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
border-collapse: separate;
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
||||
.digital-employees-table colgroup,
|
||||
.digital-employees-table thead {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.digital-employees-table tbody {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.digital-employees-table tr {
|
||||
padding: 12px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 6px;
|
||||
background: #fff;
|
||||
box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
|
||||
}
|
||||
|
||||
.digital-employees-table td {
|
||||
min-height: 34px;
|
||||
display: grid;
|
||||
grid-template-columns: 88px minmax(0, 1fr);
|
||||
gap: 10px;
|
||||
align-items: center;
|
||||
padding: 7px 0;
|
||||
border: 0;
|
||||
border-bottom: 1px dashed #e2e8f0;
|
||||
color: #334155;
|
||||
text-align: left;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.digital-employees-table td:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.digital-employees-table td::before {
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 760;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.digital-employees-table td[data-label]::before {
|
||||
content: attr(data-label);
|
||||
}
|
||||
|
||||
.digital-employees-table td:first-child {
|
||||
grid-template-columns: 1fr;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.digital-employees-table td:first-child::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.digital-employees-table .doc-kind-tag,
|
||||
.digital-employees-table .type-tag,
|
||||
.digital-employees-table .status-tag {
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
justify-self: start;
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.digital-skill-cell {
|
||||
grid-template-columns: 38px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.digital-skill-cell .doc-id {
|
||||
white-space: normal;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 480px) {
|
||||
.digital-employees-table td {
|
||||
grid-template-columns: 76px minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.digital-skill-cell {
|
||||
grid-template-columns: 34px minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.digital-skill-avatar {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 8px;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -222,8 +222,19 @@
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.documents-page {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.documents-list {
|
||||
padding: 16px;
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.document-status-filter {
|
||||
|
||||
@@ -1202,6 +1202,13 @@ td.cell-updated {
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.employee-center,
|
||||
.employee-list,
|
||||
.employee-detail {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.employee-list,
|
||||
.detail-card,
|
||||
.side-card,
|
||||
@@ -1209,6 +1216,15 @@ td.cell-updated {
|
||||
padding: 16px;
|
||||
}
|
||||
|
||||
.employee-center,
|
||||
.employee-list {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.employee-list {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.list-toolbar,
|
||||
.card-head,
|
||||
.detail-actions,
|
||||
@@ -1223,6 +1239,21 @@ td.cell-updated {
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.status-tabs {
|
||||
gap: 18px;
|
||||
flex-wrap: nowrap;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.status-tabs button {
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.status-tabs button span {
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.list-foot {
|
||||
grid-template-columns: 1fr;
|
||||
justify-items: stretch;
|
||||
@@ -1237,6 +1268,20 @@ td.cell-updated {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.toolbar-actions {
|
||||
width: 100%;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.ghost-filter-btn,
|
||||
.template-btn,
|
||||
.export-btn,
|
||||
.create-btn {
|
||||
flex: 1 1 140px;
|
||||
justify-content: center;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.picker-popover {
|
||||
width: min(280px, calc(100vw - 64px));
|
||||
}
|
||||
@@ -1246,6 +1291,18 @@ td.cell-updated {
|
||||
justify-self: stretch;
|
||||
}
|
||||
|
||||
.pager {
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
justify-content: flex-start;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.pager button {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.hero-stats,
|
||||
.form-grid,
|
||||
.role-grid {
|
||||
@@ -1265,4 +1322,99 @@ td.cell-updated {
|
||||
.history-row-time {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap {
|
||||
flex: none;
|
||||
min-height: 0;
|
||||
max-height: none;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap table,
|
||||
.employee-list .table-wrap thead,
|
||||
.employee-list .table-wrap tbody,
|
||||
.employee-list .table-wrap tr,
|
||||
.employee-list .table-wrap th,
|
||||
.employee-list .table-wrap td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap table {
|
||||
min-width: 0;
|
||||
width: 100%;
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap thead,
|
||||
.employee-list .table-wrap colgroup {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap tbody {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.employee-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);
|
||||
}
|
||||
|
||||
.employee-list .table-wrap tr:hover {
|
||||
background: #f8fbff;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap td {
|
||||
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;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap td:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap td::before {
|
||||
content: attr(data-label);
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap td > * {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap td:first-child {
|
||||
grid-template-columns: 1fr;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap td:first-child::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.employee-list .table-wrap .employee-cell {
|
||||
grid-template-columns: 38px minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.employee-list .table-wrap .role-stack {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -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;
|
||||
|
||||
@@ -676,10 +676,139 @@
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.receipt-folder-page {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.receipt-folder-list {
|
||||
height: auto;
|
||||
min-height: 100%;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.receipt-status-tabs {
|
||||
flex-wrap: nowrap;
|
||||
overflow-x: auto;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.receipt-status-tabs button {
|
||||
flex: 0 0 auto;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.receipt-folder-list .document-actions,
|
||||
.receipt-folder-list .filter-set,
|
||||
.receipt-folder-list .list-search,
|
||||
.receipt-folder-list .filter-btn,
|
||||
.receipt-folder-list .create-request-btn,
|
||||
.receipt-folder-list .page-size-select {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap {
|
||||
min-height: 0;
|
||||
max-height: none;
|
||||
display: block;
|
||||
overflow: visible;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap table,
|
||||
.receipt-folder-list .table-wrap thead,
|
||||
.receipt-folder-list .table-wrap tbody,
|
||||
.receipt-folder-list .table-wrap tr,
|
||||
.receipt-folder-list .table-wrap th,
|
||||
.receipt-folder-list .table-wrap td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap table {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
border-collapse: separate;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap thead,
|
||||
.receipt-folder-list .table-wrap colgroup {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap tbody {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap tr {
|
||||
padding: 12px;
|
||||
border: 1px solid #e2e8f0;
|
||||
border-radius: 4px;
|
||||
background: #fff;
|
||||
box-shadow: 0 6px 18px rgba(15, 23, 42, .05);
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap td {
|
||||
display: grid;
|
||||
grid-template-columns: 82px 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;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap td:last-child {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap td::before {
|
||||
content: attr(data-label);
|
||||
color: #64748b;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap td:first-child {
|
||||
grid-template-columns: 1fr;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.receipt-folder-list .table-wrap td:first-child::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.receipt-folder-list td:first-child .doc-id {
|
||||
white-space: normal;
|
||||
overflow: visible;
|
||||
text-overflow: clip;
|
||||
}
|
||||
|
||||
.receipt-folder-list .list-foot {
|
||||
display: grid;
|
||||
justify-items: stretch;
|
||||
}
|
||||
|
||||
.receipt-folder-list .pager {
|
||||
width: 100%;
|
||||
justify-content: flex-start;
|
||||
overflow-x: auto;
|
||||
}
|
||||
|
||||
.receipt-detail-toolbar,
|
||||
.receipt-toolbar-actions,
|
||||
.receipt-preview-tools {
|
||||
|
||||
@@ -804,6 +804,10 @@
|
||||
}
|
||||
|
||||
@media (max-width: 640px) {
|
||||
.settings-shell {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.settings-toolbar {
|
||||
padding: 16px;
|
||||
}
|
||||
@@ -824,4 +828,26 @@
|
||||
.settings-nav {
|
||||
padding: 16px 12px 12px;
|
||||
}
|
||||
|
||||
.settings-nav-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
max-height: 188px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
padding-bottom: 0;
|
||||
scrollbar-width: thin;
|
||||
}
|
||||
|
||||
.settings-nav-item {
|
||||
min-width: 0;
|
||||
min-height: 54px;
|
||||
padding: 9px 10px;
|
||||
}
|
||||
|
||||
.nav-item-copy strong,
|
||||
.nav-item-copy small {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -317,41 +317,75 @@
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
:global(.assistant-el-overlay .el-overlay-dialog) {
|
||||
height: 100dvh;
|
||||
max-height: 100dvh;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
:global(.assistant-el-dialog.el-dialog.is-fullscreen) {
|
||||
border-radius: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.assistant-overlay {
|
||||
--assistant-viewport-inset: 10px;
|
||||
--assistant-viewport-inset: 0;
|
||||
}
|
||||
|
||||
:global(.assistant-el-overlay) {
|
||||
--assistant-viewport-inset: 10px;
|
||||
--assistant-viewport-inset: 0;
|
||||
}
|
||||
|
||||
.assistant-modal,
|
||||
.assistant-modal-stage {
|
||||
border-radius: 4px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
max-height: 100%;
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.assistant-modal-stage {
|
||||
height: 100dvh;
|
||||
max-height: 100dvh;
|
||||
border: 0;
|
||||
box-shadow: none;
|
||||
background: #f6f9fc;
|
||||
}
|
||||
|
||||
.assistant-header {
|
||||
padding: 18px 18px 16px;
|
||||
align-items: flex-start;
|
||||
flex-direction: column;
|
||||
min-height: 58px;
|
||||
padding: calc(10px + env(safe-area-inset-top, 0px)) 138px 10px 12px;
|
||||
align-items: center;
|
||||
flex-direction: row;
|
||||
border-bottom: 1px solid #e5edf5;
|
||||
}
|
||||
|
||||
.assistant-header-actions {
|
||||
top: 18px;
|
||||
right: 18px;
|
||||
gap: 10px;
|
||||
top: calc(9px + env(safe-area-inset-top, 0px));
|
||||
right: 10px;
|
||||
gap: 6px;
|
||||
width: auto;
|
||||
justify-content: space-between;
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.assistant-toggle-btn,
|
||||
.session-trash-btn,
|
||||
.assistant-close-btn,
|
||||
.close-btn {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border-radius: 4px;
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
.assistant-title {
|
||||
font-size: 16px;
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.assistant-subtitle {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.flow-step-card header {
|
||||
@@ -359,16 +393,87 @@
|
||||
}
|
||||
|
||||
.assistant-layout {
|
||||
padding: 14px;
|
||||
position: relative;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dialog-panel {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.insight-panel-shell {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 70;
|
||||
width: 100%;
|
||||
max-height: none;
|
||||
margin-left: 0;
|
||||
transform: translateX(100%);
|
||||
pointer-events: none;
|
||||
transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
|
||||
.assistant-layout.has-insight .insight-panel-shell {
|
||||
transform: translateX(0);
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.insight-panel-shell.collapsed {
|
||||
width: 100%;
|
||||
transform: translateX(100%);
|
||||
}
|
||||
|
||||
.insight-panel {
|
||||
border-radius: 0;
|
||||
}
|
||||
|
||||
.composer-row {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) var(--composer-control-size, 40px);
|
||||
align-items: end;
|
||||
gap: 8px;
|
||||
--composer-control-size: 40px;
|
||||
}
|
||||
|
||||
.composer-leading-actions {
|
||||
grid-column: 1 / -1;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.composer-leading-actions .composer-side-btn,
|
||||
.composer-leading-actions .tool-btn {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.composer-date-anchor,
|
||||
.travel-calculator-anchor {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.composer-row .composer-shell {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.composer-shell-body {
|
||||
align-items: flex-start;
|
||||
padding: 6px 10px;
|
||||
}
|
||||
|
||||
.composer-shell textarea {
|
||||
min-height: 32px;
|
||||
flex-basis: 100%;
|
||||
min-height: 40px;
|
||||
max-height: 104px;
|
||||
padding: 8px 2px;
|
||||
line-height: 20px;
|
||||
}
|
||||
|
||||
.travel-calculator-form {
|
||||
@@ -376,20 +481,87 @@
|
||||
}
|
||||
|
||||
.dialog-toolbar {
|
||||
padding: 16px 16px 12px;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
gap: 8px;
|
||||
padding: 8px 10px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.dialog-toolbar-label {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.shortcut-chip-wrap {
|
||||
width: 100%;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 8px;
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.shortcut-chip {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.shortcut-chip span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.message-list {
|
||||
padding: 16px;
|
||||
padding: 12px 10px;
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.message-avatar {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
}
|
||||
|
||||
.message-bubble {
|
||||
max-width: 100%;
|
||||
padding: 10px 12px;
|
||||
}
|
||||
|
||||
.message-suggested-actions {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.composer {
|
||||
padding: 0 16px 16px;
|
||||
gap: 8px;
|
||||
padding: 8px 10px calc(10px + env(safe-area-inset-bottom, 0px));
|
||||
border-top: 1px solid #e5edf5;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.composer-files-panel {
|
||||
max-height: 30dvh;
|
||||
overflow-y: auto;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.composer-date-popover,
|
||||
.travel-calculator-popover {
|
||||
position: fixed;
|
||||
left: 10px;
|
||||
right: 10px;
|
||||
bottom: calc(150px + env(safe-area-inset-bottom, 0px));
|
||||
width: auto;
|
||||
max-height: min(58dvh, 420px);
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.composer-date-fields-range {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.composer-date-range-sep {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.composer-files-head,
|
||||
|
||||
@@ -769,6 +769,15 @@
|
||||
background: #dbe4ee;
|
||||
}
|
||||
|
||||
.application-leader-opinion-timeline.is-single {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.application-leader-opinion-timeline.is-single::before,
|
||||
.application-leader-opinion-timeline.is-single .application-leader-opinion-event::before {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.application-leader-opinion-event {
|
||||
position: relative;
|
||||
display: grid;
|
||||
|
||||
Reference in New Issue
Block a user