新增北京时间自然周校验与缓存隔离,默认展开到业务二级部门。 选中部门在统计页就地绑定;区域名称列表原位增删改,双版本锁、自动预览、独立读回及删除确认。 筛选和两张区域看板使用同一已保存目录,删除失效筛选回全部。 验证:完整 make verify、全 mirror 隔离 PostgreSQL race、自然周边界与缓存键负例通过;真实恢复库327部门逐行对拍及六项浏览器验收通过。 schema57无迁移,不改真实公司区域绑定或原始问答,不连接DobotAI生产源库;PNG导出本轮不冒充已验证。
This commit is contained in:
+98
-145
@@ -2,8 +2,8 @@
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
min-height: 0;
|
||||
gap: 12px;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
gap: 14px;
|
||||
}
|
||||
.qa-region-heading {
|
||||
display: flex;
|
||||
@@ -13,80 +13,108 @@
|
||||
}
|
||||
.qa-region-heading h3 {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
}
|
||||
.qa-region-filters {
|
||||
.qa-region-directory-status {
|
||||
display: flex;
|
||||
gap: 12px;
|
||||
align-items: end;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
}
|
||||
.qa-region-filters label {
|
||||
.qa-region-directory-status small {
|
||||
color: #64748b;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.qa-region-catalog-list {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
border-top: 1px solid #e5ebf2;
|
||||
}
|
||||
.qa-region-catalog-list > li {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
align-items: center;
|
||||
gap: 7px 12px;
|
||||
padding: 14px 0;
|
||||
border-bottom: 1px solid #e5ebf2;
|
||||
}
|
||||
.qa-region-catalog-list label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 6px;
|
||||
gap: 5px;
|
||||
grid-column: 1;
|
||||
min-width: 0;
|
||||
font-size: 12px;
|
||||
color: #64748b;
|
||||
}
|
||||
.qa-region-filters label:nth-child(2) {
|
||||
flex: 1;
|
||||
min-width: 220px;
|
||||
.qa-region-catalog-list small {
|
||||
grid-column: 1;
|
||||
color: #8190a4;
|
||||
font-size: 11px;
|
||||
}
|
||||
.qa-region-filters input,
|
||||
.qa-region-filters select {
|
||||
.qa-region-catalog-list input,
|
||||
.qa-region-add input {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 36px;
|
||||
padding: 6px 10px;
|
||||
border: 1px solid var(--line, #d8e1eb);
|
||||
border-radius: 6px;
|
||||
background: var(--panel, #fff);
|
||||
color: inherit;
|
||||
padding: 7px 10px;
|
||||
border: 1px solid #d8e1eb;
|
||||
border-radius: 5px;
|
||||
background: #fff;
|
||||
color: #334155;
|
||||
}
|
||||
.qa-region-row-actions {
|
||||
min-width: 152px;
|
||||
justify-content: flex-start;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
gap: 8px;
|
||||
grid-column: 2;
|
||||
grid-row: 1 / span 2;
|
||||
}
|
||||
.qa-region-row-actions button {
|
||||
min-width: 48px;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.qa-region-removal-warning {
|
||||
grid-column: 1 / -1;
|
||||
color: #97572d;
|
||||
line-height: 1.6;
|
||||
overflow-wrap: anywhere;
|
||||
font-size: 12px;
|
||||
}
|
||||
.qa-region-add {
|
||||
display: flex;
|
||||
gap: 8px;
|
||||
align-items: center;
|
||||
}
|
||||
.qa-region-add input {
|
||||
flex: 1;
|
||||
}
|
||||
.qa-region-add button {
|
||||
flex: none;
|
||||
}
|
||||
.qa-region-save-actions {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 8px;
|
||||
position: sticky;
|
||||
bottom: -20px;
|
||||
padding: 12px 0;
|
||||
border-top: 1px solid #e5ebf2;
|
||||
background: #fff;
|
||||
}
|
||||
.qa-region-preview {
|
||||
display: flex;
|
||||
gap: 8px 18px;
|
||||
gap: 8px 16px;
|
||||
flex-wrap: wrap;
|
||||
padding: 12px 14px;
|
||||
border: 1px solid var(--line, #d8e1eb);
|
||||
background: var(--panel-muted, #f3f7fc);
|
||||
border-radius: 6px;
|
||||
}
|
||||
.qa-region-tree-scroll {
|
||||
min-height: 120px;
|
||||
overflow: auto;
|
||||
flex: 1;
|
||||
border: 1px solid var(--line, #d8e1eb);
|
||||
border-radius: 6px;
|
||||
}
|
||||
.qa-region-table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
text-align: left;
|
||||
font-size: 13px;
|
||||
table-layout: fixed;
|
||||
min-width: 960px;
|
||||
}
|
||||
.qa-region-table th,
|
||||
.qa-region-table td {
|
||||
padding: 10px 12px;
|
||||
border-bottom: 1px solid var(--line, #d8e1eb);
|
||||
white-space: normal;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.qa-region-table th {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
background: var(--panel, #fff);
|
||||
white-space: nowrap;
|
||||
}
|
||||
.qa-region-table td:nth-child(2) {
|
||||
min-width: 0;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
.qa-region-table td.qa-region-basis {
|
||||
white-space: nowrap;
|
||||
}
|
||||
.qa-region-table input[type='checkbox'] {
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
cursor: pointer;
|
||||
accent-color: #1765c1;
|
||||
padding: 12px;
|
||||
border: 1px solid #d8e1eb;
|
||||
background: #f3f7fc;
|
||||
border-radius: 5px;
|
||||
font-size: 12px;
|
||||
}
|
||||
.qa-region-tabs {
|
||||
display: flex;
|
||||
@@ -112,89 +140,14 @@
|
||||
outline: 2px solid #1765c1;
|
||||
outline-offset: 2px;
|
||||
}
|
||||
.qa-region-catalog {
|
||||
border-bottom: 1px solid var(--line, #d8e1eb);
|
||||
padding-bottom: 14px;
|
||||
min-width: 0;
|
||||
}
|
||||
.qa-region-catalog h4 {
|
||||
margin: 0 0 10px;
|
||||
}
|
||||
.qa-region-names {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
|
||||
gap: 10px;
|
||||
}
|
||||
.qa-region-names label {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 4px;
|
||||
color: var(--text-muted, #5e6d82);
|
||||
font-size: 12px;
|
||||
min-width: 0;
|
||||
}
|
||||
.qa-region-catalog input {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
box-sizing: border-box;
|
||||
padding: 8px 10px;
|
||||
border: 1px solid var(--line, #d8e1eb);
|
||||
border-radius: 5px;
|
||||
background: var(--panel, #fff);
|
||||
color: inherit;
|
||||
}
|
||||
.qa-region-add,
|
||||
.qa-region-bulk {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px 12px;
|
||||
align-items: center;
|
||||
}
|
||||
.qa-region-add {
|
||||
margin-top: 10px;
|
||||
}
|
||||
.qa-region-add input {
|
||||
max-width: 320px;
|
||||
}
|
||||
.qa-region-bulk label {
|
||||
display: flex;
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
}
|
||||
.qa-region-tree-scroll {
|
||||
max-height: 60vh;
|
||||
}
|
||||
.qa-region-table th {
|
||||
white-space: normal;
|
||||
}
|
||||
.qa-region-table th:first-child {
|
||||
width: 36px;
|
||||
}
|
||||
.qa-region-table th:nth-child(6) {
|
||||
width: 23%;
|
||||
}
|
||||
.qa-region-table th:last-child {
|
||||
width: 65px;
|
||||
}
|
||||
.qa-region-table td button {
|
||||
padding: 3px 6px;
|
||||
font-size: 11px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
@media (max-width: 700px) {
|
||||
.qa-region-filters {
|
||||
align-items: stretch;
|
||||
}
|
||||
.qa-region-filters label {
|
||||
flex: 1;
|
||||
}
|
||||
.qa-region-tree-scroll {
|
||||
min-height: 300px;
|
||||
}
|
||||
.qa-region-preview {
|
||||
font-size: 13px;
|
||||
}
|
||||
@media (max-width: 480px) {
|
||||
.qa-region-heading {
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.qa-region-catalog-list > li {
|
||||
gap: 7px 8px;
|
||||
}
|
||||
.qa-region-row-actions {
|
||||
gap: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user