DmitrMakeev commited on
Commit
5420cbc
1 Parent(s): ba0d314

Update bas_vk_tab.html

Browse files
Files changed (1) hide show
  1. bas_vk_tab.html +20 -30
bas_vk_tab.html CHANGED
@@ -367,36 +367,26 @@ 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
- 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"},
 
367
  }},
368
  {title:"Прогрес по воронке", field:"fin_prog", formatter:"progress", formatterParams:{color:["#ff0000", "orange", "#00dd00"]}, sorter:"number", width:100},
369
  {title:"Бонусы", field:"pr1"},
370
+ {title:"Опросы", field:"pr2", cellClick:function(e, cell){
371
+ var data = cell.getData();
372
+ const notyf = new Notyf({
373
+ duration: 5000,
374
+ position: {
375
+ x: 'right',
376
+ y: 'top',
377
+ },
378
+ types: [
379
+ {
380
+ duration: 10000,
381
+ message: 'Опросы: ' + data.pr2,
382
+ }
383
+ ]
384
+ });
385
+ notyf.open({
386
+ type: 'warning',
387
+ message: 'Опросы: ' + data.pr2
388
+ });
389
+ }},
 
 
 
 
 
 
 
 
 
 
390
  {title:"Доступы", field:"pr3"},
391
  {title:"Канал трафика", field:"canal"},
392
  {title:"Ключ PR", field:"key_pr"},