diff --git a/components/department-dashboard/PerformanceSalaryDetails.test.tsx b/components/department-dashboard/PerformanceSalaryDetails.test.tsx
index 2b060533..63d9ff63 100644
--- a/components/department-dashboard/PerformanceSalaryDetails.test.tsx
+++ b/components/department-dashboard/PerformanceSalaryDetails.test.tsx
@@ -263,3 +263,23 @@ test('核对清单只显示当前入口且不回填冲突人员的缺失调研
expect(checklist).not.toHaveTextContent('其他主管')
expect(screen.getByText(/调研得分取同月绩效考核的两位小数正式得分/)).toBeInTheDocument()
})
+
+test('主管部门交付率复用原始值明细按钮,展开聚焦标题,收起恢复触发器焦点', async () => {
+ const data = managementPayload(), metric = managementPosition.dimensions[1].metrics[1]
+ const row = { ...payload().roles['ai-planning'][0], values: { nickname: '主管花名', [`${metric.id}RawValue`]: 75, [`${metric.id}Score`]: 9 }, metricEvidence: {
+ [metric.id]: { kind: 'department-on-time-average' as const, month: '2026-10', department: { sourceDeptId: 1, name: 'A部', path: '公司/A部' }, members: [
+ { employeeProfileId: 'a', employeeLabel: '甲', onTimeCount: 1, totalCount: 1, rate: 100, included: true },
+ { employeeProfileId: 'b', employeeLabel: '乙', onTimeCount: 5, totalCount: 10, rate: 50, included: true },
+ ], includedCount: 2, rawScore: 75 },
+ } }
+ data.roles.management.push(row); data.positionGroups[0].rows.push(row)
+ ;(fetch as jest.Mock).mockResolvedValue(json(data))
+ render(
所选入口暂无已配置岗位的人员薪资档案。
) : <> + {role === 'management' && (data?.departmentMatchIssues?.length ?? 0) > 0 &&以下人员的调研得分暂留空,请核对人员薪资档案与绩效考核中的姓名、花名及人员关联。
调研得分取同月绩效考核的两位小数正式得分。考核得分=原始指标分×综合占比,逐项保留两位小数后相加为绩效得分。绩效系数=绩效得分÷100,四舍五入保留两位小数;当月总薪资=基本工资+职级工资+绩效工资×绩效系数。左右滚动查看完整字段;正占比指标缺失时系数及总薪资显示“——”,导出仅包含空白模板。
+ {role === 'management' &&主管市场验证取本部门策划成员上月完结流程的最高3条有效环比均值;按时交付率取本部门当月有有效流程成员的个人比例均值。均仅统计组织架构主部门直属在职成员,点击原始值查看计算明细。
} {visibleGroups.map(({ position, template, rows }) => { const activeRow = rows.find(row => row.employeeProfileId === expanded?.employeeId) const activeDimension = position.dimensions.find(dimension => dimension.metrics.some(metric => metric.id === expanded?.metricId)) const activeMetric = activeDimension?.metrics.find(metric => metric.id === expanded?.metricId) const activeEvidence = expanded && activeRow?.metricEvidence?.[expanded.metricId] - const detailId = `market-details-${position.id}` + const detailId = `metric-details-${position.id}` return暂无管理岗人员,请在人员薪资配置中新增
} @@ -100,7 +106,7 @@ export default function PerformanceSalaryDetails({ role, month }: { role: Salary