|
@@ -45,6 +45,9 @@ export default {
|
|
|
created() {},
|
|
|
computed: {
|
|
|
...mapState(['user']),
|
|
|
+ is_allowed() {
|
|
|
+ return JSON.parse(sessionStorage.getItem('is_allowed'));
|
|
|
+ },
|
|
|
},
|
|
|
methods: {
|
|
|
...mapActions(['corpOperation']),
|
|
@@ -54,11 +57,13 @@ export default {
|
|
|
},
|
|
|
async checkBind() {
|
|
|
//平台未审核/审核拒绝,只能进入基本信息去复审
|
|
|
+ if (this.is_allowed) return;
|
|
|
if (!(await this.getInfo())) {
|
|
|
this.$message.error('您的企业还未通过审核,请检查您的信息');
|
|
|
this.$router.push({ path: '/info/base/index' });
|
|
|
return;
|
|
|
}
|
|
|
+ sessionStorage.setItem('is_allowed', true);
|
|
|
if (!this.$isBindWx()) this.dialog = true;
|
|
|
},
|
|
|
toLogin() {
|