Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
405 lines (349 loc) · 16.2 KB
/
Copy pathindex.html
File metadata and controls
405 lines (349 loc) · 16.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Формула оценки эффективности Customer Care</title>
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
<style>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
background-color: #f5f7f9;
color: #333;
line-height: 1.6;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 20px;
}
header {
text-align: center;
margin-bottom: 40px;
padding: 20px;
background: linear-gradient(135deg, #2c3e50, #4a6491);
color: white;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 2.5rem;
margin-bottom: 15px;
}
h2 {
font-size: 1.8rem;
margin: 25px 0 15px;
color: #2c3e50;
border-bottom: 2px solid #4a6491;
padding-bottom: 8px;
}
h3 {
font-size: 1.4rem;
margin: 20px 0 10px;
color: #3498db;
}
p {
margin-bottom: 15px;
font-size: 1.1rem;
}
.formula-container {
background-color: white;
padding: 25px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
margin-bottom: 30px;
}
.formula {
font-size: 1.6rem;
text-align: center;
padding: 20px;
background-color: #f8f9fa;
border-left: 5px solid #3498db;
margin: 20px 0;
overflow-x: auto;
}
.components {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.component {
background: white;
padding: 20px;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.component h3 {
display: flex;
align-items: center;
}
.component-icon {
font-size: 1.8rem;
margin-right: 10px;
}
.calculator {
background-color: white;
padding: 25px;
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
margin-bottom: 30px;
}
.input-group {
display: flex;
flex-direction: column;
margin-bottom: 15px;
}
.input-group label {
margin-bottom: 8px;
font-weight: 600;
color: #2c3e50;
}
.input-group input {
padding: 12px;
border: 1px solid #ddd;
border-radius: 5px;
font-size: 1rem;
}
.weights {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 15px;
margin-bottom: 20px;
}
button {
background: linear-gradient(135deg, #3498db, #2c3e50);
color: white;
border: none;
padding: 12px 25px;
border-radius: 5px;
cursor: pointer;
font-size: 1.1rem;
font-weight: 600;
margin-top: 15px;
transition: all 0.3s ease;
}
button:hover {
transform: translateY(-2px);
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.result {
margin-top: 30px;
padding: 20px;
background: linear-gradient(135deg, #2c3e50, #4a6491);
color: white;
border-radius: 10px;
text-align: center;
}
.result-value {
font-size: 2.5rem;
font-weight: bold;
margin: 15px 0;
}
.interpretation {
margin-top: 20px;
font-size: 1.1rem;
}
.chart-container {
height: 400px;
margin-top: 30px;
}
footer {
text-align: center;
margin-top: 50px;
padding: 20px;
color: #7f8c8d;
}
@media (max-width: 768px) {
.components {
grid-template-columns: 1fr;
}
h1 {
font-size: 2rem;
}
.formula {
font-size: 1.2rem;
}
}
</style>
</head>
<body>
<div class="container">
<header>
<h1>Формула оценки эффективности Customer Care</h1>
<p>Комплексный подход к измерению качества работы подразделения заботы о клиентах</p>
</header>
<div class="formula-container">
<h2>Формула CCEI (Customer Care Effectiveness Index)</h2>
<div class="formula">
CCEI = (W₁ × Quality_Score) + (W₂ × Efficiency_Score) + (W₃ × Business_Score) + (W₄ × Team_Score)
</div>
<p>Где W₁, W₂, W₃, W₄ — весовые коэффициенты, отражающие приоритеты компании (в сумме дают 1).</p>
</div>
<h2>Компоненты формулы</h2>
<div class="components">
<div class="component">
<h3><span class="component-icon">⭐</span> Quality Score</h3>
<p>Оценивает качество обслуживания клиентов. Рассчитывается как:</p>
<p><strong>(CSAT × 0.5) + (CES × 0.3) + (FCR × 0.2)</strong></p>
<p>CSAT — удовлетворенность клиентов, CES — простота решения проблемы, FCR — решение с первого обращения.</p>
</div>
<div class="component">
<h3><span class="component-icon">⚡</span> Efficiency Score</h3>
<p>Оценивает операционную эффективность. Рассчитывается как:</p>
<p><strong>(Target_FRT / Avg_FRT × 0.4) + (Target_AHT / Avg_AHT × 0.3) + (Target_Resolution_Time / Avg_Resolution_Time × 0.3) × 100</strong></p>
<p>FRT — время первого ответа, AHT — время обработки обращения.</p>
</div>
<div class="component">
<h3><span class="component-icon">📈</span> Business Score</h3>
<p>Оценивает влияние на бизнес-показатели. Рассчитывается как:</p>
<p><strong>(Retention_Rate_Influence × 0.5) + (Feedback_Quality_Score × 0.5)</strong></p>
<p>Учитывает удержание клиентов и ценность обратной связи для продукта.</p>
</div>
<div class="component">
<h3><span class="component-icon">👥</span> Team Score</h3>
<p>Оценивает состояние команды. Рассчитывается как:</p>
<p><strong>(eNPS × 0.6) + (1 - Turnover_Rate) × 100 × 0.4</strong></p>
<p>eNPS — лояльность сотрудников, Turnover_Rate — текучесть кадров.</p>
</div>
</div>
<div class="calculator">
<h2>Калькулятор CCEI</h2>
<p>Введите значения для расчета индекса эффективности вашего подразделения:</p>
<div class="weights">
<div class="input-group">
<label for="w1">Вес Quality Score (W₁)</label>
<input type="number" id="w1" min="0" max="1" step="0.05" value="0.4">
</div>
<div class="input-group">
<label for="w2">Вес Efficiency Score (W₂)</label>
<input type="number" id="w2" min="0" max="1" step="0.05" value="0.25">
</div>
<div class="input-group">
<label for="w3">Вес Business Score (W₃)</label>
<input type="number" id="w3" min="0" max="1" step="0.05" value="0.25">
</div>
<div class="input-group">
<label for="w4">Вес Team Score (W₄)</label>
<input type="number" id="w4" min="0" max="1" step="0.05" value="0.1">
</div>
</div>
<div class="weights">
<div class="input-group">
<label for="quality">Quality Score (0-100)</label>
<input type="number" id="quality" min="0" max="100" value="85.5">
</div>
<div class="input-group">
<label for="efficiency">Efficiency Score (0-100)</label>
<input type="number" id="efficiency" min="0" max="100" value="114.1">
</div>
<div class="input-group">
<label for="business">Business Score (0-100)</label>
<input type="number" id="business" min="0" max="100" value="95">
</div>
<div class="input-group">
<label for="team">Team Score (0-100)</label>
<input type="number" id="team" min="0" max="100" value="66">
</div>
</div>
<button id="calculate">Рассчитать CCEI</button>
<div class="result">
<h3>Результат</h3>
<div class="result-value" id="result-value">93.1</div>
<div class="interpretation" id="interpretation">
Общий индекс эффективности поддержки составляет 93.1 из 100 возможных.
Это отличный результат! Обратите внимание на показатель команды — есть возможности для улучшения.
</div>
</div>
<div class="chart-container">
<canvas id="scoreChart"></canvas>
</div>
</div>
<footer>
<p>Формула оценки эффективности Customer Care</p>
<p>Данный инструмент предназначен для оценки и улучшения работы подразделения заботы о клиентах</p>
</footer>
</div>
<script>
document.addEventListener('DOMContentLoaded', function() {
const calculateButton = document.getElementById('calculate');
calculateButton.addEventListener('click', calculateCCEI);
// Инициализация графика
const ctx = document.getElementById('scoreChart').getContext('2d');
const chart = new Chart(ctx, {
type: 'radar',
data: {
labels: ['Качество', 'Эффективность', 'Бизнес-воздействие', 'Команда', 'Общий результат'],
datasets: [{
label: 'Текущие показатели',
data: [85.5, 114.1, 95, 66, 93.1],
backgroundColor: 'rgba(52, 152, 219, 0.2)',
borderColor: 'rgba(52, 152, 219, 1)',
pointBackgroundColor: 'rgba(52, 152, 219, 1)',
pointBorderColor: '#fff',
pointHoverBackgroundColor: '#fff',
pointHoverBorderColor: 'rgba(52, 152, 219, 1)'
}]
},
options: {
scales: {
r: {
angleLines: {
display: true
},
suggestedMin: 0,
suggestedMax: 100
}
}
}
});
function calculateCCEI() {
// Получаем значения весов
const w1 = parseFloat(document.getElementById('w1').value);
const w2 = parseFloat(document.getElementById('w2').value);
const w3 = parseFloat(document.getElementById('w3').value);
const w4 = parseFloat(document.getElementById('w4').value);
// Проверяем сумму весов
const totalWeight = w1 + w2 + w3 + w4;
if (Math.abs(totalWeight - 1.0) > 0.01) {
alert(`Сумма весов должна равняться 1.0. Текущая сумма: ${totalWeight.toFixed(2)}`);
return;
}
// Получаем значения компонентов
const quality = parseFloat(document.getElementById('quality').value);
const efficiency = parseFloat(document.getElementById('efficiency').value);
const business = parseFloat(document.getElementById('business').value);
const team = parseFloat(document.getElementById('team').value);
// Вычисляем CCEI
const ccei = (w1 * quality) + (w2 * efficiency) + (w3 * business) + (w4 * team);
// Обновляем результат
document.getElementById('result-value').textContent = ccei.toFixed(1);
// Обновляем интерпретацию
let interpretation = '';
if (ccei >= 90) {
interpretation = `Общий индекс эффективности поддержки составляет ${ccei.toFixed(1)} из 100 возможных.
Это отличный результат! Продолжайте в том же духе.`;
} else if (ccei >= 70) {
interpretation = `Общий индекс эффективности поддержки составляет ${ccei.toFixed(1)} из 100 возможных.
Это хороший результат, но есть возможности для улучшения. Проанализируйте показатели каждого компонента.`;
} else {
interpretation = `Общий индекс эффективности поддержки составляет ${ccei.toFixed(1)} из 100 возможных.
Есть значительные возможности для улучшения. Рекомендуется детальный анализ всех компонентов формулы.`;
}
document.getElementById('interpretation').textContent = interpretation;
// Обновляем график
chart.data.datasets[0].data = [quality, efficiency, business, team, ccei];
chart.update();
}
// Первоначальный расчет
calculateCCEI();
});
</script>
</body>
</html>