|
|
@@ -60,7 +60,7 @@ export default {
|
|
|
isShowToast: false,
|
|
|
userInfo: {},
|
|
|
target: 0,
|
|
|
- curStep: 1,
|
|
|
+ curStep: 0,
|
|
|
curStep_show:false,
|
|
|
stepState: {
|
|
|
"1": {
|
|
|
@@ -78,10 +78,23 @@ export default {
|
|
|
}
|
|
|
};
|
|
|
},
|
|
|
- computed: {},
|
|
|
+ async created() {
|
|
|
+
|
|
|
+ },
|
|
|
async mounted() {
|
|
|
this.setFrom();
|
|
|
this.userInfo=await this.needLogin();
|
|
|
+ if(this.userInfo.user_type==2)
|
|
|
+ {
|
|
|
+ if(this.userInfo.realname_verify_status!=2)
|
|
|
+ {
|
|
|
+ this.$router.push(`/frontend/name_cert?from=sign`)
|
|
|
+ }
|
|
|
+ else
|
|
|
+ {
|
|
|
+ this.$router.push(`/otherpage/companyComplete/add`)
|
|
|
+ }
|
|
|
+ }
|
|
|
if(this.userInfo.realname_verify_status==2 && this.curStep==1)
|
|
|
{
|
|
|
this.curStep=2;
|