钱包修改

This commit is contained in:
2026-04-17 11:53:19 +08:00
parent 7f3a7c34f0
commit ad74accfcc
10 changed files with 136 additions and 24 deletions

View File

@@ -5,4 +5,11 @@ export default {
'Please enter the change amount of points': '请输入积分变更数额',
'Points after change': '变更后积分',
'Please enter change remarks / description': '请输入变更备注/说明',
'Game type' : '游戏',
'game_type': {
1001 : 'Lucky Wheel',
1002 : 'Golden Eggs',
1003 : 'Daily Mission',
1004 : 'Plinko Ball'
}
}

View File

@@ -47,4 +47,5 @@ export default {
'Expand generic search': 'Expand Universal Search',
'Link address': 'Link address',
'No route found to jump~': 'Failed to find a jump route.',
'Members Promotion':'Members Promotion',
}

View File

@@ -48,4 +48,5 @@ export default {
'Expand generic search': '展开公共搜索',
'Link address': '链接地址',
'No route found to jump~': '没有找到可以跳转的路由~',
'Members Promotion':'玩家钱包',
}

View File

@@ -4,7 +4,7 @@
<!-- 表格顶部菜单 -->
<TableHeader
:buttons="['refresh', 'add', 'comSearch', 'quickSearch', 'columnDisplay']"
:buttons="['refresh', 'comSearch', 'quickSearch', 'columnDisplay']"
:quick-search-placeholder="
t('Quick search placeholder', { fields: t('user.moneyLog.User name') + '/' + t('user.moneyLog.User nickname') })
"
@@ -41,7 +41,7 @@ defineOptions({
name: 'user/scoreLog',
})
const { t } = useI18n()
const { t,tm } = useI18n()
const route = useRoute()
const defalutUser = (route.query.user_id ?? '') as string
const state = reactive({
@@ -63,6 +63,15 @@ const baTable = new baTableClass(
operator: 'LIKE',
operatorPlaceholder: t('Fuzzy query'),
},
{
label: t('user.scoreLog.Game type'),
prop: 'game_type',
align: 'center',
operator: 'eq',
sortable: false,
render: 'tag',
replaceValue: { ...tm('user.scoreLog.game_type') },
},
{ label: t('user.scoreLog.Change points'), prop: 'score', align: 'center', operator: 'RANGE', sortable: 'custom' },
{ label: t('user.moneyLog.Before change'), prop: 'before', align: 'center', operator: 'RANGE', sortable: 'custom' },
{ label: t('user.moneyLog.After change'), prop: 'after', align: 'center', operator: 'RANGE', sortable: 'custom' },

View File

@@ -49,7 +49,7 @@ const optButtons: OptButton[] = [
title: 'Members Promotion',
text: '',
type: 'primary',
icon: 'el-icon-EditPen',
icon: 'el-icon-Wallet',
class: 'table-row-custom',
disabledTip: false,
loading: (row: TableRow) => walletLoadingId.value === row.id,