Update data_gc_tab.html
Browse files- data_gc_tab.html +19 -15
data_gc_tab.html
CHANGED
|
@@ -272,21 +272,25 @@
|
|
| 272 |
}, width:120},
|
| 273 |
{title:"Город", field:"b_city", width:110},
|
| 274 |
{title:"Email", field:"email", width:110},
|
| 275 |
-
|
| 276 |
-
|
| 277 |
-
|
| 278 |
-
|
| 279 |
-
|
| 280 |
-
|
| 281 |
-
|
| 282 |
-
|
| 283 |
-
|
| 284 |
-
|
| 285 |
-
|
| 286 |
-
|
| 287 |
-
|
| 288 |
-
|
| 289 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 290 |
{title:"Куратор", field:"curator", formatter: linkFormatter},
|
| 291 |
{title:"Статус покупки", field:"shop_st", formatter: function(cell, formatterParams, onRendered) {
|
| 292 |
var status = cell.getValue();
|
|
|
|
| 272 |
}, width:120},
|
| 273 |
{title:"Город", field:"b_city", width:110},
|
| 274 |
{title:"Email", field:"email", width:110},
|
| 275 |
+
{title:"Реплики", field:"b_mess", width:95, cellClick:function(e, cell){
|
| 276 |
+
var data = cell.getData();
|
| 277 |
+
Swal.fire({
|
| 278 |
+
title: 'Детали пользователя',
|
| 279 |
+
html: `
|
| 280 |
+
<strong>Имя:</strong> ${data.name}<br>
|
| 281 |
+
<strong>WhatsApp:</strong> <a href="https://web.whatsapp.com/send?phone=${data.phone}" target="_blank">${data.phone}</a><br>
|
| 282 |
+
<strong>Реплики:</strong> ${data.b_mess}
|
| 283 |
+
`,
|
| 284 |
+
icon: 'success',
|
| 285 |
+
confirmButtonText: 'Закрыть',
|
| 286 |
+
confirmButtonColor: '#4CAF50',
|
| 287 |
+
customClass: {
|
| 288 |
+
confirmButton: 'button is-success',
|
| 289 |
+
title: 'title-custom',
|
| 290 |
+
content: 'content-custom'
|
| 291 |
+
}
|
| 292 |
+
});
|
| 293 |
+
}},
|
| 294 |
{title:"Куратор", field:"curator", formatter: linkFormatter},
|
| 295 |
{title:"Статус покупки", field:"shop_st", formatter: function(cell, formatterParams, onRendered) {
|
| 296 |
var status = cell.getValue();
|