feat: address
This commit is contained in:
@@ -573,9 +573,17 @@ layui.use(['table', 'form', 'laypage', 'layer'], function () {
|
||||
{ field: 'eth', title: 'ETH', width: 90 },
|
||||
{ field: 'btc', title: 'BTC', width: 100 },
|
||||
{ field: 'bnb', title: 'BNB', width: 90 },
|
||||
{ field: 'monitor', title: '监听', width: 70, templet: function (d) {
|
||||
{ field: 'monitor', title: '监听开关', width: 80, templet: function (d) {
|
||||
return Number(d.monitor) === 1 ? '开' : '关';
|
||||
} },
|
||||
{ field: 'monitor_synced', title: '已同步', width: 80, templet: function (d) {
|
||||
if (Number(d.monitor) !== 1) { return '—'; }
|
||||
return d.monitor_synced ? '是' : '否';
|
||||
} },
|
||||
{ field: 'monitor_failures', title: '失败', width: 70, templet: function (d) {
|
||||
if (Number(d.monitor) !== 1 || d.monitor_synced) { return '—'; }
|
||||
return Number(d.monitor_failures) || 0;
|
||||
} },
|
||||
{ field: 'updated_at', title: '更新时间', width: 170, sort: true, templet: function (d) { return dash(d.updated_at); } }
|
||||
]],
|
||||
mnemonics: [[
|
||||
|
||||
Reference in New Issue
Block a user