DmitrMakeev
commited on
Commit
•
5420cbc
1
Parent(s):
ba0d314
Update bas_vk_tab.html
Browse files- 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 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
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"},
|