// 在职人员分布相关类型
export interface StaffDistributionItem {
  categoryType: string;        // 类别：签约中、签约完成、考核中、考核完成、人员调整中、人员完成调整、预计算术分配、预计算完配
  count: number;              // 人数
  percentage: number;         // 占比
  details?: StaffDetailItem[];// 详细信息
}

export interface StaffDetailItem {
  staffId: string;
  staffName: string;
  department: string;
  position: string;
  status: string;
  joinDate: string;
  updateTime: string;
}

export interface StaffDistributionData {
  totalStaff: number;                           // 总人数
  distributionList: StaffDistributionItem[];
  regionStats: {                                // 区域统计
    region: string;
    count: number;
    percentage: number;
  }[];    // 分布列表
  trendData: {                                  // 趋势数据
    dates: string[];
    signedCount: number[];
    assessmentCount: number[];
    adjustmentCount: number[];
  };
  updateTime: string;
}

export interface StaffQueryParams {
  categoryType?: string;
  department?: string;
  position?: string;
  dateRange?: [string, string];
}
