feat(qa-ops): 支持自定义区域与分级部门批量归属
build / build (push) Successful in 1m8s

This commit is contained in:
姚章浩
2026-10-18 21:50:29 +08:00
parent 8835a473dd
commit 76671e0784
33 changed files with 865 additions and 100 deletions
+73 -3
View File
@@ -59,6 +59,8 @@
border-collapse: collapse;
text-align: left;
font-size: 13px;
table-layout: fixed;
min-width: 960px;
}
.qa-region-table th,
.qa-region-table td {
@@ -74,11 +76,10 @@
white-space: nowrap;
}
.qa-region-table td:nth-child(2) {
min-width: 240px;
min-width: 0;
overflow-wrap: anywhere;
}
.qa-region-table td:nth-child(3),
.qa-region-table td:nth-child(4) {
.qa-region-table td.qa-region-basis {
white-space: nowrap;
}
.qa-region-table input[type='checkbox'] {
@@ -111,6 +112,75 @@
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;