Update bas_vk_tab.html
Browse files- bas_vk_tab.html +30 -23
bas_vk_tab.html
CHANGED
|
@@ -367,29 +367,36 @@ button:hover, #filter-clear:hover, #download-json:hover, #take-for-yourself:hove
|
|
| 367 |
}},
|
| 368 |
{title:"Прогрес по воронке", field:"fin_prog", formatter:"progress", formatterParams:{color:["#ff0000", "orange", "#00dd00"]}, sorter:"number", width:100},
|
| 369 |
{title:"Бонусы", field:"pr1"},
|
| 370 |
-
|
| 371 |
-
|
| 372 |
-
|
| 373 |
-
|
| 374 |
-
|
| 375 |
-
|
| 376 |
-
|
| 377 |
-
|
| 378 |
-
|
| 379 |
-
|
| 380 |
-
|
| 381 |
-
|
| 382 |
-
|
| 383 |
-
|
| 384 |
-
|
| 385 |
-
|
| 386 |
-
|
| 387 |
-
|
| 388 |
-
|
| 389 |
-
|
| 390 |
-
|
| 391 |
-
|
| 392 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 393 |
{title:"Доступы", field:"pr3"},
|
| 394 |
{title:"Канал трафика", field:"canal"},
|
| 395 |
{title:"Ключ PR", field:"key_pr"},
|
|
|
|
| 367 |
}},
|
| 368 |
{title:"Прогрес по воронке", field:"fin_prog", formatter:"progress", formatterParams:{color:["#ff0000", "orange", "#00dd00"]}, sorter:"number", width:100},
|
| 369 |
{title:"Бонусы", field:"pr1"},
|
| 370 |
+
{
|
| 371 |
+
title: "Опросы",
|
| 372 |
+
field: "pr2",
|
| 373 |
+
cellClick: function(e, cell) {
|
| 374 |
+
var data = cell.getData();
|
| 375 |
+
const notyf = new Notyf({
|
| 376 |
+
duration: 5000,
|
| 377 |
+
position: {
|
| 378 |
+
x: 'right',
|
| 379 |
+
y: 'top',
|
| 380 |
+
},
|
| 381 |
+
types: [
|
| 382 |
+
{
|
| 383 |
+
type: 'warning',
|
| 384 |
+
duration: 10000,
|
| 385 |
+
message: 'Опросы: ' + data.pr2,
|
| 386 |
+
icon: {
|
| 387 |
+
className: 'fas fa-exclamation-triangle', // Класс иконки FontAwesome
|
| 388 |
+
tagName: 'i',
|
| 389 |
+
text: ''
|
| 390 |
+
}
|
| 391 |
+
}
|
| 392 |
+
]
|
| 393 |
+
});
|
| 394 |
+
notyf.open({
|
| 395 |
+
type: 'warning',
|
| 396 |
+
message: 'Опросы: ' + data.pr2
|
| 397 |
+
});
|
| 398 |
+
}
|
| 399 |
+
}
|
| 400 |
{title:"Доступы", field:"pr3"},
|
| 401 |
{title:"Канал трафика", field:"canal"},
|
| 402 |
{title:"Ключ PR", field:"key_pr"},
|