['设置']

This commit is contained in:
2021-09-30 10:37:23 +08:00
parent f1d5ff3dba
commit e903d5be15
3 changed files with 25 additions and 5 deletions

View File

@@ -89,7 +89,8 @@
wechatbind,
resetUserInfo,
getUserSettingInfo,
companyStatus
companyStatus,
companyIsallow
} from '@/apis/interfaces/setting'
import {
uploads
@@ -141,9 +142,18 @@
company(code) {
if (code === -1) {
// 跳转到企业认证页面
this.$Router.push({
name:'companyApprove'
companyIsallow().then(res=>{
this.$Router.push({
name:'companyApprove'
})
}).catch(err=>{
this.$refs.uToast.show({
title: err.message,
type: 'primary',
duration: 3000
})
})
} else if (code === 2) {
// 跳转到企业认证页面
this.$Router.push({