Browse Source

更新

master
unknown 11 months ago
parent
commit
96cdaf9682
  1. 1
      common/js/mixins.js
  2. 2
      pages/carEntry/examineAppointment/comp/step3.vue
  3. 2
      pages/carEntry/simulateAppointment/simulateAppointment.vue
  4. 2
      pages/indexEntry/consult/pubConsult/pubConsult.vue
  5. 4
      pages/indexEntry/enroll/enroll.vue
  6. 4
      pages/indexEntry/enroll/realName/realName.vue
  7. 4
      pages/indexEntry/enroll/signContract/signContract.vue
  8. 2
      pages/mineEntry/myAppointment/myAppointment.vue
  9. BIN
      static/images/car/newSatus.png

1
common/js/mixins.js

@ -8,6 +8,7 @@ export default {
vuex_cityInfo: state=> state.user.vuex_cityInfo, vuex_cityInfo: state=> state.user.vuex_cityInfo,
vuex_userInfo: state=> state.user.vuex_userInfo, vuex_userInfo: state=> state.user.vuex_userInfo,
userId: state=> state.user.vuex_loginInfo.userId, userId: state=> state.user.vuex_loginInfo.userId,
studentId: state=> state.user.vuex_userInfo.id,
apiOk: state=> state.user.apiOk, apiOk: state=> state.user.apiOk,
}), }),
}, },

2
pages/carEntry/examineAppointment/comp/step3.vue

@ -64,7 +64,7 @@
async examSimulationCreateFn() { async examSimulationCreateFn() {
if(!this.FormData.courseIds) return this.$u.toast('请选择预约时间') if(!this.FormData.courseIds) return this.$u.toast('请选择预约时间')
let obj = { let obj = {
"studentId": this.userId,
"studentId": this.studentId,
"classDetailId": this.FormData.courseIds "classDetailId": this.FormData.courseIds
} }
const res = await examSimulationCreate(obj) const res = await examSimulationCreate(obj)

2
pages/carEntry/simulateAppointment/simulateAppointment.vue

@ -56,7 +56,7 @@
created() { created() {
this.simulationPointFn() this.simulationPointFn()
this.FormData.trainType = this.vuex_userInfo.trainType this.FormData.trainType = this.vuex_userInfo.trainType
this.FormData.studentId = this.vuex_userInfo.id
this.FormData.studentId = this.studentId
}, },
methods: { methods: {
changeStep(num) { changeStep(num) {

2
pages/indexEntry/consult/pubConsult/pubConsult.vue

@ -65,7 +65,7 @@
images, images,
studentPhone: this.vuex_userInfo.phone, studentPhone: this.vuex_userInfo.phone,
type: 1, type: 1,
studentId: this.$store.state.user.vuex_loginInfo.userId,
studentId: this.studentId,
content: this.value content: this.value
} }
const {data: res} = await createconsult(obj) const {data: res} = await createconsult(obj)

4
pages/indexEntry/enroll/enroll.vue

@ -94,7 +94,7 @@
this.showType = false this.showType = false
}, },
async getpersonfaceFn() { 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) let obj = JSON.parse(res)
this.link = obj.Url this.link = obj.Url
this.$store.commit('updateBizToken', obj.BizToken) this.$store.commit('updateBizToken', obj.BizToken)
@ -109,7 +109,7 @@
async GetDetectInfoEnhancedFn(bizToken) { async GetDetectInfoEnhancedFn(bizToken) {
let obj = { let obj = {
ruleId: 1, 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', bizToken: 'C9C2BC8E-8336-4071-84B3-8170E283E6CA',
userId: this.userId userId: this.userId
} }

4
pages/indexEntry/enroll/realName/realName.vue

@ -21,7 +21,7 @@
}) })
let obj = { let obj = {
ruleId: 1, 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, bizToken: this.$store.state.school.BizToken,
userId: this.userId userId: this.userId
} }
@ -36,7 +36,7 @@
// console.log(obj2) // console.log(obj2)
alert('请求结果来了') alert('请求结果来了')
alert(obj2.Text.ErrMsg) alert(obj2.Text.ErrMsg)
alert(obj2.Text.name)
// alert(obj2.Text.name)
// uni.setStorageSync(obj2) // uni.setStorageSync(obj2)
}, },
} }

4
pages/indexEntry/enroll/signContract/signContract.vue

@ -48,7 +48,7 @@
data: res data: res
} = await getSignContract({ } = await getSignContract({
schoolId: this.schoolId, schoolId: this.schoolId,
studentId: this.vuex_userInfo.id
studentId: this.studentId
}) })
uni.hideLoading() uni.hideLoading()
this.url = res.url this.url = res.url
@ -58,7 +58,7 @@
const { const {
data: res data: res
} = await getContractStatus({ } = await getContractStatus({
studentId: this.vuex_userInfo.id
studentId: this.studentId
}) })
if (res.flowStatus == 2) { if (res.flowStatus == 2) {
clearInterval(this.timer) clearInterval(this.timer)

2
pages/mineEntry/myAppointment/myAppointment.vue

@ -72,7 +72,7 @@
}, },
onLoad(options) { onLoad(options) {
if(options.currentTab) this.currentTab = options.currentTab if(options.currentTab) this.currentTab = options.currentTab
this.params.studentId = this.vuex_userInfo.id
this.params.studentId = this.studentId
this.inintList() this.inintList()
}, },
onPullDownRefresh() { onPullDownRefresh() {

BIN
static/images/car/newSatus.png

Before

Width: 14  |  Height: 14  |  Size: 501 B

After

Width: 34  |  Height: 30  |  Size: 1.1 KiB

Loading…
Cancel
Save