From 5a1c056132b5d6419c160c64a6f6520f7833bb21 Mon Sep 17 00:00:00 2001 From: bootx Date: Tue, 5 Mar 2024 23:24:10 +0800 Subject: [PATCH 1/8] =?UTF-8?q?fix=20=E6=98=BE=E7=A4=BA=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../payment/task/notice/ClientNoticeRecordInfo.vue | 4 ++-- .../payment/task/notice/ClientNoticeRecordList.vue | 10 +++++++--- src/views/payment/task/notice/ClientNoticeTask.api.ts | 6 ++++-- src/views/payment/task/notice/ClientNoticeTaskInfo.vue | 6 +++++- src/views/payment/task/notice/ClientNoticeTaskList.vue | 10 ++++++++-- 5 files changed, 26 insertions(+), 10 deletions(-) diff --git a/src/views/payment/task/notice/ClientNoticeRecordInfo.vue b/src/views/payment/task/notice/ClientNoticeRecordInfo.vue index 8ab4a0a7..380aa0a4 100644 --- a/src/views/payment/task/notice/ClientNoticeRecordInfo.vue +++ b/src/views/payment/task/notice/ClientNoticeRecordInfo.vue @@ -14,10 +14,10 @@ {{ info.id }} - {{ info.reqCount }} + {{ info.reqCount || '空' }} - {{ dictConvert('ClientNoticeSendType', info.type) }} + {{ dictConvert('ClientNoticeSendType', info.sendType) }} diff --git a/src/views/payment/task/notice/ClientNoticeRecordList.vue b/src/views/payment/task/notice/ClientNoticeRecordList.vue index c95c89b0..d0970a16 100644 --- a/src/views/payment/task/notice/ClientNoticeRecordList.vue +++ b/src/views/payment/task/notice/ClientNoticeRecordList.vue @@ -10,16 +10,20 @@ @sort-change="sortChange" > - + + + - + diff --git a/src/views/payment/task/notice/ClientNoticeTask.api.ts b/src/views/payment/task/notice/ClientNoticeTask.api.ts index d6705d48..7d82a8ac 100644 --- a/src/views/payment/task/notice/ClientNoticeTask.api.ts +++ b/src/views/payment/task/notice/ClientNoticeTask.api.ts @@ -61,8 +61,8 @@ export function getRecord(id) { export interface ClientNoticeTask extends BaseEntity { // 本地订单ID orderId?: number - // 回调类型 - type?: string + // 消息类型 + noticeType?: string // 消息内容 content?: string // 是否发送成功 @@ -83,6 +83,8 @@ export interface ClientNoticeRecord extends BaseEntity { taskId?: string // 请求次数 reqCount?: number + // 发送类型 + sendType?: boolean // 发送是否成功 success?: boolean // 错误信息 diff --git a/src/views/payment/task/notice/ClientNoticeTaskInfo.vue b/src/views/payment/task/notice/ClientNoticeTaskInfo.vue index 5e71ffdc..b2a95998 100644 --- a/src/views/payment/task/notice/ClientNoticeTaskInfo.vue +++ b/src/views/payment/task/notice/ClientNoticeTaskInfo.vue @@ -17,7 +17,11 @@ {{ task.orderId }} - {{ dictConvert('ClientNoticeType', task.type) }} + {{ dictConvert('ClientNoticeType', task.noticeType) }} + + + {{ dictConvert('PayStatus', task.orderStatus) || '未知' }} + {{ dictConvert('RefundStatus', task.orderStatus) || '未知' }} diff --git a/src/views/payment/task/notice/ClientNoticeTaskList.vue b/src/views/payment/task/notice/ClientNoticeTaskList.vue index 88ec3148..ab612e8d 100644 --- a/src/views/payment/task/notice/ClientNoticeTaskList.vue +++ b/src/views/payment/task/notice/ClientNoticeTaskList.vue @@ -21,9 +21,15 @@ - + + + + -- Gitee From 966b876eccca28d3d5b565c20166aad66cfc7c3d Mon Sep 17 00:00:00 2001 From: bootx Date: Wed, 6 Mar 2024 23:24:19 +0800 Subject: [PATCH 2/8] =?UTF-8?q?feat=20=E9=80=80=E6=AC=BE=E9=87=8D=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../reconcile/order/ReconcileOrderInfo.vue | 3 +++ .../reconcile/order/ReconcileOrderList.vue | 1 + .../payment/order/refund/RefundOrder.api.ts | 10 ++++++++ .../payment/order/refund/RefundOrderList.vue | 25 +++++++++++++++++-- 4 files changed, 37 insertions(+), 2 deletions(-) diff --git a/src/views/payment/order/reconcile/order/ReconcileOrderInfo.vue b/src/views/payment/order/reconcile/order/ReconcileOrderInfo.vue index 2118121f..e1459560 100644 --- a/src/views/payment/order/reconcile/order/ReconcileOrderInfo.vue +++ b/src/views/payment/order/reconcile/order/ReconcileOrderInfo.vue @@ -29,6 +29,9 @@ {{ form.errorMsg }} + + {{ form.createTime }} + + - + @@ -75,7 +78,7 @@ + + diff --git a/src/views/payment/channel/union/record/UnionPayRecord.api.ts b/src/views/payment/channel/union/record/UnionPayRecord.api.ts new file mode 100644 index 00000000..e69de29b diff --git a/src/views/payment/channel/wechat/config/WechatPayConfigEdit.vue b/src/views/payment/channel/wechat/config/WechatPayConfigEdit.vue index d39de717..5974abf1 100644 --- a/src/views/payment/channel/wechat/config/WechatPayConfigEdit.vue +++ b/src/views/payment/channel/wechat/config/WechatPayConfigEdit.vue @@ -23,7 +23,7 @@ - +