feat: address

This commit is contained in:
hashbro
2026-09-12 18:14:03 +08:00
parent f15df77828
commit 0996d4e563
14 changed files with 350 additions and 30 deletions
+9 -1
View File
@@ -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: [[