优化玩游戏中奖权重逻辑
This commit is contained in:
@@ -8,27 +8,14 @@
|
||||
<ArtTableHeader v-model:columns="columnChecks" :loading="loading" @refresh="refreshData">
|
||||
<template #left>
|
||||
<ElSpace wrap>
|
||||
<!-- <ElButton-->
|
||||
<!-- v-permission="'dice:reward_config:index:save'"-->
|
||||
<!-- @click="showDialog('add')"-->
|
||||
<!-- v-ripple-->
|
||||
<!-- >-->
|
||||
<!-- <template #icon>-->
|
||||
<!-- <ArtSvgIcon icon="ri:add-fill" />-->
|
||||
<!-- </template>-->
|
||||
<!-- 新增-->
|
||||
<!-- </ElButton>-->
|
||||
<!-- <ElButton-->
|
||||
<!-- v-permission="'dice:reward_config:index:destroy'"-->
|
||||
<!-- :disabled="selectedRows.length === 0"-->
|
||||
<!-- @click="deleteSelectedRows(api.delete, refreshData)"-->
|
||||
<!-- v-ripple-->
|
||||
<!-- >-->
|
||||
<!-- <template #icon>-->
|
||||
<!-- <ArtSvgIcon icon="ri:delete-bin-5-line" />-->
|
||||
<!-- </template>-->
|
||||
<!-- 删除-->
|
||||
<!-- </ElButton>-->
|
||||
<ElButton
|
||||
v-permission="'dice:reward_config:index:update'"
|
||||
type="primary"
|
||||
@click="weightRatioVisible = true"
|
||||
v-ripple
|
||||
>
|
||||
T1-T5 与 BIGWIN 权重配比
|
||||
</ElButton>
|
||||
</ElSpace>
|
||||
</template>
|
||||
</ArtTableHeader>
|
||||
@@ -71,6 +58,8 @@
|
||||
:data="dialogData"
|
||||
@success="refreshData"
|
||||
/>
|
||||
<!-- T1-T5、BIGWIN 权重配比弹窗 -->
|
||||
<WeightRatioDialog v-model="weightRatioVisible" @success="refreshData" />
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -80,6 +69,9 @@
|
||||
import api from '../../api/reward_config/index'
|
||||
import TableSearch from './modules/table-search.vue'
|
||||
import EditDialog from './modules/edit-dialog.vue'
|
||||
import WeightRatioDialog from './modules/weight-ratio-dialog.vue'
|
||||
|
||||
const weightRatioVisible = ref(false)
|
||||
|
||||
// 搜索表单
|
||||
const searchForm = ref<Record<string, unknown>>({
|
||||
|
||||
Reference in New Issue
Block a user