fix(sidebar): 修复子路由高亮丢失问题
- 新增 menuPaths 计算属性,递归收集全站菜单路径 - 修改 activeMenu 逻辑,针对无匹配菜单路径尝试最长前缀匹配 - 解决子路由菜单高亮消失问题,支持全站多场景适用 - 优化 master-order-dispatch 页面 select 宽度,防止 append 区域撑爆 - 修正运输单位 select 固定宽度为 92px,并防止被父容器拉伸 - 调整 business-crud-page 任务备注和附加选择器宽度及样式 - 减少 process-config 备注输入区域行数,提升界面紧凑度
This commit is contained in:
@@ -13041,7 +13041,16 @@ export default {
|
||||
}
|
||||
|
||||
&__task-remark {
|
||||
grid-column: span 3;
|
||||
grid-column: 1 / -1;
|
||||
|
||||
:deep(.el-form-item__content) {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
:deep(.el-input),
|
||||
:deep(.el-textarea) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
&__task-note {
|
||||
@@ -13111,8 +13120,16 @@ export default {
|
||||
}
|
||||
|
||||
&__append-select--wide {
|
||||
width: 108px;
|
||||
min-width: 108px;
|
||||
width: 96px;
|
||||
min-width: 96px;
|
||||
|
||||
// 仅这两个窄 append 内的 placeholder 文字水平居中
|
||||
:deep(.el-select__placeholder) {
|
||||
left: 50% !important;
|
||||
transform: translateY(-50%) translateX(-50%) !important;
|
||||
text-align: center;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
|
||||
:deep(.business-crud-page__goods-info-cell .cell) {
|
||||
|
||||
@@ -699,12 +699,12 @@ export default {
|
||||
.route-overview__line { flex: 0 1 56px; min-width: 24px; height: 32px; margin-top: 0; border-bottom: 6px solid #e4e7ed; }
|
||||
.segment-header { min-height: 46px; padding: 0 20px; border-bottom: 1px solid #eff1f7; font-weight: 600; em { color: #409eff; font-style: normal; } }
|
||||
.segment-content { padding: 16px 24px; }
|
||||
.dispatch-form { :deep(.el-form-item) { margin-bottom: 16px; } :deep(.el-input), :deep(.el-select), :deep(.el-date-editor), :deep(.el-input-number) { width: 100%; } }
|
||||
.dispatch-form { :deep(.el-form-item) { margin-bottom: 16px; } :deep(.el-input), :deep(.el-select), :deep(.el-date-editor), :deep(.el-input-number) { width: 100%; } :deep(.el-input-group__append .el-select) { width: auto; } }
|
||||
.transport-type-field :deep(.el-input) { width: 240px; }
|
||||
.goods-heading { display: flex; align-items: center; justify-content: space-between; margin: 0 -24px 12px; padding: 14px 24px; border-top: 1px solid #eff1f7; border-bottom: 1px solid #eff1f7; h3 { margin: 0; padding-left: 12px; border-left: 4px solid #409eff; font-size: 16px; } span { color: #909399; font-size: 13px; } }
|
||||
.freight-heading { margin: 16px 0 12px; h3 { margin: 0; padding-left: 12px; border-left: 4px solid #409eff; font-size: 16px; } }
|
||||
.goods-table { :deep(th.el-table__cell), :deep(td.el-table__cell) { border-color: #eff1f7; } :deep(.el-table__row--striped td.el-table__cell) { background: #fafafa; } :deep(.goods-table__remaining .cell) { white-space: nowrap; } :deep(.goods-table__dispatch .el-input) { width: 100%; min-width: 0; } :deep(.goods-table__cargo-type .el-input__inner), :deep(.goods-table__cargo-name .el-select__selected-item) { color: #303133; } }
|
||||
.freight-form { :deep(.freight-unit-select) { width: 92px; } }
|
||||
.freight-form { :deep(.freight-unit-select) { width: 92px; flex: 0 0 92px; min-width: 0; } }
|
||||
.carrier-type-form { margin-top: 16px; }
|
||||
.carrier-form { padding-top: 8px; }
|
||||
.segment-actions { display: flex; justify-content: flex-end; gap: 12px; padding-top: 4px; }
|
||||
|
||||
@@ -170,7 +170,7 @@
|
||||
<el-input
|
||||
v-model="form.remark"
|
||||
type="textarea"
|
||||
:rows="4"
|
||||
:rows="2"
|
||||
maxlength="500"
|
||||
show-word-limit
|
||||
placeholder="请输入"
|
||||
|
||||
Reference in New Issue
Block a user