|
@@ -52,13 +52,15 @@ export default {
|
|
let { base } = await this.corpOperation({ type: 'search', data: { corpid: this.user.corpid } });
|
|
let { base } = await this.corpOperation({ type: 'search', data: { corpid: this.user.corpid } });
|
|
if (base.state === '已认证') return true;
|
|
if (base.state === '已认证') return true;
|
|
},
|
|
},
|
|
- checkBind() {
|
|
|
|
|
|
+ async checkBind() {
|
|
//平台未审核/审核拒绝,只能进入基本信息去复审
|
|
//平台未审核/审核拒绝,只能进入基本信息去复审
|
|
- if (this.getInfo()) {
|
|
|
|
|
|
+ if (!(await this.getInfo())) {
|
|
|
|
+ console.log('in function:');
|
|
this.$message.error('您的企业还未通过审核,请检查您的信息');
|
|
this.$message.error('您的企业还未通过审核,请检查您的信息');
|
|
this.$router.push({ path: '/info/base/index' });
|
|
this.$router.push({ path: '/info/base/index' });
|
|
return;
|
|
return;
|
|
}
|
|
}
|
|
|
|
+ console.log('in function:else');
|
|
if (!this.$isBindWx()) this.dialog = true;
|
|
if (!this.$isBindWx()) this.dialog = true;
|
|
},
|
|
},
|
|
toLogin() {
|
|
toLogin() {
|