This commit is contained in:
@@ -777,7 +777,7 @@
|
||||
{
|
||||
prop: 'payment_method',
|
||||
label: '支付方式',
|
||||
width: 120,
|
||||
width: 140,
|
||||
formatter: (row: AgentRecharge) => getPaymentMethodText(row.payment_method)
|
||||
},
|
||||
{
|
||||
@@ -1316,7 +1316,7 @@
|
||||
onConfirmPayment: handleShowConfirmPay,
|
||||
onReject: handleShowReject
|
||||
})
|
||||
if (isPlatformAccount.value && hasAuth(AUDIT_PERMISSIONS.resourceTimeline)) {
|
||||
if (isPlatformAccount.value && hasAuth(AUDIT_PERMISSIONS.agentRechargeEntry)) {
|
||||
const resourceTarget = resolveAuditResourceTarget({
|
||||
resourceType: 'agent_recharge',
|
||||
internalId: row.id
|
||||
@@ -1328,7 +1328,7 @@
|
||||
type: 'primary'
|
||||
})
|
||||
}
|
||||
if (isPlatformAccount.value && hasAuth(AUDIT_PERMISSIONS.financeTimeline)) {
|
||||
if (isPlatformAccount.value && hasAuth(AUDIT_PERMISSIONS.agentRechargeFinanceEntry)) {
|
||||
const financeTarget = resolveFinanceAuditTarget('recharge_id', row.id)
|
||||
if (financeTarget)
|
||||
actions.unshift({
|
||||
@@ -1337,7 +1337,7 @@
|
||||
type: 'primary'
|
||||
})
|
||||
}
|
||||
if (isPlatformAccount.value && hasAuth(AUDIT_PERMISSIONS.resourceTimeline)) {
|
||||
if (isPlatformAccount.value && hasAuth(AUDIT_PERMISSIONS.agentRechargeApprovalEntry)) {
|
||||
const approvalTarget = resolveAuditResourceTarget({
|
||||
resourceType: 'approval_instance',
|
||||
internalId: row.approval_instance_id
|
||||
|
||||
Reference in New Issue
Block a user