菜单按钮权限设置-后台可以设置新增的按钮权限
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<div class="card-header">
|
||||
<span>{{ $t('page.toolbar.gameRewardConfig') }}</span>
|
||||
<ElButton
|
||||
v-permission="'dice:reward_config:index:update'"
|
||||
v-permission="'dice:reward_config:index:createRewardReference'"
|
||||
type="warning"
|
||||
:loading="createRewardLoading"
|
||||
@click="handleCreateRewardReference"
|
||||
@@ -91,7 +91,11 @@
|
||||
</ElTable>
|
||||
</div>
|
||||
<div class="tab-footer">
|
||||
<ElButton type="primary" :loading="savingIndex" @click="handleSaveIndex"
|
||||
<ElButton
|
||||
v-permission="'dice:reward_config:index:batchUpdate'"
|
||||
type="primary"
|
||||
:loading="savingIndex"
|
||||
@click="handleSaveIndex"
|
||||
>保存</ElButton
|
||||
>
|
||||
<ElButton @click="handleResetIndex">重置</ElButton>
|
||||
@@ -174,7 +178,11 @@
|
||||
暂无 BIGWIN 档位配置,请在「奖励索引」中设置 tier 为 BIGWIN。
|
||||
</div>
|
||||
<div class="tab-footer">
|
||||
<ElButton type="primary" :loading="savingBigwin" @click="handleSaveBigwin"
|
||||
<ElButton
|
||||
v-permission="'dice:reward_config:index:saveBigwinWeightsByGrid'"
|
||||
type="primary"
|
||||
:loading="savingBigwin"
|
||||
@click="handleSaveBigwin"
|
||||
>保存</ElButton
|
||||
>
|
||||
<ElButton @click="handleResetBigwin">重置</ElButton>
|
||||
|
||||
@@ -136,7 +136,12 @@
|
||||
</el-tabs>
|
||||
<template #footer>
|
||||
<el-button @click="handleClose">取消</el-button>
|
||||
<el-button type="primary" :loading="submitting" @click="handleSubmit">提交</el-button>
|
||||
<el-button
|
||||
v-permission="'dice:reward_config:index:batchUpdateWeights'"
|
||||
type="primary"
|
||||
:loading="submitting"
|
||||
@click="handleSubmit"
|
||||
>提交</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user