From c5c6dbfe93b56e9a5d7165ff6ea89cfdb3e4883c Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Mon, 20 May 2024 18:54:34 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E9=80=80=E6=AC=BE=E5=8A=9F?= =?UTF-8?q?=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/api.js | 7 + .../comp/pickDateTimer/pickDateTimer.vue | 3 + pages/tabbar/mine/index.vue | 2 +- pages/userCenter/refund/comp/item.vue | 58 +++---- pages/userCenter/refund/refund.vue | 173 +++++++++++++++++++-- 5 files changed, 199 insertions(+), 44 deletions(-) diff --git a/config/api.js b/config/api.js index e9958d3..3f23a7f 100644 --- a/config/api.js +++ b/config/api.js @@ -9,6 +9,13 @@ export const getSettlementStatistics = (data) => http.post('business/coach/getSettlementStatistics', data) // 获得教练的学员结算列表 export const settle_list = (data) => http.post('business/coach/settle_list', data) + // 学员学费退款列表 + export const headmasterPage = (params) => http.get('app/refund/headmasterPage', {params}) + // 学员学费退款审核通过 + export const updateRefundStatusOpend = (params) => http.get('app/refund/updateRefundStatusOpend', {params}) + // 学员学费退款审核不通过 + export const updateRefundStatusOut = (params) => http.get('app/refund/updateRefundStatusOut', {params}) + diff --git a/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer.vue b/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer.vue index 06c919e..793a48d 100644 --- a/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer.vue +++ b/pages/recordEntry/operate/mySchedule/comp/pickDateTimer/pickDateTimer.vue @@ -211,8 +211,10 @@ for(let j=0; j - 张三三 18265468753 + {{item.studentName}} {{item.studentPhone}} - 待处理 + 取消{{item.refundStatus}} + {{stateTxt[item.refundStatus]}} @@ -15,38 +16,49 @@ - + - 报名时间:2023/08/08 + 报名时间:{{$u.timeFormat(item.createTime, 'yyyy/mm/dd')}} - + - 学驾车型:C1小型汽车手动挡 + 学驾车型:{{item.tranType}} - + - 报名班型:C1一对一VIP班 + 报名班型:{{item.className}} - 申请退款金额 - ¥8880.13 + 不通过原因 + {{ item.auditFailReason }} - - 审核通过 - 审核不通过 + + + + 申请退款金额 + ¥{{ $u.utils.priceTo(item.refundAmount)}} + \ No newline at end of file diff --git a/pages/userCenter/refund/refund.vue b/pages/userCenter/refund/refund.vue index b37d87b..58c1c01 100644 --- a/pages/userCenter/refund/refund.vue +++ b/pages/userCenter/refund/refund.vue @@ -1,39 +1,129 @@