首页修改,转账记录修改

This commit is contained in:
2026-06-04 14:26:24 +08:00
parent 3ccbc9cc3b
commit 6ac618bc0a
5 changed files with 64 additions and 10 deletions

View File

@@ -19,6 +19,8 @@ export default {
'type_list': {
1 : 'Deposit',
2 : 'Withdraw',
3 : 'IN',
4 : 'OUT',
},
'Game Ticket' : 'Game Ticket',
'game_type': {

View File

@@ -19,6 +19,8 @@ export default {
'type_list': {
1 : '存款',
2 : '取款',
3 : '转入',
4 : '转出',
},
'Game Ticket' : '游戏门票',
'game_type': {

View File

@@ -4,7 +4,7 @@
<!-- 表格顶部菜单 -->
<TableHeader
:buttons="['refresh', 'add', 'comSearch', 'quickSearch', 'columnDisplay']"
:buttons="['refresh', 'add', 'delete', 'comSearch', 'quickSearch', 'columnDisplay']"
:quick-search-placeholder="
t('Quick search placeholder', { fields: t('user.moneyLog.User name') + '/' + t('user.moneyLog.User nickname') })
"
@@ -97,6 +97,8 @@ const baTable = new baTableClass(
custom: {
'1': 'success',
'2': 'danger',
'3': 'success',
'4': 'danger',
},
replaceValue: { ...tm('user.moneyLog.type_list') },
},
@@ -109,7 +111,7 @@ const baTable = new baTableClass(
showOverflowTooltip: true,
},
{ label: t('Create time'), prop: 'create_time', align: 'center', render: 'datetime', sortable: 'custom', operator: 'RANGE', width: 160 },
{ label: t('Operate'), align: 'center', width: '60', render: 'buttons', buttons: defaultOptButtons(['edit']) },
{ label: t('Operate'), align: 'center', width: '100', render: 'buttons', buttons: defaultOptButtons(['edit', 'delete']) },
],
dblClickNotEditColumn: ['all'],
},