154b0b62ad
build / build (push) Successful in 1m20s
新增北京时间自然周校验与缓存隔离,默认展开到业务二级部门。 选中部门在统计页就地绑定;区域名称列表原位增删改,双版本锁、自动预览、独立读回及删除确认。 筛选和两张区域看板使用同一已保存目录,删除失效筛选回全部。 验证:完整 make verify、全 mirror 隔离 PostgreSQL race、自然周边界与缓存键负例通过;真实恢复库327部门逐行对拍及六项浏览器验收通过。 schema57无迁移,不改真实公司区域绑定或原始问答,不连接DobotAI生产源库;PNG导出本轮不冒充已验证。
231 lines
4.2 KiB
CSS
231 lines
4.2 KiB
CSS
.qa-regional-statistics {
|
|
min-width: 0;
|
|
color: #334155;
|
|
}
|
|
.qa-department-toolbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin: 0 0 14px;
|
|
}
|
|
.qa-department-toolbar h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
}
|
|
.qa-department-actions,
|
|
.qa-department-filters {
|
|
display: flex;
|
|
align-items: end;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
.qa-department-filters {
|
|
padding: 10px 0;
|
|
}
|
|
.qa-department-filters label {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
font-size: 12px;
|
|
color: #64748b;
|
|
}
|
|
.qa-department-filters input,
|
|
.qa-department-filters select {
|
|
min-height: 34px;
|
|
max-width: 240px;
|
|
}
|
|
.qa-department-meta,
|
|
.qa-department-note {
|
|
font-size: 12px;
|
|
color: #718096;
|
|
margin: 8px 0;
|
|
line-height: 1.6;
|
|
}
|
|
.qa-department-table-scroll {
|
|
max-height: calc(100vh - 340px);
|
|
min-height: 280px;
|
|
overflow: auto;
|
|
border: 1px solid #e5ebf2;
|
|
border-radius: 5px;
|
|
min-width: 0;
|
|
max-width: 100%;
|
|
background: #fff;
|
|
}
|
|
.qa-department-table {
|
|
width: 100%;
|
|
min-width: 900px;
|
|
border-collapse: collapse;
|
|
table-layout: fixed;
|
|
font-size: 14px;
|
|
}
|
|
.qa-department-name-column {
|
|
width: 43%;
|
|
}
|
|
.qa-department-time-column {
|
|
width: 20%;
|
|
}
|
|
.qa-department-table th,
|
|
.qa-department-table td {
|
|
padding: 13px 12px;
|
|
border-right: 1px solid #e8edf4;
|
|
border-bottom: 1px solid #e8edf4;
|
|
text-align: center;
|
|
vertical-align: middle;
|
|
white-space: nowrap;
|
|
font-variant-numeric: tabular-nums;
|
|
}
|
|
.qa-department-table th {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 2;
|
|
background: #f8fafc;
|
|
font-weight: 600;
|
|
color: #60748c;
|
|
}
|
|
.qa-department-table td:first-child,
|
|
.qa-department-table th:first-child {
|
|
text-align: left;
|
|
}
|
|
.qa-department-table tbody tr:hover {
|
|
background: #f7faff;
|
|
}
|
|
.qa-department-name {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 7px;
|
|
min-width: 0;
|
|
}
|
|
.qa-department-name input[type='checkbox'] {
|
|
flex: none;
|
|
width: 15px;
|
|
height: 15px;
|
|
margin: 0;
|
|
}
|
|
.qa-department-expand,
|
|
.qa-department-expand-space {
|
|
display: inline-flex;
|
|
flex: none;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 20px;
|
|
min-width: 20px;
|
|
height: 24px;
|
|
}
|
|
.qa-department-expand {
|
|
padding: 0;
|
|
border: 0;
|
|
background: transparent;
|
|
color: #536c88;
|
|
font-size: 20px;
|
|
cursor: pointer;
|
|
}
|
|
.qa-department-expand:focus-visible {
|
|
outline: 2px solid #3b82f6;
|
|
outline-offset: 2px;
|
|
}
|
|
.qa-department-label {
|
|
min-width: 0;
|
|
white-space: normal;
|
|
overflow-wrap: anywhere;
|
|
line-height: 1.5;
|
|
}
|
|
.qa-department-region,
|
|
.qa-department-roster {
|
|
display: block;
|
|
font-size: 11px;
|
|
line-height: 1.5;
|
|
color: #8190a4;
|
|
margin-top: 2px;
|
|
}
|
|
.qa-department-ratio {
|
|
font-weight: 650;
|
|
}
|
|
.qa-department-ratio[data-ratio='unknown'] {
|
|
font-weight: 400;
|
|
color: #8190a4;
|
|
}
|
|
.qa-department-editor {
|
|
min-width: 0;
|
|
}
|
|
@media (max-width: 680px) {
|
|
.qa-department-toolbar {
|
|
align-items: flex-start;
|
|
}
|
|
.qa-department-actions {
|
|
justify-content: flex-end;
|
|
}
|
|
.qa-department-actions button {
|
|
font-size: 12px;
|
|
padding: 6px 8px;
|
|
}
|
|
.qa-department-table-scroll {
|
|
max-height: 65vh;
|
|
}
|
|
.qa-department-filters input {
|
|
max-width: 180px;
|
|
}
|
|
.qa-department-filters {
|
|
gap: 8px;
|
|
}
|
|
.qa-department-filters label {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
|
|
.qa-department-binding {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
gap: 8px;
|
|
border-left: 1px solid #e5ebf2;
|
|
padding-left: 12px;
|
|
}
|
|
.qa-department-binding > span {
|
|
color: #64748b;
|
|
font-size: 12px;
|
|
}
|
|
.qa-region-settings-panel {
|
|
position: fixed;
|
|
inset: 0 0 0 auto;
|
|
z-index: 80;
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: min(560px, 100vw);
|
|
box-sizing: border-box;
|
|
border-left: 1px solid #d8e1eb;
|
|
background: #fff;
|
|
color: #334155;
|
|
box-shadow: -10px 0 30px #33415514;
|
|
}
|
|
.qa-region-settings-panel[hidden] {
|
|
display: none;
|
|
}
|
|
.qa-region-settings-panel > header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 18px 20px;
|
|
border-bottom: 1px solid #e5ebf2;
|
|
gap: 12px;
|
|
}
|
|
.qa-region-settings-panel > header h3 {
|
|
margin: 0;
|
|
font-size: 18px;
|
|
}
|
|
.qa-region-settings-content {
|
|
overflow: auto;
|
|
min-height: 0;
|
|
padding: 20px;
|
|
}
|
|
@media (max-width: 680px) {
|
|
.qa-department-binding {
|
|
border-left: 0;
|
|
padding-left: 0;
|
|
flex-basis: 100%;
|
|
}
|
|
.qa-region-settings-content {
|
|
padding: 16px;
|
|
}
|
|
}
|