519 lines
15 KiB
TypeScript
519 lines
15 KiB
TypeScript
import {
|
||
AssessorTypeEnum,
|
||
HrEvaluation360Result,
|
||
ResultStatusEnum,
|
||
ParticipantStatusEnum,
|
||
} from "../types/hr";
|
||
|
||
// Örnek Sonuçlar
|
||
export const mockEvaluation360Results: HrEvaluation360Result[] = [
|
||
{
|
||
id: "result-001",
|
||
campaignId: "campaign-001",
|
||
employeeId: "1",
|
||
participants: [
|
||
// Ali Öztürk'ün kendisi tarafından değerlendirme
|
||
{
|
||
id: "part-001",
|
||
campaignId: "campaign-001",
|
||
evaluatedEmployeeId: "1",
|
||
evaluatorId: "1", // Kendi değerlendirmesi
|
||
evaluatorType: AssessorTypeEnum.Self,
|
||
status: ParticipantStatusEnum.Completed,
|
||
invitedDate: new Date("2024-11-01"),
|
||
startedDate: new Date("2024-11-05"),
|
||
completedDate: new Date("2024-11-10"),
|
||
responses: [
|
||
{
|
||
id: "resp-001",
|
||
participantId: "part-001",
|
||
questionId: "q-001", // İletişim Becerileri - İletişim kurar
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-11-10"),
|
||
},
|
||
{
|
||
id: "resp-002",
|
||
participantId: "part-001",
|
||
questionId: "q-002", // İletişim Becerileri - Dinleme
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-11-10"),
|
||
},
|
||
{
|
||
id: "resp-003",
|
||
participantId: "part-001",
|
||
questionId: "q-005", // Takım Çalışması
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-11-10"),
|
||
},
|
||
{
|
||
id: "resp-004",
|
||
participantId: "part-001",
|
||
questionId: "q-008", // Liderlik - Motivasyon
|
||
responseValue: 3,
|
||
score: 3,
|
||
submittedDate: new Date("2024-11-10"),
|
||
},
|
||
{
|
||
id: "resp-005",
|
||
participantId: "part-001",
|
||
questionId: "q-010", // Problem Çözme
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-11-10"),
|
||
},
|
||
],
|
||
overallScore: 85,
|
||
notes: "Genel olarak kendimi başarılı buluyorum",
|
||
},
|
||
// Yönetici tarafından değerlendirme
|
||
{
|
||
id: "part-002",
|
||
campaignId: "campaign-001",
|
||
evaluatedEmployeeId: "1",
|
||
evaluatorId: "2", // Yönetici değerlendirmesi
|
||
evaluatorType: AssessorTypeEnum.Manager,
|
||
status: ParticipantStatusEnum.Completed,
|
||
invitedDate: new Date("2024-11-01"),
|
||
startedDate: new Date("2024-11-08"),
|
||
completedDate: new Date("2024-11-12"),
|
||
responses: [
|
||
{
|
||
id: "resp-006",
|
||
participantId: "part-002",
|
||
questionId: "q-001",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-11-12"),
|
||
},
|
||
{
|
||
id: "resp-007",
|
||
participantId: "part-002",
|
||
questionId: "q-002",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-11-12"),
|
||
},
|
||
{
|
||
id: "resp-008",
|
||
participantId: "part-002",
|
||
questionId: "q-005",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-11-12"),
|
||
},
|
||
{
|
||
id: "resp-009",
|
||
participantId: "part-002",
|
||
questionId: "q-008",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-11-12"),
|
||
},
|
||
{
|
||
id: "resp-010",
|
||
participantId: "part-002",
|
||
questionId: "q-010",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-11-12"),
|
||
},
|
||
],
|
||
overallScore: 92,
|
||
notes: "Çok başarılı bir ekip üyesi",
|
||
},
|
||
// Meslektaş değerlendirmeleri
|
||
{
|
||
id: "part-003",
|
||
campaignId: "campaign-001",
|
||
evaluatedEmployeeId: "1",
|
||
evaluatorId: "3", // Meslektaş değerlendirmesi
|
||
evaluatorType: AssessorTypeEnum.Peer,
|
||
status: ParticipantStatusEnum.Completed,
|
||
invitedDate: new Date("2024-11-01"),
|
||
startedDate: new Date("2024-11-06"),
|
||
completedDate: new Date("2024-11-11"),
|
||
responses: [
|
||
{
|
||
id: "resp-011",
|
||
participantId: "part-003",
|
||
questionId: "q-001",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-11-11"),
|
||
},
|
||
{
|
||
id: "resp-012",
|
||
participantId: "part-003",
|
||
questionId: "q-002",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-11-11"),
|
||
},
|
||
{
|
||
id: "resp-013",
|
||
participantId: "part-003",
|
||
questionId: "q-005",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-11-11"),
|
||
},
|
||
{
|
||
id: "resp-014",
|
||
participantId: "part-003",
|
||
questionId: "q-008",
|
||
responseValue: 3,
|
||
score: 3,
|
||
submittedDate: new Date("2024-11-11"),
|
||
},
|
||
{
|
||
id: "resp-015",
|
||
participantId: "part-003",
|
||
questionId: "q-010",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-11-11"),
|
||
},
|
||
],
|
||
overallScore: 87,
|
||
notes: "İşbirliğinde çok başarılı",
|
||
},
|
||
],
|
||
overallScore: 88.5,
|
||
maxPossibleScore: 100,
|
||
scorePercentage: 88.5,
|
||
groupScores: [
|
||
{
|
||
groupId: "group-001",
|
||
groupName: "İletişim Becerileri",
|
||
score: 22,
|
||
maxScore: 25,
|
||
percentage: 88,
|
||
responseCount: 3,
|
||
},
|
||
{
|
||
groupId: "group-002",
|
||
groupName: "Takım Çalışması",
|
||
score: 23,
|
||
maxScore: 25,
|
||
percentage: 92,
|
||
responseCount: 3,
|
||
},
|
||
{
|
||
groupId: "group-003",
|
||
groupName: "Liderlik",
|
||
score: 20,
|
||
maxScore: 25,
|
||
percentage: 80,
|
||
responseCount: 3,
|
||
},
|
||
{
|
||
groupId: "group-004",
|
||
groupName: "Problem Çözme",
|
||
score: 23.5,
|
||
maxScore: 25,
|
||
percentage: 94,
|
||
responseCount: 3,
|
||
},
|
||
],
|
||
assessorTypeScores: [
|
||
{
|
||
assessorType: AssessorTypeEnum.Self,
|
||
assessorCount: 1,
|
||
averageScore: 85,
|
||
maxScore: 100,
|
||
percentage: 85,
|
||
},
|
||
{
|
||
assessorType: AssessorTypeEnum.Manager,
|
||
assessorCount: 1,
|
||
averageScore: 92,
|
||
maxScore: 100,
|
||
percentage: 92,
|
||
},
|
||
{
|
||
assessorType: AssessorTypeEnum.Peer,
|
||
assessorCount: 2,
|
||
averageScore: 87,
|
||
maxScore: 100,
|
||
percentage: 87,
|
||
},
|
||
],
|
||
strengths: [
|
||
"Problem çözme konusunda çok başarılı",
|
||
"Takım çalışmasında öne çıkıyor",
|
||
"İletişim becerileri güçlü",
|
||
],
|
||
developmentAreas: [
|
||
"Liderlik becerilerini geliştirmeli",
|
||
"Zaman yönetimi konusunda iyileştirme yapabilir",
|
||
],
|
||
actionPlan: [
|
||
"Liderlik eğitimi alması öneriliyor",
|
||
"Zaman yönetimi workshop'una katılmalı",
|
||
"Mentorluk programına dahil edilmeli",
|
||
],
|
||
managerComments: "Genel olarak çok başarılı. Liderlik potansiyeli yüksek.",
|
||
status: ResultStatusEnum.Pending,
|
||
generatedDate: new Date("2024-11-20"),
|
||
approvedBy: "hr-manager",
|
||
approvedDate: new Date("2024-11-22"),
|
||
},
|
||
{
|
||
id: "result-002",
|
||
campaignId: "campaign-003",
|
||
employeeId: "5",
|
||
participants: [
|
||
// Fatma Yıldız'ın kendisi tarafından değerlendirme
|
||
{
|
||
id: "part-101",
|
||
campaignId: "campaign-003",
|
||
evaluatedEmployeeId: "5",
|
||
evaluatorId: "5", // Kendi değerlendirmesi
|
||
evaluatorType: AssessorTypeEnum.Self,
|
||
status: ParticipantStatusEnum.Declined,
|
||
invitedDate: new Date("2024-10-01"),
|
||
startedDate: new Date("2024-10-05"),
|
||
completedDate: new Date("2024-10-15"),
|
||
responses: [
|
||
{
|
||
id: "resp-101",
|
||
participantId: "part-101",
|
||
questionId: "q-001",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-15"),
|
||
},
|
||
{
|
||
id: "resp-102",
|
||
participantId: "part-101",
|
||
questionId: "q-002",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-15"),
|
||
},
|
||
{
|
||
id: "resp-103",
|
||
participantId: "part-101",
|
||
questionId: "q-005",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-15"),
|
||
},
|
||
{
|
||
id: "resp-104",
|
||
participantId: "part-101",
|
||
questionId: "q-008",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-15"),
|
||
},
|
||
{
|
||
id: "resp-105",
|
||
participantId: "part-101",
|
||
questionId: "q-010",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-10-15"),
|
||
},
|
||
],
|
||
overallScore: 88,
|
||
notes: "Kalite standartlarına uyum konusunda kendimi başarılı buluyorum",
|
||
},
|
||
// Yönetici tarafından değerlendirme
|
||
{
|
||
id: "part-102",
|
||
campaignId: "campaign-003",
|
||
evaluatedEmployeeId: "5",
|
||
evaluatorId: "1", // Yönetici değerlendirmesi
|
||
evaluatorType: AssessorTypeEnum.Manager,
|
||
status: ParticipantStatusEnum.Invited,
|
||
invitedDate: new Date("2024-10-01"),
|
||
startedDate: new Date("2024-10-10"),
|
||
completedDate: new Date("2024-10-20"),
|
||
responses: [
|
||
{
|
||
id: "resp-106",
|
||
participantId: "part-102",
|
||
questionId: "q-001",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-10-20"),
|
||
},
|
||
{
|
||
id: "resp-107",
|
||
participantId: "part-102",
|
||
questionId: "q-002",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-10-20"),
|
||
},
|
||
{
|
||
id: "resp-108",
|
||
participantId: "part-102",
|
||
questionId: "q-005",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-20"),
|
||
},
|
||
{
|
||
id: "resp-109",
|
||
participantId: "part-102",
|
||
questionId: "q-008",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-20"),
|
||
},
|
||
{
|
||
id: "resp-110",
|
||
participantId: "part-102",
|
||
questionId: "q-010",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-10-20"),
|
||
},
|
||
],
|
||
overallScore: 91,
|
||
notes: "Kalite kontrol süreçlerinde çok titiz ve başarılı",
|
||
},
|
||
// Meslektaş değerlendirmesi
|
||
{
|
||
id: "part-103",
|
||
campaignId: "campaign-003",
|
||
evaluatedEmployeeId: "5",
|
||
evaluatorId: "6", // Meslektaş değerlendirmesi
|
||
evaluatorType: AssessorTypeEnum.Peer,
|
||
status: ParticipantStatusEnum.Started,
|
||
invitedDate: new Date("2024-10-01"),
|
||
startedDate: new Date("2024-10-12"),
|
||
completedDate: new Date("2024-10-18"),
|
||
responses: [
|
||
{
|
||
id: "resp-111",
|
||
participantId: "part-103",
|
||
questionId: "q-001",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-10-18"),
|
||
},
|
||
{
|
||
id: "resp-112",
|
||
participantId: "part-103",
|
||
questionId: "q-002",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-18"),
|
||
},
|
||
{
|
||
id: "resp-113",
|
||
participantId: "part-103",
|
||
questionId: "q-005",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-18"),
|
||
},
|
||
{
|
||
id: "resp-114",
|
||
participantId: "part-103",
|
||
questionId: "q-008",
|
||
responseValue: 4,
|
||
score: 4,
|
||
submittedDate: new Date("2024-10-18"),
|
||
},
|
||
{
|
||
id: "resp-115",
|
||
participantId: "part-103",
|
||
questionId: "q-010",
|
||
responseValue: 5,
|
||
score: 5,
|
||
submittedDate: new Date("2024-10-18"),
|
||
},
|
||
],
|
||
overallScore: 89,
|
||
notes: "Detaycı ve kalite odaklı çalışıyor",
|
||
},
|
||
],
|
||
overallScore: 450,
|
||
maxPossibleScore: 500,
|
||
scorePercentage: 90,
|
||
groupScores: [
|
||
{
|
||
groupId: "group-001",
|
||
groupName: "İletişim Becerileri",
|
||
score: 115,
|
||
maxScore: 125,
|
||
percentage: 92,
|
||
responseCount: 3,
|
||
},
|
||
{
|
||
groupId: "group-002",
|
||
groupName: "Takım Çalışması",
|
||
score: 110,
|
||
maxScore: 125,
|
||
percentage: 88,
|
||
responseCount: 3,
|
||
},
|
||
{
|
||
groupId: "group-003",
|
||
groupName: "Liderlik",
|
||
score: 105,
|
||
maxScore: 125,
|
||
percentage: 84,
|
||
responseCount: 3,
|
||
},
|
||
{
|
||
groupId: "group-004",
|
||
groupName: "Problem Çözme",
|
||
score: 120,
|
||
maxScore: 125,
|
||
percentage: 96,
|
||
responseCount: 3,
|
||
},
|
||
],
|
||
assessorTypeScores: [
|
||
{
|
||
assessorType: AssessorTypeEnum.Self,
|
||
assessorCount: 1,
|
||
averageScore: 88,
|
||
maxScore: 100,
|
||
percentage: 88,
|
||
},
|
||
{
|
||
assessorType: AssessorTypeEnum.Manager,
|
||
assessorCount: 1,
|
||
averageScore: 91,
|
||
maxScore: 100,
|
||
percentage: 91,
|
||
},
|
||
{
|
||
assessorType: AssessorTypeEnum.Peer,
|
||
assessorCount: 2,
|
||
averageScore: 89,
|
||
maxScore: 100,
|
||
percentage: 89,
|
||
},
|
||
],
|
||
strengths: [
|
||
"Kalite standartlarına titizlikle uyuyor",
|
||
"Analitik düşünce becerisi güçlü",
|
||
"Detaycı ve organizeli çalışıyor",
|
||
],
|
||
developmentAreas: [
|
||
"Takım motivasyonu konusunda gelişim gösterebilir",
|
||
"Yaratıcı çözümler üretme konusunda iyileştirme yapabilir",
|
||
],
|
||
actionPlan: [
|
||
"Takım liderliği eğitimi alması öneriliyor",
|
||
"Yaratıcı düşünce workshop'una katılmalı",
|
||
"Cross-functional projelerde yer almalı",
|
||
],
|
||
managerComments: "Kalite kontrol süreçlerinde mükemmel performans gösteriyor.",
|
||
hrComments: "Liderlik potansiyeli geliştirilmeli.",
|
||
status: ResultStatusEnum.Pending,
|
||
generatedDate: new Date("2024-12 -01"),
|
||
approvedBy: "quality-manager",
|
||
approvedDate: new Date("2024-12-03"),
|
||
},
|
||
];
|