|
|
|
@ -228,12 +228,12 @@ const hasrechargeWaitReject = ref(false) // 充值审核驳回 |
|
|
|
// 初始化权限状态 |
|
|
|
const initPermissions = async() => { |
|
|
|
if (!menuTree.value || !menuTree.value.length) return; |
|
|
|
hasrechargeThrough.value = hasMenuPermission(menuTree.value, permissionMapping.rechargeThrough); |
|
|
|
hasrechargeReject.value = hasMenuPermission(menuTree.value, permissionMapping.rechargeReject); |
|
|
|
hasrechargeWait.value = hasMenuPermission(menuTree.value, permissionMapping.rechargeWait); |
|
|
|
hasrechargeWaitShow.value = hasMenuPermission(menuTree.value, permissionMapping.rechargeWaitShow); |
|
|
|
hasrechargeWaitThough.value = hasMenuPermission(menuTree.value, permissionMapping.rechargeWaitThough); |
|
|
|
hasrechargeWaitReject.value = hasMenuPermission(menuTree.value, permissionMapping.rechargeWaitReject); |
|
|
|
hasrechargeThrough.value = hasMenuPermission(menuTree.value, permissionMapping.gold_coin_recharge_approved); |
|
|
|
hasrechargeReject.value = hasMenuPermission(menuTree.value, permissionMapping.gold_coin_recharge_rejected); |
|
|
|
hasrechargeWait.value = hasMenuPermission(menuTree.value, permissionMapping.gold_coin_recharge_pending); |
|
|
|
hasrechargeWaitShow.value = hasMenuPermission(menuTree.value, permissionMapping.view_gold_recharge_pending); |
|
|
|
hasrechargeWaitThough.value = hasMenuPermission(menuTree.value, permissionMapping.pass_gold_refund_audit); |
|
|
|
hasrechargeWaitReject.value = hasMenuPermission(menuTree.value, permissionMapping.reject_gold_refund_audit); |
|
|
|
console.log(hasrechargeWaitThough.value) |
|
|
|
console.log(hasrechargeWaitReject.value) |
|
|
|
|
|
|
|
|