|
@@ -154,17 +154,22 @@ export default {
|
|
applySiteStartTrainTime: '',
|
|
applySiteStartTrainTime: '',
|
|
applySiteEndTrainTime: ''
|
|
applySiteEndTrainTime: ''
|
|
},
|
|
},
|
|
|
|
+ paramCount: '',
|
|
};
|
|
};
|
|
},
|
|
},
|
|
onPullDownRefresh() {},
|
|
onPullDownRefresh() {},
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
|
|
+ option.current && (this.paramCount = option.current)
|
|
|
|
+ },
|
|
|
|
+ onShow() {
|
|
|
|
+ console.log('111111',this.paramCount)
|
|
if (this.$method.isGoLogin()) { // 从公众号消息进来的没登录需要跳到登录页,登录后返回
|
|
if (this.$method.isGoLogin()) { // 从公众号消息进来的没登录需要跳到登录页,登录后返回
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
- if (String(option.current)) {
|
|
|
|
- console.log('公众号', option)
|
|
|
|
- this.current = +option.current
|
|
|
|
- this.change(+option.current)
|
|
|
|
|
|
+ if (String(this.paramCount)) {
|
|
|
|
+ console.log('公众号', this.paramCount)
|
|
|
|
+ this.current = +this.paramCount
|
|
|
|
+ this.change(+this.paramCount)
|
|
return
|
|
return
|
|
}
|
|
}
|
|
this.$api.getApplylist().then(res => {
|
|
this.$api.getApplylist().then(res => {
|
|
@@ -190,8 +195,6 @@ export default {
|
|
this.listData = a
|
|
this.listData = a
|
|
}
|
|
}
|
|
});
|
|
});
|
|
- },
|
|
|
|
- onShow() {
|
|
|
|
/* if(this.current === 2 && this.$method.isLogin()){
|
|
/* if(this.current === 2 && this.$method.isLogin()){
|
|
this.$refs.refMy.init();
|
|
this.$refs.refMy.init();
|
|
} */
|
|
} */
|