From cb959867decd12cda2f1a2612ca339f269fe5ad7 Mon Sep 17 00:00:00 2001 From: bootx Date: Sun, 18 Feb 2024 23:36:50 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E7=8E=B0=E9=87=91=E6=B5=81=E6=B0=B4?= =?UTF-8?q?=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../channel/cash/record/CashRecord.api.ts | 39 +++++++ .../channel/cash/record/CashRecordList.vue | 100 ++++++++++++++++++ .../voucher/record/VoucherRecordList.vue | 2 + .../wallet/record/WalletRecordList.vue | 1 + 4 files changed, 142 insertions(+) create mode 100644 src/views/payment/channel/cash/record/CashRecord.api.ts create mode 100644 src/views/payment/channel/cash/record/CashRecordList.vue diff --git a/src/views/payment/channel/cash/record/CashRecord.api.ts b/src/views/payment/channel/cash/record/CashRecord.api.ts new file mode 100644 index 000000000..55d874576 --- /dev/null +++ b/src/views/payment/channel/cash/record/CashRecord.api.ts @@ -0,0 +1,39 @@ +import { defHttp } from '/@/utils/http/axios' +import { Result, PageResult } from '/#/axios' +import { BaseEntity } from '/#/web' + +/** + * 分页 + */ +export function page(params) { + return defHttp.get>>({ + url: '/cash/record/page', + params, + }) +} + +/** + * 详情 + */ +export function get(id) { + return defHttp.get>({ + url: '/cash/record/findById', + params: { id }, + }) +} + +/** + * 现金记录 + */ +export interface CashRecord extends BaseEntity { + // 类型 + type: string + // 金额 + amount: string + // 交易订单号 + orderId: string + // 地址 + ip: string + // 备注 + remark: string +} diff --git a/src/views/payment/channel/cash/record/CashRecordList.vue b/src/views/payment/channel/cash/record/CashRecordList.vue new file mode 100644 index 000000000..4e6e6c35d --- /dev/null +++ b/src/views/payment/channel/cash/record/CashRecordList.vue @@ -0,0 +1,100 @@ + + + + + diff --git a/src/views/payment/channel/voucher/record/VoucherRecordList.vue b/src/views/payment/channel/voucher/record/VoucherRecordList.vue index d6548bda9..5c4c92772 100644 --- a/src/views/payment/channel/voucher/record/VoucherRecordList.vue +++ b/src/views/payment/channel/voucher/record/VoucherRecordList.vue @@ -19,6 +19,8 @@ + + +