diff --git a/common/js/mixins.js b/common/js/mixins.js index ac81220..da2da5e 100644 --- a/common/js/mixins.js +++ b/common/js/mixins.js @@ -8,6 +8,7 @@ export default { vuex_cityInfo: state=> state.user.vuex_cityInfo, vuex_userInfo: state=> state.user.vuex_userInfo, userId: state=> state.user.vuex_loginInfo.userId, + studentId: state=> state.user.vuex_userInfo.id, apiOk: state=> state.user.apiOk, }), }, diff --git a/pages/carEntry/examineAppointment/comp/step3.vue b/pages/carEntry/examineAppointment/comp/step3.vue index d91decd..2b170fc 100644 --- a/pages/carEntry/examineAppointment/comp/step3.vue +++ b/pages/carEntry/examineAppointment/comp/step3.vue @@ -64,7 +64,7 @@ async examSimulationCreateFn() { if(!this.FormData.courseIds) return this.$u.toast('请选择预约时间') let obj = { - "studentId": this.userId, + "studentId": this.studentId, "classDetailId": this.FormData.courseIds } const res = await examSimulationCreate(obj) diff --git a/pages/carEntry/simulateAppointment/simulateAppointment.vue b/pages/carEntry/simulateAppointment/simulateAppointment.vue index 0ea25ad..62b5610 100644 --- a/pages/carEntry/simulateAppointment/simulateAppointment.vue +++ b/pages/carEntry/simulateAppointment/simulateAppointment.vue @@ -56,7 +56,7 @@ created() { this.simulationPointFn() this.FormData.trainType = this.vuex_userInfo.trainType - this.FormData.studentId = this.vuex_userInfo.id + this.FormData.studentId = this.studentId }, methods: { changeStep(num) { diff --git a/pages/indexEntry/consult/pubConsult/pubConsult.vue b/pages/indexEntry/consult/pubConsult/pubConsult.vue index c024ed5..5f8e92b 100644 --- a/pages/indexEntry/consult/pubConsult/pubConsult.vue +++ b/pages/indexEntry/consult/pubConsult/pubConsult.vue @@ -65,7 +65,7 @@ images, studentPhone: this.vuex_userInfo.phone, type: 1, - studentId: this.$store.state.user.vuex_loginInfo.userId, + studentId: this.studentId, content: this.value } const {data: res} = await createconsult(obj) diff --git a/pages/indexEntry/enroll/enroll.vue b/pages/indexEntry/enroll/enroll.vue index 419aa13..e3e1660 100644 --- a/pages/indexEntry/enroll/enroll.vue +++ b/pages/indexEntry/enroll/enroll.vue @@ -94,7 +94,7 @@ this.showType = false }, async getpersonfaceFn() { - const {data: res} = await getpersonface({ ruleId: 1, RedirectUrl: 'http://192.168.1.44:8003/h5/#/pages/indexEntry/enroll/realName/realName'}) + const {data: res} = await getpersonface({ ruleId: 1, RedirectUrl: 'http://192.168.1.44:8002/h5/#/pages/indexEntry/enroll/realName/realName'}) let obj = JSON.parse(res) this.link = obj.Url this.$store.commit('updateBizToken', obj.BizToken) @@ -109,7 +109,7 @@ async GetDetectInfoEnhancedFn(bizToken) { let obj = { ruleId: 1, - redirectUrl: 'http://192.168.1.44:8002/h5/#/pages/indexEntry/enroll/registInfo/registInfo', + redirectUrl: 'http://192.168.1.44:8001/h5/#/pages/indexEntry/enroll/registInfo/registInfo', bizToken: 'C9C2BC8E-8336-4071-84B3-8170E283E6CA', userId: this.userId } diff --git a/pages/indexEntry/enroll/realName/realName.vue b/pages/indexEntry/enroll/realName/realName.vue index 63bb0dd..7c64866 100644 --- a/pages/indexEntry/enroll/realName/realName.vue +++ b/pages/indexEntry/enroll/realName/realName.vue @@ -21,7 +21,7 @@ }) let obj = { ruleId: 1, - redirectUrl: 'http://192.168.1.44:8003/h5/#/pages/indexEntry/enroll/registInfo/registInfo', + redirectUrl: 'http://192.168.1.44:8002/h5/#/pages/indexEntry/enroll/registInfo/registInfo', bizToken: this.$store.state.school.BizToken, userId: this.userId } @@ -36,7 +36,7 @@ // console.log(obj2) alert('请求结果来了') alert(obj2.Text.ErrMsg) - alert(obj2.Text.name) + // alert(obj2.Text.name) // uni.setStorageSync(obj2) }, } diff --git a/pages/indexEntry/enroll/signContract/signContract.vue b/pages/indexEntry/enroll/signContract/signContract.vue index 2b2ab99..136e323 100644 --- a/pages/indexEntry/enroll/signContract/signContract.vue +++ b/pages/indexEntry/enroll/signContract/signContract.vue @@ -48,7 +48,7 @@ data: res } = await getSignContract({ schoolId: this.schoolId, - studentId: this.vuex_userInfo.id + studentId: this.studentId }) uni.hideLoading() this.url = res.url @@ -58,7 +58,7 @@ const { data: res } = await getContractStatus({ - studentId: this.vuex_userInfo.id + studentId: this.studentId }) if (res.flowStatus == 2) { clearInterval(this.timer) diff --git a/pages/mineEntry/myAppointment/myAppointment.vue b/pages/mineEntry/myAppointment/myAppointment.vue index 9cf4f92..3354478 100644 --- a/pages/mineEntry/myAppointment/myAppointment.vue +++ b/pages/mineEntry/myAppointment/myAppointment.vue @@ -72,7 +72,7 @@ }, onLoad(options) { if(options.currentTab) this.currentTab = options.currentTab - this.params.studentId = this.vuex_userInfo.id + this.params.studentId = this.studentId this.inintList() }, onPullDownRefresh() { diff --git a/static/images/car/newSatus.png b/static/images/car/newSatus.png index 1fc6c71..32d1269 100644 Binary files a/static/images/car/newSatus.png and b/static/images/car/newSatus.png differ