From 4a3f5a0a9e6c6fe3de45ad3524b488d5ffd90de8 Mon Sep 17 00:00:00 2001
From: unknown <331404948@qq.com>
Date: Thu, 14 Mar 2024 18:59:46 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E5=AD=A6=E8=BD=A6?=
=?UTF-8?q?=E5=8A=A8=E6=80=81=E5=92=8C=E7=99=BB=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/js/utils.js | 5 +-
config/api.js | 3 +
pages/indexEntry/enroll/payment/payment.vue | 20 +++++
.../enroll/signContract/signContract.vue | 2 +-
pages/mineEntry/myForecastName/myForecastName.vue | 2 +-
pages/tabbar/index/index.vue | 6 +-
pages/tabbar/learnCar/comp/subject1.vue | 30 ++++---
pages/tabbar/learnCar/comp/subject2.vue | 99 +++++++++++++---------
pages/tabbar/learnCar/comp/subject3.vue | 20 +++--
pages/tabbar/learnCar/comp/subject4.vue | 29 ++++---
pages/tabbar/learnCar/comp/topInfo.vue | 20 ++++-
pages/tabbar/learnCar/index.vue | 74 ++++++++--------
pages/userCenter/login/login.vue | 11 ++-
store/modules/user.js | 10 +--
14 files changed, 211 insertions(+), 120 deletions(-)
diff --git a/common/js/utils.js b/common/js/utils.js
index 35dc5d2..4758435 100644
--- a/common/js/utils.js
+++ b/common/js/utils.js
@@ -123,7 +123,6 @@ const install = (Vue, vm) => {
store.commit('goLogin')
return
}
- return vm.$goPage('/pages/indexEntry/signIn/signAndOut/signAndOut')
// store.commit('updateNonPlatformStudent', false)
if( vm.vuex_userInfo.applyStep<2) {
vm.$goPage('/pages/indexEntry/enroll/enroll')
@@ -133,9 +132,7 @@ const install = (Vue, vm) => {
return vm.$goPage('/pages/indexEntry/enroll/registInfo/registInfo')
}
- if( vm.vuex_userInfo.applyStep>5) {
- return vm.$goPage('/pages/indexEntry/signIn/signAndOut/signAndOut')
- }
+ uni.$u.toast('您已是报名学员')
}
let isImagePath = (path)=> {
diff --git a/config/api.js b/config/api.js
index 716b089..f6d878a 100644
--- a/config/api.js
+++ b/config/api.js
@@ -202,6 +202,9 @@ export const operationSigin = (params={}) => http.get('business/coach/sign/in',
export const vailStudentInfo = (params={}) => http.get('business/coach/sign/vailStudentInfo', {params})
// 签退
export const signOutAuth = (data) => http.post('business/student/sign/outAuth', data)
+// 支付
+export const getStudentByPayment = (params={}) => http.get('app/student-record/getStudentByPayment', {params})
+
diff --git a/pages/indexEntry/enroll/payment/payment.vue b/pages/indexEntry/enroll/payment/payment.vue
index ec434ed..2b15c2b 100644
--- a/pages/indexEntry/enroll/payment/payment.vue
+++ b/pages/indexEntry/enroll/payment/payment.vue
@@ -51,6 +51,26 @@