fix: 去掉范围蔓延和其他选项 + 概览增加变更统计
1. 变更原因精简为4个: - 需求理解偏差导致返工 - 反馈导致返工 - 实现难度超预期 - 上游交付延误 去掉"范围蔓延"和"其他"(避免大家逃避问题选其他) 2. 顶部小卡片新增"需求变更"计数(橙色警告色) 3. 概览新增变更统计区域(加班时长下方): - 变更人员排名:谁发起的变更次数最多 - 变更原因占比:环形饼图 + 图例百分比 - 无变更时不显示此区域 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -43,15 +43,13 @@ export interface Requirement {
|
||||
changeBy?: string;
|
||||
}
|
||||
|
||||
export type ChangeReason = 'misunderstanding' | 'feedback_rework' | 'difficulty_exceeded' | 'upstream_delay' | 'scope_creep' | 'other';
|
||||
export type ChangeReason = 'misunderstanding' | 'feedback_rework' | 'difficulty_exceeded' | 'upstream_delay';
|
||||
|
||||
export const CHANGE_REASON_LABEL: Record<ChangeReason, string> = {
|
||||
misunderstanding: '需求理解偏差导致返工',
|
||||
feedback_rework: '反馈导致返工',
|
||||
difficulty_exceeded: '实现难度超预期',
|
||||
upstream_delay: '上游交付延误',
|
||||
scope_creep: '范围蔓延',
|
||||
other: '其他',
|
||||
};
|
||||
|
||||
export const SOURCE_TYPE_LABEL: Record<SourceType, string> = {
|
||||
|
||||
Reference in New Issue
Block a user