|
@@ -131,7 +131,6 @@
|
|
.then(res => {
|
|
.then(res => {
|
|
if (res.code == '200') {
|
|
if (res.code == '200') {
|
|
console.log('登录信息:', res);
|
|
console.log('登录信息:', res);
|
|
- this.$u.vuex('vuex_user', res.data);
|
|
|
|
this.$u.vuex('vuex_hasLogin', true);
|
|
this.$u.vuex('vuex_hasLogin', true);
|
|
this.veteEducCheck()
|
|
this.veteEducCheck()
|
|
} else {
|
|
} else {
|
|
@@ -144,13 +143,16 @@
|
|
});
|
|
});
|
|
},
|
|
},
|
|
veteEducCheck() {
|
|
veteEducCheck() {
|
|
- this.$u.api.getVeteEducCheck().then(res => {
|
|
|
|
- if (res.data != 9) {
|
|
|
|
- this.jumpIndex()
|
|
|
|
- } else {
|
|
|
|
- uni.navigateTo({
|
|
|
|
- url: '/pages/applyEducationCode/applyEducationCode'
|
|
|
|
- })
|
|
|
|
|
|
+ this.$u.api.getmemberinfo().then(res => {
|
|
|
|
+ if (res.code === 200) {
|
|
|
|
+ this.$u.vuex('vuex_user', res.data);
|
|
|
|
+ if (res.data.auditStatus === 1 || res.data.auditStatus === 3) {
|
|
|
|
+ uni.redirectTo({
|
|
|
|
+ url: '/pages/applyEducationCode/applyEducationCode'
|
|
|
|
+ })
|
|
|
|
+ } else {
|
|
|
|
+ this.jumpIndex()
|
|
|
|
+ }
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|