From aec024e42ca2ac1bf54bc0733a79434df012b143 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sat, 10 May 2025 10:07:18 +0800 Subject: [PATCH] =?UTF-8?q?feat=EF=BC=9A=E3=80=90MALL=20=E5=95=86=E5=9F=8E?= =?UTF-8?q?=E3=80=91=E4=BD=A3=E9=87=91=E6=8F=90=E7=8E=B0=EF=BC=8C=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=AD=97=E6=AE=B5=EF=BC=8C=E4=BB=A5=E5=8F=8A=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E6=9B=B4=E5=A4=9A=20API=20=E8=87=AA=E5=8A=A8=E6=89=93?= =?UTF-8?q?=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mall/trade/brokerage/withdraw/index.ts | 10 ++++-- src/api/pay/demo/{ => order}/index.ts | 9 +----- .../mall/trade/brokerage/withdraw/index.vue | 31 ++++++++++++------- src/views/pay/demo/order/index.vue | 2 +- src/views/pay/demo/withdraw/index.vue | 2 +- 5 files changed, 30 insertions(+), 24 deletions(-) rename src/api/pay/demo/{ => order}/index.ts (75%) diff --git a/src/api/mall/trade/brokerage/withdraw/index.ts b/src/api/mall/trade/brokerage/withdraw/index.ts index c93286a9..81752723 100644 --- a/src/api/mall/trade/brokerage/withdraw/index.ts +++ b/src/api/mall/trade/brokerage/withdraw/index.ts @@ -7,15 +7,19 @@ export interface BrokerageWithdrawVO { feePrice: number totalPrice: number type: number - name: string - accountNo: string + userName: string + userAccount: string bankName: string bankAddress: string - accountQrCodeUrl: string + qrCodeUrl: string status: number auditReason: string auditTime: Date remark: string + payTransferId?: number + transferChannelCode?: string + transferTime?: Date + transferErrorMsg?: string } // 查询佣金提现列表 diff --git a/src/api/pay/demo/index.ts b/src/api/pay/demo/order/index.ts similarity index 75% rename from src/api/pay/demo/index.ts rename to src/api/pay/demo/order/index.ts index 3824a8b2..1b298599 100644 --- a/src/api/pay/demo/index.ts +++ b/src/api/pay/demo/order/index.ts @@ -13,13 +13,6 @@ export function createDemoOrder(data: DemoOrderVO) { }) } -// 获得示例订单 -export function getDemoOrder(id: number) { - return request.get({ - url: '/pay/demo-order/get?id=' + id - }) -} - // 获得示例订单分页 export function getDemoOrderPage(query: PageParam) { return request.get({ @@ -29,7 +22,7 @@ export function getDemoOrderPage(query: PageParam) { } // 退款示例订单 -export function refundDemoOrder(id) { +export function refundDemoOrder(id: number) { return request.put({ url: '/pay/demo-order/refund?id=' + id }) diff --git a/src/views/mall/trade/brokerage/withdraw/index.vue b/src/views/mall/trade/brokerage/withdraw/index.vue index 762451f1..dc4f19a7 100644 --- a/src/views/mall/trade/brokerage/withdraw/index.vue +++ b/src/views/mall/trade/brokerage/withdraw/index.vue @@ -34,15 +34,24 @@ /> - + + + + 余额
{{ getDictLabel(DICT_TYPE.BROKERAGE_WITHDRAW_TYPE, scope.row.type) }} - 账号:{{ scope.row.accountNo }} +
账号:{{ scope.row.userAccount }}
+
真实姓名:{{ scope.row.userName }}
- + +