Update data_gc_tab.html
Browse files- data_gc_tab.html +19 -15
data_gc_tab.html
CHANGED
|
@@ -291,21 +291,25 @@ return link + `<img src="${imageUrl3}" alt="WhatsApp" style="width: 98px; height
|
|
| 291 |
|
| 292 |
{title:"Город", field:"b_city", width:95},
|
| 293 |
{title:"Email", field:"email", width:95},
|
| 294 |
-
|
| 295 |
-
|
| 296 |
-
|
| 297 |
-
|
| 298 |
-
|
| 299 |
-
|
| 300 |
-
|
| 301 |
-
|
| 302 |
-
|
| 303 |
-
|
| 304 |
-
|
| 305 |
-
|
| 306 |
-
|
| 307 |
-
|
| 308 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 309 |
|
| 310 |
{title:"Куратор", field:"curator", formatter: linkFormatter},
|
| 311 |
{title:"Статус покупки", field:"shop_st", formatter: function(cell, formatterParams, onRendered) {
|
|
|
|
| 291 |
|
| 292 |
{title:"Город", field:"b_city", width:95},
|
| 293 |
{title:"Email", field:"email", width:95},
|
| 294 |
+
{title:"Реплики", field:"b_mess", width:95, cellClick:function(e, cell){
|
| 295 |
+
var data = cell.getData();
|
| 296 |
+
Swal.fire({
|
| 297 |
+
title: 'Детали пользователя',
|
| 298 |
+
html: `
|
| 299 |
+
<strong>Имя:</strong> ${data.name}<br>
|
| 300 |
+
<strong>WhatsApp:</strong> <a href="https://web.whatsapp.com/send?phone=${data.phone}" target="_blank">${data.phone}</a><br>
|
| 301 |
+
<strong>Реплики:</strong> ${data.b_mess}
|
| 302 |
+
`,
|
| 303 |
+
icon: 'success',
|
| 304 |
+
confirmButtonText: 'Закрыть',
|
| 305 |
+
confirmButtonColor: '#4CAF50',
|
| 306 |
+
customClass: {
|
| 307 |
+
confirmButton: 'button is-success',
|
| 308 |
+
title: 'title-custom',
|
| 309 |
+
content: 'content-custom'
|
| 310 |
+
}
|
| 311 |
+
});
|
| 312 |
+
}},
|
| 313 |
|
| 314 |
{title:"Куратор", field:"curator", formatter: linkFormatter},
|
| 315 |
{title:"Статус покупки", field:"shop_st", formatter: function(cell, formatterParams, onRendered) {
|