From 5dd2a8a3ec2b9c3cbedc68f66631198f4d457398 Mon Sep 17 00:00:00 2001 From: xxm1995 Date: Tue, 20 Feb 2024 17:05:55 +0800 Subject: [PATCH] =?UTF-8?q?feat=20=E5=BE=AE=E4=BF=A1=E6=94=AF=E4=BB=98?= =?UTF-8?q?=E5=AE=9D=E6=B5=81=E6=B0=B4=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../channel/alipay/record/AlipayRecord.api.ts | 41 +++++++ .../alipay/record/AlipayRecordInfo.vue | 87 ++++++++++++++ .../alipay/record/AlipayRecordList.vue | 110 ++++++++++++++++++ .../voucher/record/VoucherRecordInfo.vue | 3 - .../voucher/record/VoucherRecordList.vue | 1 - .../wallet/record/WalletRecordInfo.vue | 3 - .../wallet/record/WalletRecordList.vue | 1 - .../wechat/record/WechatPayRecord.api.ts | 41 +++++++ .../wechat/record/WechatPayRecordInfo.vue | 87 ++++++++++++++ .../wechat/record/WechatPayRecordList.vue | 110 ++++++++++++++++++ 10 files changed, 476 insertions(+), 8 deletions(-) create mode 100644 src/views/payment/channel/alipay/record/AlipayRecord.api.ts create mode 100644 src/views/payment/channel/alipay/record/AlipayRecordInfo.vue create mode 100644 src/views/payment/channel/alipay/record/AlipayRecordList.vue create mode 100644 src/views/payment/channel/wechat/record/WechatPayRecord.api.ts create mode 100644 src/views/payment/channel/wechat/record/WechatPayRecordInfo.vue create mode 100644 src/views/payment/channel/wechat/record/WechatPayRecordList.vue diff --git a/src/views/payment/channel/alipay/record/AlipayRecord.api.ts b/src/views/payment/channel/alipay/record/AlipayRecord.api.ts new file mode 100644 index 000000000..b975a99d7 --- /dev/null +++ b/src/views/payment/channel/alipay/record/AlipayRecord.api.ts @@ -0,0 +1,41 @@ +import { defHttp } from '/@/utils/http/axios' +import { Result, PageResult } from '/#/axios' +import { BaseEntity } from '/#/web' + +/** + * 分页 + */ +export function page(params) { + return defHttp.get>>({ + url: '/alipay/record/page', + params, + }) +} + +/** + * 获取详情 + */ +export function get(id) { + return defHttp.get>({ + url: '/alipay/record/findById', + params: { id }, + }) +} + +/** + * 记录 + */ +export interface AlipayRecord extends BaseEntity { + // 标题 + title?: string + // 业务类型 + type?: string + // 金额 + amount?: string + // 交易订单号 + orderId?: string + // 交易订单号 + gatewayOrderNo?: string + // 终端ip + ip?: string +} diff --git a/src/views/payment/channel/alipay/record/AlipayRecordInfo.vue b/src/views/payment/channel/alipay/record/AlipayRecordInfo.vue new file mode 100644 index 000000000..9eeb08d87 --- /dev/null +++ b/src/views/payment/channel/alipay/record/AlipayRecordInfo.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/views/payment/channel/alipay/record/AlipayRecordList.vue b/src/views/payment/channel/alipay/record/AlipayRecordList.vue new file mode 100644 index 000000000..2aac1614b --- /dev/null +++ b/src/views/payment/channel/alipay/record/AlipayRecordList.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/src/views/payment/channel/voucher/record/VoucherRecordInfo.vue b/src/views/payment/channel/voucher/record/VoucherRecordInfo.vue index 18afecef9..a93480d29 100644 --- a/src/views/payment/channel/voucher/record/VoucherRecordInfo.vue +++ b/src/views/payment/channel/voucher/record/VoucherRecordInfo.vue @@ -28,9 +28,6 @@ {{ dictConvert('VoucherRecordType', voucherRecord.type) }} - - {{ voucherRecord.remark }} - {{ voucherRecord.createTime }} diff --git a/src/views/payment/channel/voucher/record/VoucherRecordList.vue b/src/views/payment/channel/voucher/record/VoucherRecordList.vue index 3cb49587c..d8917676f 100644 --- a/src/views/payment/channel/voucher/record/VoucherRecordList.vue +++ b/src/views/payment/channel/voucher/record/VoucherRecordList.vue @@ -18,7 +18,6 @@ -