所有页面-创建中英双语对照-优化翻译文档结构
This commit is contained in:
@@ -150,70 +150,70 @@
|
||||
apiFn: api.list,
|
||||
columnsFactory: () => [
|
||||
{ type: 'selection' },
|
||||
{ prop: 'username', label: 'table.columns.system.username', align: 'center' },
|
||||
{ prop: 'phone', label: 'table.columns.system.phone', align: 'center' },
|
||||
{ prop: 'name', label: 'table.columns.dice.nickname', align: 'center' },
|
||||
{ prop: 'username', label: 'page.table.username', align: 'center' },
|
||||
{ prop: 'phone', label: 'page.table.phone', align: 'center' },
|
||||
{ prop: 'name', label: 'page.table.nickname', align: 'center' },
|
||||
{
|
||||
prop: 'status',
|
||||
label: 'table.columns.common.status',
|
||||
label: 'page.table.status',
|
||||
width: 88,
|
||||
align: 'center',
|
||||
useSlot: true
|
||||
},
|
||||
{
|
||||
prop: 'coin',
|
||||
label: 'table.columns.dice.coin',
|
||||
label: 'page.table.coin',
|
||||
width: 100,
|
||||
align: 'center',
|
||||
useSlot: true
|
||||
},
|
||||
{
|
||||
prop: 'lottery_config_id',
|
||||
label: 'table.columns.dice.lotteryPoolConfig',
|
||||
label: 'page.table.lotteryPoolConfig',
|
||||
width: 120,
|
||||
align: 'center',
|
||||
formatter: (row: any) => lotteryConfigNameFormatter(row)
|
||||
},
|
||||
{
|
||||
prop: 't1_weight',
|
||||
label: 'table.columns.dice.t1Weight',
|
||||
label: 'page.table.t1Weight',
|
||||
width: 80,
|
||||
align: 'center',
|
||||
formatter: weightFormatter('t1_weight')
|
||||
},
|
||||
{
|
||||
prop: 't2_weight',
|
||||
label: 'table.columns.dice.t2Weight',
|
||||
label: 'page.table.t2Weight',
|
||||
width: 100,
|
||||
align: 'center',
|
||||
formatter: weightFormatter('t2_weight')
|
||||
},
|
||||
{
|
||||
prop: 't3_weight',
|
||||
label: 'table.columns.dice.t3Weight',
|
||||
label: 'page.table.t3Weight',
|
||||
width: 100,
|
||||
align: 'center',
|
||||
formatter: weightFormatter('t3_weight')
|
||||
},
|
||||
{
|
||||
prop: 't4_weight',
|
||||
label: 'table.columns.dice.t4Weight',
|
||||
label: 'page.table.t4Weight',
|
||||
width: 100,
|
||||
align: 'center',
|
||||
formatter: weightFormatter('t4_weight')
|
||||
},
|
||||
{
|
||||
prop: 't5_weight',
|
||||
label: 'table.columns.dice.t5Weight',
|
||||
label: 'page.table.t5Weight',
|
||||
width: 100,
|
||||
align: 'center',
|
||||
formatter: weightFormatter('t5_weight')
|
||||
},
|
||||
{ prop: 'total_ticket_count', label: 'table.columns.dice.totalDrawCount', align: 'center' },
|
||||
{ prop: 'paid_ticket_count', label: 'table.columns.dice.paidDrawCount', align: 'center' },
|
||||
{ prop: 'free_ticket_count', label: 'table.columns.dice.freeDrawCount', align: 'center' },
|
||||
{ prop: 'create_time', label: 'table.columns.common.createTime', align: 'center' },
|
||||
{ prop: 'update_time', label: 'table.columns.common.updateTime', align: 'center' },
|
||||
{ prop: 'total_ticket_count', label: 'page.table.totalDrawCount', align: 'center' },
|
||||
{ prop: 'paid_ticket_count', label: 'page.table.paidDrawCount', align: 'center' },
|
||||
{ prop: 'free_ticket_count', label: 'page.table.freeDrawCount', align: 'center' },
|
||||
{ prop: 'create_time', label: 'page.table.createTime', align: 'center' },
|
||||
{ prop: 'update_time', label: 'page.table.updateTime', align: 'center' },
|
||||
{
|
||||
prop: 'operation',
|
||||
label: 'table.actions.operation',
|
||||
|
||||
@@ -9,22 +9,22 @@
|
||||
@expand="handleExpand"
|
||||
>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.system.username')" prop="username">
|
||||
<el-input v-model="formData.username" :placeholder="$t('table.searchBar.placeholderUsername')" clearable />
|
||||
<el-form-item :label="$t('page.search.username')" prop="username">
|
||||
<el-input v-model="formData.username" :placeholder="$t('page.search.placeholderUsername')" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.dice.nickname')" prop="name">
|
||||
<el-input v-model="formData.name" :placeholder="$t('table.searchBar.placeholderNickname')" clearable />
|
||||
<el-form-item :label="$t('page.search.nickname')" prop="name">
|
||||
<el-input v-model="formData.name" :placeholder="$t('page.search.placeholderNickname')" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.system.phone')" prop="phone">
|
||||
<el-input v-model="formData.phone" :placeholder="$t('table.searchBar.placeholderPhoneFuzzy')" clearable />
|
||||
<el-form-item :label="$t('page.search.phone')" prop="phone">
|
||||
<el-input v-model="formData.phone" :placeholder="$t('page.search.placeholderPhoneFuzzy')" clearable />
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.common.status')" prop="status">
|
||||
<el-form-item :label="$t('page.search.status')" prop="status">
|
||||
<el-select v-model="formData.status" :placeholder="$t('table.searchBar.all')" clearable style="width: 100%">
|
||||
<el-option :label="$t('table.searchBar.enable')" :value="1" />
|
||||
<el-option :label="$t('table.searchBar.disable')" :value="0" />
|
||||
@@ -32,22 +32,22 @@
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.dice.coin')" prop="coin">
|
||||
<el-form-item :label="$t('page.search.coin')" prop="coin">
|
||||
<el-input-number
|
||||
v-model="formData.coin"
|
||||
:min="0"
|
||||
:precision="2"
|
||||
:placeholder="$t('table.searchBar.exactSearch')"
|
||||
:placeholder="$t('page.search.exactSearch')"
|
||||
controls-position="right"
|
||||
style="width: 100%"
|
||||
/>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col v-bind="setSpan(6)">
|
||||
<el-form-item :label="$t('table.columns.dice.lotteryPoolConfig')" prop="lottery_config_id">
|
||||
<el-form-item :label="$t('page.search.lotteryPoolConfig')" prop="lottery_config_id">
|
||||
<el-select
|
||||
v-model="formData.lottery_config_id"
|
||||
:placeholder="$t('table.searchBar.all')"
|
||||
:placeholder="$t('page.search.placeholderAll')"
|
||||
clearable
|
||||
style="width: 100%"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user