From 34e08e763c8d65518aa2e6b46a23f06cbc399b95 Mon Sep 17 00:00:00 2001 From: unknown <331404948@qq.com> Date: Fri, 24 May 2024 09:10:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E8=BF=87=E5=85=A8=E6=B5=81?= =?UTF-8?q?=E7=A8=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 3 +- config/api - 副本.js | 136 --------------------------------- config/api.js | 2 +- pages/userCenter/refund/comp/item.vue | 6 +- pages/userCenter/refund/refund.vue | 120 +++++++++++++++++++---------- pages/userCenter/scanCode/scanCode.vue | 3 +- 6 files changed, 87 insertions(+), 183 deletions(-) delete mode 100644 config/api - 副本.js diff --git a/App.vue b/App.vue index be961be..754a5cc 100644 --- a/App.vue +++ b/App.vue @@ -16,5 +16,6 @@ diff --git a/config/api - 副本.js b/config/api - 副本.js deleted file mode 100644 index 36ab2be..0000000 --- a/config/api - 副本.js +++ /dev/null @@ -1,136 +0,0 @@ - - -var http = uni.$u.http - -// 隐私政策 -export const getAgreement = (params, config = {}) => http.post('/util/manage/getAgreement.do', params, config) -// 验证码登录 -export const loginPwd = (data) => http.post('system/auth/login', data, { custom: { noToken: true , 'Tenant-Id': data['Tenant-Id']}}) -// 获取个人信息 -export const getUserInfo = (data) => http.post('member/user/get', {header: {'contentType': 1}}) -// 退出登录 -export const logOut = (data={}) => http.post('member/auth/logout', data, { custom: { noToken: true }}) -// 驾校列表分页 -export const schoolPage = (params) => http.get('business/school/page', {params: params}) -// 获得租户分页 -export const tenantPage = (params) => http.get('system/tenant/pages', {params: params, custom: { noToken: true }}) -// 实操预约记录分页 -export const bookingMasterPage = (params) => http.get('business/booking/master/page', {params: params, header: {'contentType': 3} }) -// 实操预约详情 -export const bookingMasterDetail = (params) => http.get('business/booking/master/get', {params: params, header: {'contentType': 3} }) -// 获得我的排课详情 -export const scheduleClassGetById = (params) => http.get('business/booking/schedule-class/getById', {params: params, }) -// 获得我的排课详情预约记录 -export const getBookingDetailByClassId = (params) => http.get('business/booking/master/getBookingDetailByClassId', {params: params, }) -// 获得排课 -export const scheduleClassGet = (params) => http.get('business/booking/schedule-class/get', {params: params, }) -// 发布排课计划 -export const scheduleClassCreate = (data) => http.post('business/booking/schedule-class/create', data) -// 根据时间段发布排课计划 -export const scheduleClassCreateByTime = (data) => http.post('business/booking/schedule-class/createByTime', data) -// 获取排课日期范围 -export const getClassDateLimit = (params) => http.get('business/booking/global-config/getClassDateLimit', {params} ,) -// 获取排课时间段范围 -export const getClassTimeLimt = (params) => http.get('business/booking/global-config/getClassTimeLimt', {params} ,) -// 创建排课模板 -export const getClassCreate = (data) => http.post('business/booking/schedule-template/create', data ,) -// 排课模板分页 -export const scheduleTemplatePage = (params) => http.get('business/booking/schedule-template/page', {params} ,) -// 更新排课模版 -export const scheduleTemplateUpdate = (data) => http.put('business/booking/schedule-template/update', data ,) -// 获取排课模版 -export const scheduleTemplateGet = (params) => http.get('business/booking/schedule-template/get', {params} ,) -// 训练场地 -export const trainingSiteList = (params) => http.get('business/training-site/list', {params} ,) -// 获得考场模拟预约记录分页 -export const examSimulationPages = (params) => http.get('business/exam-simulation-record/page', {params} ,) -// 已报名学员 -export const studentRecordPage = (params) => http.get('business/student-record/page', {params} ,) -// 驾校班型 -export const schoolClass = (params) => http.get('business/school-class/getSchoolByClass', {params} ,) -// 获得学员档案记录 -export const studentDetail = (params) => http.get('business/student-record/getStudent', {params} ,) -// 获得教练车信息分页 -export const carPage = (params) => http.get('business/car/page', {params} ,) -// 驾校场地分页 -export const sitePage = (params) => http.get('business/training-site/page', {params} ,) -// 驾校教练分页 -export const coachPage = (params) => http.get('business/coach/page', {params}) -// 驾校教练详情 -export const coachDetail = (params) => http.get('business/coach/get', {params}) -// 教练评价列表分页 -export const coachCommentPage = (params) => http.get('app/coach-comment/pageCoachComment', {params}) -// 获得教练员评价条数 -export const pageCoachCommentTotal = (params) => http.get('app/coach-comment/pageCoachCommentTotal', {params}) -// 获得驾校评价 -export const schoolCommentPage = (params) => http.get('business/school-comment/page', {params}) -// 获取驾校评价条数 -export const commentPagetotal = (params) => http.get('business/school-comment/pagetotal', { params }) -// 修改用户密码 -export const updatePassword = (data) => http.put('system/user/profile/update-password', data) -// 获得考场分页 -export const simulationPage = (params) => http.get('business/booking/simulation-record/page', {params}) -// 获得考场列分页 -export const businessSitePage = (params) => http.get('business/site/page', {params}) -// 教练绑定教练车 -export const coachBinding = (data) => http.post('business/coach/binding', data) -// 取消绑定教练车 -export const coachUnbinding = (data) => http.put('business/coach/unbinding', data) -// 获得考场车辆管理分页 -export const siteCarPage = (params) => http.get('business/site-car/page', {params}) -// 我的学员(累计学员、今日新增学员、等) -export const studentOwner = (params) => http.get('business/student-record/owner', {params}) -// 获得学员档案记录列表 -export const studentList = (params) => http.get('business/student-record/page', {params}) -// 绑定教练 -export const studentBindCoach = (data) => http.post('business/student-record/bindCoach', data) - // 教练二维码生成 - export const getQR = (data) => http.post('business/coach/sign/getQR', data) - // 获取学习中的学员 - export const signStudentList = (data) => http.post('business/coach/sign/studentList', data) - // 切换学员计时 - export const changeStudent = (data) => http.post('business/coach/sign/changeStudent', data) - - export const getLoginCode = (data) => http.post('member/auth/send-sms-code', data, { custom: { noToken: true, catch: true,}}) - // 驾校教练使用手机 + 验证码登录 - export const coachSmsLogin = (data) => http.post('member/auth/coach_sms-login', data, { custom: { noToken: true, catch: true,}}) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/config/api.js b/config/api.js index 3f23a7f..f9d279c 100644 --- a/config/api.js +++ b/config/api.js @@ -12,7 +12,7 @@ // 学员学费退款列表 export const headmasterPage = (params) => http.get('app/refund/headmasterPage', {params}) // 学员学费退款审核通过 - export const updateRefundStatusOpend = (params) => http.get('app/refund/updateRefundStatusOpend', {params}) + export const updateRefundStatusOpend = (params) => http.get('app/refund/updateRefundStatusPass', {params}) // 学员学费退款审核不通过 export const updateRefundStatusOut = (params) => http.get('app/refund/updateRefundStatusOut', {params}) diff --git a/pages/userCenter/refund/comp/item.vue b/pages/userCenter/refund/comp/item.vue index a203952..1f4fc11 100644 --- a/pages/userCenter/refund/comp/item.vue +++ b/pages/userCenter/refund/comp/item.vue @@ -6,8 +6,8 @@ {{item.studentName}} {{item.studentPhone}} - 取消{{item.refundStatus}} - {{stateTxt[item.refundStatus]}} + 已 取 消 + {{stateTxt[item.auditStatus]}} @@ -36,7 +36,7 @@ 不通过原因 - {{ item.auditFailReason }} + {{ item.schoolFailReason }} diff --git a/pages/userCenter/refund/refund.vue b/pages/userCenter/refund/refund.vue index 58c1c01..11ff7d2 100644 --- a/pages/userCenter/refund/refund.vue +++ b/pages/userCenter/refund/refund.vue @@ -1,35 +1,40 @@