- 录单列表新增「平台」「操作人」两列,录单表单与编辑弹窗新增同名字段下拉 - 新增 cs_manual_entry_options 表与 4 个接口(读取/新增/重命名/删除),页面右上角弹窗维护平台与操作人 - 迁移 000087:cs_manual_entries 增加 platform/operator 列与索引,注册 cs_manual_entry:option_manage 权限并授予 ops/super_admin - 记录保存名称快照,删除选项不影响历史记录;同类型重名返回 409,跨类型同名允许 - 顶部关键词查询支持命中平台/操作人 - 新增单测:选项 CRUD 边界与录单平台/操作人读写
172 lines
2.6 KiB
CSS
172 lines
2.6 KiB
CSS
.manual-entry-form-card,
|
|
.manual-entry-list-card {
|
|
background: #ffffff;
|
|
border: 1px solid rgba(226, 232, 240, 0.8);
|
|
border-radius: 16px;
|
|
padding: 22px 24px;
|
|
box-shadow:
|
|
0 1px 3px rgba(15, 23, 42, 0.04),
|
|
0 4px 12px rgba(15, 23, 42, 0.02);
|
|
}
|
|
|
|
.manual-entry-list-card {
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.page-header-actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.manual-entry-form-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.form-title {
|
|
font-size: 16px;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.form-hint {
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.manual-entry-form-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.manual-entry-form-grid :deep(.el-form-item) {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.full-control {
|
|
width: 100%;
|
|
}
|
|
|
|
.manual-entry-submit-row {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.manual-entry-filter-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.filter-entry-no {
|
|
width: 200px;
|
|
}
|
|
|
|
.filter-keyword {
|
|
width: 320px;
|
|
}
|
|
|
|
.filter-date {
|
|
width: 260px;
|
|
}
|
|
|
|
.mono-entry-no {
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: #1e3a8a;
|
|
}
|
|
|
|
/* 平台 / 操作人配置弹窗 */
|
|
.option-config-tip {
|
|
margin: 0 0 16px;
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
.option-config-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.option-config-panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
padding: 16px;
|
|
border: 1px solid #e2e8f0;
|
|
border-radius: 12px;
|
|
background: #f8fafc;
|
|
}
|
|
|
|
.option-config-title {
|
|
font-size: 14px;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
}
|
|
|
|
.option-config-add {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.option-config-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 6px;
|
|
margin: 0;
|
|
padding: 0;
|
|
list-style: none;
|
|
max-height: 320px;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.option-config-list li {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
padding: 6px 10px;
|
|
border-radius: 8px;
|
|
background: #ffffff;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
|
|
.option-config-name {
|
|
font-size: 13px;
|
|
color: #0f172a;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.option-config-actions {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.option-config-actions :deep(.el-button) {
|
|
margin: 0;
|
|
}
|
|
|
|
.option-config-empty {
|
|
margin: 0;
|
|
font-size: 12px;
|
|
color: #94a3b8;
|
|
}
|
|
|
|
@media (max-width: 1100px) {
|
|
.manual-entry-form-grid,
|
|
.option-config-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|