add bank
Some checks failed
Lock Threads / action (push) Has been cancelled
Issue Close Require / close-issues (push) Has been cancelled
Close stale issues / stale (push) Has been cancelled
CI / Test (ubuntu-latest) (push) Has been cancelled
CI / Test (windows-latest) (push) Has been cancelled
CI / Lint (ubuntu-latest) (push) Has been cancelled
CI / Lint (windows-latest) (push) Has been cancelled
CI / Check (ubuntu-latest) (push) Has been cancelled
CI / Check (windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
Deploy Website on push / Deploy Push Playground Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Docs Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Antd Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Element Ftp (push) Has been cancelled
Deploy Website on push / Deploy Push Naive Ftp (push) Has been cancelled
Release Drafter / update_release_draft (push) Has been cancelled
CI / CI OK (push) Has been cancelled
Deploy Website on push / Rerun on failure (push) Has been cancelled

This commit is contained in:
Mrx
2026-03-23 17:13:53 +08:00
parent 01c2a42b08
commit bc9305b157
4 changed files with 51 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ export namespace AgentApi {
level_name: string;
region: string;
mobile: string;
name?: string; // 姓名(实名认证)
id_card?: string; // 身份证号(后端解密明文)
wechat_id?: string;
team_leader_id?: number;
balance: number;
@@ -115,12 +117,16 @@ export namespace AgentApi {
id: number;
agent_id: number;
withdraw_no: string;
withdraw_method: number; // 1=支付宝2=银行卡
amount: number;
tax_amount: number;
actual_amount: number;
status: number; // 1=待审核2=审核通过3=审核拒绝4=提现中5=提现成功6=提现失败
payee_account: string;
payee_name: string;
bank_name: string;
bank_card_no: string; // 脱敏
bank_reserved_mobile: string;
remark: string;
create_time: string;
}

View File

@@ -117,6 +117,16 @@ export function useColumns(): VxeTableGridOptions['columns'] {
title: '手机号',
width: 120,
},
{
field: 'name',
title: '姓名',
width: 100,
},
{
field: 'id_card',
title: '身份证',
width: 180,
},
{
cellRender: {
name: 'CellTag',

View File

@@ -19,6 +19,12 @@ export function useWithdrawalColumns(): VxeTableGridOptions['columns'] {
field: 'withdraw_no',
width: 180,
},
{
title: '提现方式',
field: 'withdraw_method',
width: 110,
formatter: ({ cellValue }) => (cellValue === 2 ? '银行卡' : '支付宝'),
},
{
title: '提现金额',
field: 'amount',
@@ -42,6 +48,21 @@ export function useWithdrawalColumns(): VxeTableGridOptions['columns'] {
field: 'payee_account',
width: 180,
},
{
title: '银行卡号',
field: 'bank_card_no',
width: 180,
},
{
title: '开户行',
field: 'bank_name',
width: 160,
},
{
title: '预留手机号',
field: 'bank_reserved_mobile',
width: 140,
},
{
title: '收款人姓名',
field: 'payee_name',

View File

@@ -115,8 +115,20 @@ function cancelAudit() {
<p>
<strong>提现金额</strong>¥{{ currentWithdrawal.amount.toFixed(2) }}
</p>
<p>
<strong>提现方式</strong>
{{ currentWithdrawal.withdraw_method === 2 ? '银行卡' : '支付宝' }}
</p>
<template v-if="currentWithdrawal.withdraw_method === 2">
<p><strong>持卡人姓名</strong>{{ currentWithdrawal.payee_name }}</p>
<p><strong>银行卡号</strong>{{ currentWithdrawal.bank_card_no }}</p>
<p><strong>开户行</strong>{{ currentWithdrawal.bank_name }}</p>
<p><strong>预留手机号</strong>{{ currentWithdrawal.bank_reserved_mobile }}</p>
</template>
<template v-else>
<p><strong>收款账号</strong>{{ currentWithdrawal.payee_account }}</p>
<p><strong>收款人姓名</strong>{{ currentWithdrawal.payee_name }}</p>
</template>
</div>
<div class="audit-remark">
<p><strong>审核备注</strong></p>