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 @@