feat:转账权限

This commit is contained in:
dzc committed 2025-04-01 19:45:10 +08:00
1 parent 908772519d
commit 438bfba46a
2 files changed
+8 -4

No files matched your search

+6 -2
View File
@@ -109,7 +109,11 @@
label="操作"
fixed="right"
width="250"
v-auths="['wallet_walletManage_edit', 'wallet_walletTransaction_update_balance']"
v-auths="[
'wallet_walletManage_edit',
'wallet_walletTransaction_update_balance',
'wallet_walletRuleTransaction_transfer_accounts',
]"
>
<template #default="{ row }">
<div class="flex items-start">
@@ -134,7 +138,7 @@
icon="SwitchFilled"
text
type="primary"
v-auth="'wallet_walletTransaction_update_balance'"
v-auth="'wallet_walletRuleTransaction_transfer_accounts'"
@click="doTransferAccounts(row)"
>
转账
@@ -118,14 +118,14 @@
<el-table-column prop="refundTime" width="170" label="退回时间" />
</el-table-column>
<el-table-column prop="createTime" width="170" label="创建时间" />
<el-table-column label="操作" fixed="right" width="80">
<el-table-column label="操作" fixed="right" width="80" v-auths="['wallet_walletRuleTransaction_refund']">
<template #default="{ row }">
<el-button
v-if="row.isRefund == '0'"
icon="RefreshRight"
text
type="primary"
v-auth="'wallet_walletRuleTransaction_edit'"
v-auth="'wallet_walletRuleTransaction_refund'"
@click="doRefund(row)"
>
退回